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

Reply via email to