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

2018-02-20 Thread Robert Anderson
gt; Message-ID: <87k1v86thw@hornfels.zedat.fu-berlin.de> > Content-Type: text/plain; charset=utf-8 > > Robert Anderson <r...@sr.unh.edu> writes: > > > While working on an example python slurm job script I found the > > environment variable SLURM_ARRAY_TASK_MAX was

[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