Re: [slurm-users] Use gres to handle permissions of /dev/dri/card* and /dev/dri/renderD*?

2022-01-07 Thread Martin Pecka
Okay, I verified the MultipleFiles approach on a testing slurm install with 1 control computer and two nodes and it works (with ConstrainDevices=yes)!     Name=gpu Type=3090 MultipleFiles=/dev/nvidia0,/dev/dri/card1,/dev/dri/renderD128     Name=gpu Type=3090 MultipleFiles=/dev/nvidia1,/dev/dr

Re: [slurm-users] Use gres to handle permissions of /dev/dri/card* and /dev/dri/renderD*?

2022-01-07 Thread Martin Pecka
Maybe I have good news, Stephan (and others). I discovered SLURM 20.11 added a MultipleFiles option to gres.conf, which replaces File=. There are no docs about it yet, but I found a (possibly) working snippet making use of this option here: https://bugs.schedmd.com/show_bug.cgi?id=11091#c13 .

Re: [slurm-users] Use gres to handle permissions of /dev/dri/card* and /dev/dri/renderD*?

2022-01-06 Thread Martin Pecka
emetation, which, in turn, would require changing all GPU drivers. And it would require being able to request just chunks of GPU memory (not sure if that's possible right now, but I think I saw some pull request about that). Thank you for hints! Martin Dne 21.10.2020 v 19:09 Martin

Re: [slurm-users] Use gres to handle permissions of /dev/dri/card* and /dev/dri/renderD*?

2020-10-20 Thread Mgr. Martin Pecka
Pinging this topic again. Nobody has an idea how to define multiple files to be treated as a single gres? Thank you for help, Martin Pecka Dne 4.9.2020 v 21:29 Martin Pecka napsal(a): Hello, we want to use EGL backend for accessing OpenGL without the need for Xorg. This approach requires

[slurm-users] Use gres to handle permissions of /dev/dri/card* and /dev/dri/renderD*?

2020-09-04 Thread Martin Pecka
that would give permissions to all three files at once. Thank you for any tips. -- Martin Pecka