Message Boards Message Boards

How to create EPS plots in batch mode on a supercomputing cluster

Posted 3 months ago

Hi,

I have a problem creating plots while running MATHEMATICA in batch mode on a supercomputing cluster. One simple example is:

Clear["`*"];

tableA1={{1,1,5},{1,2,6},{2,1,7},{2,2,8}};
plotA1=ListPointPlot3D[tableA1,AxesLabel->{z,y,Ψ[w[z],y]},AxesStyle->Directive[Black,Medium],PlotStyle->{Black}, PlotRange->Full];
Export["test.eps",plotA1,"EPS"];

This program crashes (hangs on) on the plotting command, and the following error messages are written to the logout file:

mathematica/13.3.1 loaded. Qt issued a fatal error: This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, xcb.

Qt tried to load plugins from:
/net/software/testing/software/Mathematica/13.3.1-plg-ac/SystemFiles/Libraries/Linux-x86-64/Qt/plugins
/net/software/testing/software/Mathematica/13.3.1-plg-ac/SystemFiles/FrontEnd/Binaries/Linux-x86-64

Mathematica was installed in /net/software/testing/software/Mathematica/13.3.1-plg-ac /net/software/testing/software/Mathematica/13.3.1-plg-ac/Executables/Mathematica: line 154:

 2095074 Aborted                 (core dumped) "${MathematicaFE}" ${MESA_FLAG} -topDirectory "${TopDirectory}" "$@"
slurmstepd: error: *** JOB 11050291 ON ac0787 CANCELLED AT 2024-08-17T21:28:29 ***

What might be the reason for these errors, and/or how I might avoid them? I have asked our local technical support, but this has not been much helpful so far.

Lesław

POSTED BY: Leslaw Bieniasz
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract