[slurm-users] SLURM_NTASKS not defined after salloc

Alexander Grund alexander.grund at tu-dresden.de
Wed Jul 11 06:10:51 MDT 2018


Hi all,

is it expected/intended that the env variable SLURM_NTASKS is not 
defined after salloc? It only gets defined after the an srun command.
The number of tasks appear in `scontrol -d show job <jobid>` though. So 
is it a bug in our installation or expected?

Thanks, Alex



More information about the slurm-users mailing list