Good morning,

yesterday I came across a Slurm (sbatch) script that, after doing some stuff
in the foreground, runs another executable in the background - and doesn't
"wait" for it to finish - literally the last line of the script is

executable &

(and that executable is supposed to take several 10 seconds or more to finish)

How would Slurm handle this? Will the end of the script immediately trigger
the job epilog, and what would happen to the leftover task? This certainly
is discussed somewhere in the manual pages and other documentation but up to
now I failed to find that place...

Thanks,
 Steffen


-- 
Steffen Grunewald, Cluster Administrator
Max Planck Institute for Gravitational Physics (Albert Einstein Institute)
Am Mühlenberg 1 * D-14476 Potsdam-Golm * Germany
~~~
Fon: +49-331-567 7274
Mail: steffen.grunewald(at)aei.mpg.de
~~~

-- 
slurm-users mailing list -- slurm-users@lists.schedmd.com
To unsubscribe send an email to slurm-users-le...@lists.schedmd.com

Reply via email to