[slurm-users] Feature request: SBATCH_NTASKS as input environment variable

Jaume Zaragoza jzaragoza at prompsit.com
Wed Apr 29 18:10:15 UTC 2020

Hi all,

There are some sbatch parameters that can be passed as input environment 
variables like SBATCH_PARTITION or SBATCH_TIMELIMIT. But, why  the 
number of tasks cannot be passed (SBATCH_NTASKS or SLURM_NTASKS)? I've 
read on the man that srun already reads SLURM_NTASKS as input.


More information about the slurm-users mailing list