On 09/14/2012 02:58 AM, [email protected] wrote:
> i think you want srun --exclusive option

That's to avoid sharing nodes, not CPUs.  From what I can tell anyways.

I want something where:
!/bin/bash
       srun -n4 prog1 &
       srun -n3 prog2 &
       srun -n1 prog3 &
       srun -n1 prog4 &
       wait

Then if I run sbatch -n4 script that prog1 runs, then 2 and 3, then 4.

Reply via email to