On Sat, Mar 14, 2015 at 6:26 AM, Jason Bacon <[email protected]> wrote: > How about SLURM_ARRAY_MIN_TASK_ID, SLURM_ARRAY_MAX_TASK_ID and > SLURM_ARRAY_NUM_TASKS?
That looks even better. I kind of overlooked what Moe pointed out, that tasks ids don't have to be continuous. So max_id and num_tasks should indeed be their own variable. And it makes sense to throw min_id in the mix too, so I vote for exactly what you listed: SLURM_ARRAY_MIN_TASK_ID, SLURM_ARRAY_MAX_TASK_ID and SLURM_ARRAY_NUM_TASKS. Cheers, -- Kilian
