User Tools

Site Tools


srun

This is an old revision of the document!


srun

Runs an executable file.

Runs the job in the foreground (and blocks unless you use “&”).

Job will end if you close your terminal, unless you redirect IO and disown the job.

Examples

srun hostname

srun -N3 hostname (runs on 3 different nodes)

srun -u bash -i

  • Runs an interactive shell on a compute node.
  • It's a little odd, but it does work.

srun can also be used to start “job steps” from within a script.

srun.1398200946.txt.gz · Last modified: 2014/04/22 17:09 by root