[slurm-users] Whether I can replace value of the variable when use srun

Chaofeng Zhang zhangcf1 at lenovo.com
Thu Aug 30 10:13:22 MDT 2018


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20180830/57d3de27/attachment.html>


More information about the slurm-users mailing list