[slurm-users] slurm, gres:gpu, only 1 GPU out of 4 is detected

Chris Samuel chris at csamuel.org
Thu Nov 14 05:42:41 UTC 2019

On Wednesday, 13 November 2019 10:11:30 AM PST Tamas Hegedus wrote:

> Thanks for your suggestion. You are right, I do not have to deal with
> specific GPUs.
> (I have not tried to compile your code, I simply tested two gromacs runs
> on the same node with -gres=gpu:1 options.)

How are you controlling access to GPUs?  Is that via cgroups?

If so you should be fine, but if you're not using cgroups to control access 
then you may well find that they are sharing the same GPU.

All the best,
  Chris Samuel  :  http://www.csamuel.org/  :  Berkeley, CA, USA

More information about the slurm-users mailing list