Carles Fenoy <mini...@gmail.com> writes:

> Can't you use directly srun?

Hm...  I can't see how.  srun will start as many instances of the job
script as the number of tasks you specify (with --ntasks, --nodes,
and/or --ntasks-per-node).

Typically, a job script will first do some file management, then
launch the main program, and then perhaps do some cleanup afterwards.
Thus one wouldn't want the job script itself to be run in parallell.

-- 
Regards,
Bjørn-Helge Mevik, dr. scient,
Research Computing Services, University of Oslo

Reply via email to