Feedback [ + ]
Converting MOAB (Roar) Submission Scripts to Slurm (Roar Collab)
The scheduler on Roar Collab, Slurm, uses submit files and commands that are structured similarly to those used by MOAB/Torque, the scheduler on the Roar cluster.
To... | MOAB/Torque Command | Slurm Equivalent |
---|---|---|
Submit a job | qsub | sbatch |
Cancel a job | qdel | scancel |
Check the status of a job | qstat | squeue |
Check the status of all jobs by user | qstat –u | squeue –u |
Hold a job | qhold | scontrol hold |
Release a job | qrls | scontrol release |
Resource request | MOAB/Torque Directive | Slurm Equivalent |
---|---|---|
Script directive designator | #PBS | #SBATCH |
Node Count | -l nodes= | -N or --nodes= |
CPU count | -l ppn= | -n or --ntasks= |
Wall time | -l walltime= | -t or --time= |
Memory size | -l mem= | --mem= or --mem-per-cpu= |
For a more complete list of command and option comparisons, please see the Slurm Rosetta Stone.