export  CUDA_VISIBLE_DEVICES=0,1
srun -N1 -n1 --nodelist=head --export=CUDA_VISIBLE_DEVICES=NoDevFiles,ALL 
env|grep CUDA

The srun result is CUDA_VISIBLE_DEVICES=0,1,  how could I replace 
CUDA_VISIBLE_DEVICES with NoDevFiles.

Thanks.

Reply via email to