Xvfb

From UFRC
Revision as of 21:33, 19 March 2019 by Moskalenko (talk | contribs)
Jump to navigation Jump to search

When running paraview analyses on HiPerGator it may be necessary to set up a virtual X11 environment with Xvfb if a program you need to run expects an X11 environment. Use the following code between the module load and the command to run in the job script

DISPLAY_ID=$RANDOM export DISPLAY=:${DISPLAY_ID} Xvfb :${DISPLAY_ID} -screen 0 1024x768x16 &