[slurm-users] Using cgroups to hide GPUs on a shared controller/node
kg4ydw at gmail.com
Sun May 26 14:44:09 UTC 2019
What operating system are you running?
Modern versions of systemd automatically put login sessions into their
own cgroup which are themselves in a "user" group.
When slurm is running parallel to this, it makes its own slurm cgroup.
It should be possible to have something at boot modify the systemd
user cgroup to remove the gpus.
Alternately, there may be options in pam-slurm-adopt to automatically
move login sessions to a default cgroup. (I can't remember without
looking how easy this would be.)
More information about the slurm-users