read the srun man page again...
--
Sent from my Android phone. Please excuse my brevity and typos.

Bill Broadley <b...@cse.ucdavis.edu> wrote:

>
>On 09/14/2012 02:58 AM, je...@schedmd.com 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