Looking into this today...

Sorry for the delay, but some large projects have consumed all of my time lately.

On 03/14/15 16:17, Kilian Cavalotti wrote:
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,


--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  Jason W. Bacon
  [email protected]

  If a problem can be solved,
  there's no need to worry.
If it cannot be solved, then
  worrying will do no good.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Reply via email to