Difference between revisions of "SLURM usage summary"
From crtc.cs.odu.edu
(Created page with "= View en-queued jobs = squeue -u <username> = View available nodes = sinfo --state=idle") |
|||
Line 6: | Line 6: | ||
sinfo --state=idle | sinfo --state=idle | ||
+ | |||
+ | = Create and interactive jobs = | ||
+ | |||
+ | salloc [SBATCH ARGUMENTS] | ||
+ | |||
+ | = SBATCH Arguments = | ||
+ | |||
+ | * <code> -c <number of cores> </code> OR <code> --cpus-per-task </code> e.g <code> -c 12 </code> for allocating 12 cores | ||
+ | * <code> -N <number of nodes> </code> OR <code> --nodes <number of nodes> </code> e.g <code> -c 4 </code> for allocating 4 nodes | ||
+ | * <code> -p <name> </code> OR <code> --partition <name> </code> e.g <code> --partition "himem" </code> for using a node of the high memory group | ||
+ | * <code> -C <name> </code> OR <code> --constrain <name> </code> e.g <code> --constrain "coreV2*" </code> for using only nodes with hostname starting with coreV2* | ||
+ | * <code> --exclusive </code> block other jobs running in the node(s) |
Revision as of 14:16, 30 May 2018
Contents
View en-queued jobs
squeue -u <username>
View available nodes
sinfo --state=idle
Create and interactive jobs
salloc [SBATCH ARGUMENTS]
SBATCH Arguments
-
-c <number of cores>
OR--cpus-per-task
e.g-c 12
for allocating 12 cores -
-N <number of nodes>
OR--nodes <number of nodes>
e.g-c 4
for allocating 4 nodes -
-p <name>
OR--partition <name>
e.g--partition "himem"
for using a node of the high memory group -
-C <name>
OR--constrain <name>
e.g--constrain "coreV2*"
for using only nodes with hostname starting with coreV2* -
--exclusive
block other jobs running in the node(s)