[slurm-users] Slurm does not set CUDA_VISIBLE_DEVICES

Miguel Gila miguel.gila at cscs.ch
Mon May 21 01:18:18 MDT 2018


Do you have --gres=gpu:0 on your job script? Is gres.conf properly configured?

I think this is what sets the variable: https://github.com/SchedMD/slurm/blob/bcdd09d3386f4b4038ae9263b0e69d4d742988b2/src/plugins/gres/gpu/gres_gpu.c#L96


> On 21 May 2018, at 08:28, Vladimir Goy <vovagoy at gmail.com> wrote:
> Hello,
> Please, help me, 
> I would like to ask you about the next bug. Why slurm does not set CUDA_VISIBLE_DEVICES variabels before runs user aplication? This bug I observe after update slurm 17.02.2 -> 17.11.6 . Who/How can fix this problem?
> Version 17.02.2 works well, but now I can not downgrate, because slurmdbd update my database.
> Best regards,
> Vova.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20180521/1bdfb903/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2015 bytes
Desc: not available
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20180521/1bdfb903/attachment-0001.bin>

More information about the slurm-users mailing list