EDEM simulations with image generation

Reem_Kh
Reem_Kh Altair Community Member

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. "

Welcome!

It looks like you're new here. Sign in or register to get started.

Answers

  • Stephen Cole
    Stephen Cole
    Altair Employee

    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:

    https://help.altair.com/edem/topics/edem_simulator/generate_images_on_linux_headless_machines_t.htm

    Regards

    Stephen

  • Reem_Kh
    Reem_Kh Altair Community Member

    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

  • Reem_Kh
    Reem_Kh Altair Community Member

    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

  • Stephen Cole
    Stephen Cole
    Altair Employee

    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

Welcome!

It looks like you're new here. Sign in or register to get started.

Welcome!

It looks like you're new here. Sign in or register to get started.