Re: [slurm-users] Odd behavior/bug with --array env SLURM_ARRAY_TASK_MAX

2018-02-19 Thread Loris Bennett
Robert Anderson writes: > While working on an example python slurm job script I found the > environment variable SLURM_ARRAY_TASK_MAX was not set to the expected > value when a step is defined. > > Below is a minimal test of a 10 array job, with a step value of 5. When > a step

[slurm-users] Odd behavior/bug with --array env SLURM_ARRAY_TASK_MAX

2018-02-19 Thread Robert Anderson
While working on an example python slurm job script I found the environment variable SLURM_ARRAY_TASK_MAX was not set to the expected value when a step is defined. Below is a minimal test of a 10 array job, with a step value of 5. When a step value is defined the SLURM_ARRAY_TASK_MAX is set to