Only one GPU in a multi-GPU system is used when running Lammps #718
Answered
by
njzjz
yunsuyunsu
asked this question in
Q&A
-
I installed GPU version DeePMD and Lammps with conda on a system with 8 GPUs. After training, I run "lmp -sf gpu -pk gpu 8 -i in.lammps", but an error shows up "ERROR: Using suffix gpu without GPU package installed (src/lammps.cpp:801)". If I run "lmp -i in.lammps", only 1 out of the 8 GPUs is used. My question is how to use all the 8 GPUs when running lammps. |
Beta Was this translation helpful? Give feedback.
Answered by
njzjz
Jun 9, 2021
Replies: 1 comment
-
See #667. The correct way is to use MPI, i.e. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
yunsuyunsu
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See #667. The correct way is to use MPI, i.e.
mpirun -n 8 lmp ...
.