SLURM usage summary
From crtc.cs.odu.edu
Revision as of 14:16, 30 May 2018 by Ctsolakis (talk | contribs) (Ctsolakis moved page SLURM usage to SLURM usage summary without leaving a redirect)
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-taske.g-c 12for allocating 12 cores -
-N <number of nodes>OR--nodes <number of nodes>e.g-c 4for 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* -
--exclusiveblock other jobs running in the node(s)