[HPC Cluster] Unable to utilize multiple GPUs per node with correct domain decomposition in HPC environment #978
Answered
by
quocdang1998
LightLifel
asked this question in
Ask for Help
-
Beta Was this translation helpful? Give feedback.
Answered by
quocdang1998
Mar 17, 2026
Replies: 1 comment
-
|
Hi, Right now, we haven't finished the implementation for 1 rank -> multi-GPUs. A PR in the near future will likely fix this issue. OpenSn relies on the GPU assignment of SLURM. For multi-GPU usage, you must run with multi-threading. In your case, I presume that there is 128 CPU cores and 8 GPUs per node, and any CPU in the node can access any GPU in the same node. This averages to 16 (=128/8) CPU cores per GPU. You can try running the code with: Or with sbatch: Please let us know if there is any issue. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
quocdang1998
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment




Hi,
Right now, we haven't finished the implementation for 1 rank -> multi-GPUs. A PR in the near future will likely fix this issue.
OpenSn relies on the GPU assignment of SLURM.
For multi-GPU usage, you must run with multi-threading. In your case, I presume that there is 128 CPU cores and 8 GPUs per node, and any CPU in the node can access any GPU in the same node. This averages to 16 (=128/8) CPU cores per GPU. You can try running the code with:
Or with sbatch:
Plea…