Yes you can. Depending on your purpose you can do it these ways:
1) Run several executable at the same time (e.g., you submit a job, and
then another user of the computer submit another job to use the same GPU).
This requires to set your GPU to the *default mode* instead of the *exclusive
process mode*. To check the compute mode, run
in your terminal. If you see "E. process" within the output, it means that
the current compute mode of the GPU is exclusive process mode and does not
allow running more than one (computing type) CUDA application. You can use
the following command to change to the default mode:
sudo nvidia-smi -i 0 -c 0
In the default compute mode, you can run more than one CUDA executable.
2) If you want to run a few simulations one by one, but with a single
submission of your job, you can prepare the inputs for all the simulations
(each has a folder) and put the paths to these folders in a single "*driver
input file*". An example is provided in the GPUMD package. In the file
"examples/input_gpumd.txt" you can find the following text:
examples/gpumd/ex4/diffusiveThis means that the five simulations
corresponding to the above five folders *will be run one by one* after
submitting a job with this command:
src/gpumd < examples/input_gpumd.txt
On Tue, Sep 24, 2019 at 3:27 PM "소순성" <soonsung2001@xxxxxxxxxx> wrote:
Thank you to Zheyong Fan for using this good GPUMD program.
I have question. I'm newbie in gpu calculation and I use this program in
my desktop with one gpu(gtx 1080ti, Ubuntu OS).
And I want several calculations at the same time.
So, can I use gpumd program using several terminals for several gpumds at
the same time?