SLURM Reference Manual for HP XC System Software

SRUN Constraint Options
These SRUN options all limit the nodes on which your job will execute to only those nodes having the
properties ("constraints") that you specify here.
General Constraints
These SRUN constraints can apply to any job (unlike those in the next subsection).
-C clist (uppercase, --constraint=clist)
runs your job on those nodes having the properties in clist, where clist is a list of
features assigned for this purpose by SLURM system administrators (the features
may vary by network or machine). SRUN option -C thus behaves like PSUB constraint
option -c (lowercase, see the "Helpful PSUB Options" section (URL:
http://www.llnl.gov/LCdocs/ezjob/index.jsp?show=s6.5.2) of the EZJOBCONTROL
guide.
To conjoin (AND) multiple constraints, separate them in clist by using an ampersand
(c1&c2). To disjoin (OR) multiple constraints, separate them in clist by using a vertical
bar (c3|c4).
If no nodes have the feature(s) that you require with -C, then the SLURM job manager
will reject your job.
--contiguous=yes|no
species whether or not your job requires a contiguous range of nodes. The default
(YES) demands contiguous nodes, while alternative NO allows noncontiguous
execution.
--mem=size species a minimum amount of real memory per node, where size is an integer number
of megabytes. See also --vmem.
--mincpus=n species a minimum number n of CPUs per node.
--vmem=size species a minimum amount of virtual memory per node, where size is an integer
number of megabytes. See also --mem.
--tmp=size species a minimum amount of temporary disk space per node, where size is an integer
number of megabytes.
-w hosts (lowercase, --nodelist=hosts)
species by name the individual nodes that must be included in the set of nodes on
which your job runs (perhaps along with others unspecied). Option -w is incompatible
with SRUN option -r (--relative). Here hosts may have any of three formats:
host1,host2,... is a comma-delimited list of node names (e.g., mcr100,mcr200,...).
host[na-nb,nc,...] is a range of node names, perhaps mixed with individual nodes in a
comma-delimited sublist (e.g., mcr[1-256,500,...]).
SLURM Reference Manual - 36