On Thursday, 30 August 2018 6:38:08 PM AEST Chaofeng Zhang wrote:
> The CUDA_VISBLE_DEVICES can't be set NoDevFiles in Slurm 17.11.7. This is
> worked when we use Slurm 17.02.
You probably should be using cgroups instead to constrain access to GPUs.
Then it doesn't matter what you set CUDA_VIS
The CUDA_VISBLE_DEVICES can't be set NoDevFiles in Slurm 17.11.7. This is
worked when we use Slurm 17.02.
Slurm 17.02:
[root@head ~]# export CUDA_VISIBLE_DEVICES=0,1
[root@head ~]# srun -N1 -n1 --gres=none --nodelist=head /usr/bin/env|grep CUDA
CUDA_HOME=/usr/local/cuda
CUDA_VISIBLE_DEVICES=NoD