[slurm-users] GPU / cgroup challenges

R. Paul Wiegand rpwiegand at gmail.com
Tue May 1 17:28:38 MDT 2018


Thanks Chris.  I do have the ConstrainDevices turned on.  Are the
differences in your cgroup_allowed_devices_file.conf relevant in this case?

On Tue, May 1, 2018, 19:23 Christopher Samuel <chris at csamuel.org> wrote:

> On 02/05/18 09:00, Kevin Manalo wrote:
>
> > Also, I recall appending this to the bottom of
> >
> > [cgroup_allowed_devices_file.conf]
> > ..
> > Same as yours
> > ...
> > /dev/nvidia*
> >
> > There was a SLURM bug issue that made this clear, not so much in the
> website docs.
>
> That shouldn't be necessary, all we have for this is..
>
> The relevant line from our cgroup.conf:
>
> [...]
> # Constrain devices via cgroups (to limits access to GPUs etc)
> ConstrainDevices=yes
> [...]
>
> Our entire cgroup_allowed_devices_file.conf:
>
> /dev/null
> /dev/urandom
> /dev/zero
> /dev/sda*
> /dev/cpu/*/*
> /dev/pts/*
> /dev/ram
> /dev/random
> /dev/hfi*
>
>
> This is on RHEL7.
>
> --
>   Chris Samuel  :  http://www.csamuel.org/  :  Melbourne, VIC
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20180501/c997f589/attachment.html>


More information about the slurm-users mailing list