-
The size of my system is too big for one GPU when running MD with lammps, so I want to use two gpus to perform MD, but I still met the error "RESOURCE_EXHAUSTED: failed to allocate memory", my command in "CUDA_VISIBLE_DEVICES=0,1 nohup mpirun -n 1 lmp -i input.lammps &", memory for gpu0 is 11205MiB while 134MiB for gpu1, I want to know how to run MD with two gpus to allocate the memory reasonable. thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
To use two GPUs you need to use two MPI ranks. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
Perhaps due to #2912?