Bash - Slurm - Srun


srun allows you to run parallel jobs directly from the command line. See sbatch for command line arguments.

$ srun --nodes=3 hostname
node03
node02
node04

To run an interactive srun session:

$ srun --pty /bin/bash