Difference between revisions of "General/Slurm"
From HPC
MSummerbell (talk | contribs) |
MSummerbell (talk | contribs) (→Common Submission Flags) |
||
Line 28: | Line 28: | ||
| style="width:75%" | <Strong>Description</Strong> | | style="width:75%" | <Strong>Description</Strong> | ||
|- | |- | ||
− | | -J | + | | -J / --job-name |
− | | | + | | Specify a name for the job |
|- | |- | ||
− | | -N | + | | -N / --nodes |
− | | | + | | Specifies the number of nodes to be allocated to a job |
|- | |- | ||
− | | -n | + | | -n / --ntasks |
− | | | + | | Specifies the allocation of resources e.g. for 1 Compute Node the maximum would be 28 |
|- | |- | ||
− | | -o | + | | -o / --output |
− | | | + | | Specifies the name of the output file |
|- | |- | ||
− | | -e | + | | -e / --error |
− | | | + | | Specifies the name of the error file |
|- | |- | ||
− | | -p | + | | -p / --partition |
− | | | + | |Specifies the specific partition for the job e.g. compute, highmem, gpu |
+ | |- | ||
+ | | --exclusive | ||
+ | |Requests exclusive access to nodes preventing other jobs from running | ||
|- | |- | ||
|} | |} |
Revision as of 10:27, 2 February 2017
General Details
Application Details
- Version: 15.08.8
- Further information: https://slurm.schedmd.com/
- Slurm Rosetta (Useful for converting submission scripts from other formats)
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 / --job-name | Specify a name for the job |
-N / --nodes | Specifies the number of nodes to be allocated to a job |
-n / --ntasks | Specifies the allocation of resources e.g. for 1 Compute Node the maximum would be 28 |
-o / --output | Specifies the name of the output file |
-e / --error | Specifies the name of the error file |
-p / --partition | Specifies the specific partition for the job e.g. compute, highmem, gpu |
--exclusive | Requests exclusive access to nodes preventing other jobs from running |