Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

You can start a calculation/job directly from the commandprompt by using srun. This command submits jobs to the slurm job submission system and can also be used to start the same command on multiple nodes. srun has a wide variety of options to specify resource requirements, including: minimum and maximum node count, processor count, specific nodes to use or not use, and specific node characteristics such as memory and disk space. 

sbatch

sbatch is used to submit a job script for later execution. The script will typically contain one or more srun commands to launch parallel tasks.

srun Examples

Code Block
languagebash
$ srun -N4 /bin/hostname
rb2u4
dn1
rb2u1
rb2u2
 

...