Difference between revisions of "General/Slurm"

From HPC
Jump to: navigation , search
Line 3: Line 3:
 
* Version: 15.08.8
 
* Version: 15.08.8
 
* Further information: [https://slurm.schedmd.com/ https://slurm.schedmd.com/]
 
* Further information: [https://slurm.schedmd.com/ https://slurm.schedmd.com/]
 +
* [https://slurm.schedmd.com/rosetta.pdf Slurm Rosetta] (Useful for converting submission scripts from other formats)
 
<br/>
 
<br/>
 
 
===Common Slurm Commands===
 
===Common Slurm Commands===
 
{| class="wikitable"
 
{| class="wikitable"
Line 21: Line 21:
 
| sinfo
 
| sinfo
 
| Used to view partition and node information for a system running SLURM.
 
| Used to view partition and node information for a system running SLURM.
 +
|-
 +
|}
 +
===Common Submission Flags===
 +
{| class="wikitable"
 +
| style="width:25%" | <Strong>Flag</Strong>
 +
| style="width:75%" | <Strong>Description</Strong>
 +
|-
 +
| -J
 +
|
 +
|-
 +
| -N
 +
|
 +
|-
 +
| -n
 +
|
 +
|-
 +
| -o
 +
|
 +
|-
 +
| -e
 +
|
 +
|-
 +
| -p
 +
|
 
|-
 
|-
 
|}
 
|}

Revision as of 10:04, 2 February 2017

General Details

Application Details


Common Slurm Commands

Command Description
sbatch Submits a batch script to SLURM. The batch script may be given to sbatch through a file name on the command line, or if no file name is specified, sbatch will read in a script from standard input.
squeue Used to view job and job step information for jobs managed by SLURM.
scancel Used to signal or cancel jobs, job arrays or job steps.
sinfo Used to view partition and node information for a system running SLURM.

Common Submission Flags

Flag Description
-J
-N
-n
-o
-e
-p