Hi,

Sorry if this has been answered before, I did not find an answer in a search.

Is there a way to have srun use entire nodes in a multi-node allocation?

If I run:

$ salloc -N 2 —exclusive

then run:

$ srun -N 1 -n 1 —exclusive sleep 10 &
$ srun -N 1 -n 1 —exclusive sleep 10 &
$ srun -N 1 -n 1 —exclusive sleep 10 &
$ srun -N 1 -n 1 —exclusive sleep 10 &
$ wait

It doesn’t seem to block like I’d expect, the total wait is 10 seconds.  I see 
that the meaning of —exclusive is different in the two environments, is there a 
way to get the original behavior from within an allocation? 


Thanks,
-Craig

Reply via email to