Running from the Command Line
- 0 runs the CPU engine
- 1 runs the GPU OpenCL engine
- 2 runs the GPU CUDA engine
In addition, you can set the Device Index for the GPU.
Device Index | GPU Device name |
0 | Nvidia Quadro GP100 |
1 | Nvidia GeForce GTX 1080 |
To run using the Nvidia Quadro GP100 card:
edem.exe -c -i c:\processing\mysim.dem -E 2 -D 0
To run using the Nvidia GeForce GTX 1080card, the -D 1 flag would be required.
The flags from the CPU version of EDEM are still be valid in order to set number of CPU processors used in the factory domains (-p), real time to simulate (-r), data save interval (-w) and Time Step used (-t).
For example, to run on the command line with the GPU engine using only one card you must enter the following command:
edem.exe -console -i simulation_deck.dem -E 2 -D 0 -p 4 -r 2 -w 0.1 -t 1e-6
(c) 2023 Altair Engineering Inc. All Rights Reserved.