EDEM simulations with image generation

I wanted to run EDEM simulations on DelftBlue (University computer cluster with multiple GPUs), in which I generate images. However, I got an error that I cannot run them with the image generation option, does anyone know if it's possible to run them without using GUI?
"Device index GPU device name
0 Tesla V100S-PCIE-32GB
Tesla V100S-PCIE-32GB is chosen for simulation.
ERROR : HEADLESS SYSTEM IDENTIFIED : Image Generation is not possible. Use "xvfb-run" or disable Image Generation.
INFO : IMAGE GENERATION : Disabling can be done either by unselecting the Image Generation feature when in GUI mode or by modifying the current flag in the .dfg file "PROCESSOR:IMAGE GENERATION:ACTIVE=BOOLEAN:TRUE" to be FALSE. "
Answers
-
Hi,
It is possible in command line. You need to have
xvfb
-run installed and can then start EDEM with a command such as:
xvfb-run ./edem --console --rewind -i deck.dem
There is more information here:
Regards
Stephen
1 -
First thanks a lot Stephen for your response.
I installed the xvfb package on the cluster, and ran the attached script file (Run03).
I got the error in the attached slurm file.Could you help me please how to fix this issue. Thanks again.
Regards,
Reem
0 -
First thanks a lot Stephen for your response.
I installed the xvfb package on the cluster, and ran the attached script file (Run03).
I got the error in the attached slurm file.Could you help me please how to fix this issue. Thanks again.
Regards,
Reem
0 -
Hi Reem,
It looks like the simulation began running OK but crashed at 0.1 s with a generic error, the error doesn't unfortunately tell us much about the reason for the crash.
At this 0.1 s is this when the data is to be written out? You could try running without the data export to just check if it is related to exporting the data or some other issue in the simulation.
If it is data export it maybe worth checking if you have read/write permissions for the file location?
Regards
Stephen
0