On Wed, 14 Sep 2011 13:03:01 -0400 Christian Hudon <[email protected]> wrote:
> On 09/14/11 12:41, Yuri D'Elia wrote: > > On Wed, 14 Sep 2011 11:38:31 -0400 > > "[email protected]" <[email protected]> wrote: > > > >> Upgrade to slum v2.2 or higher for more jobs or steps. The steps are > >> running within the job's allocation that goes away when the job script > >> ends, so adding "wait" to the end of the script would probably be your > >> simplest solution. > > Since "sbatch" exits immediately, I cannot do that. > > I use "srun foo &" when writing scripts with job steps. Then the "wait" > at the end works (and is essential). I cannot run 100k instances of srun from a single node either.
