SLURM Reference Manual for HP XC System Software

Environment Variables
To see how the SLURM environment variables discussed here t into the larger context of all
environment variables used at LC to manage jobs (both interactively and by LCRM in particular), consult
the comparative sections of LC's Environment Variables user manual (URL: http://www.llnl.gov/LCdocs/ev).
Option Variables.
Many SRUN options have corresponding environment variables (analogous to the approach used with
POE). The SRUN option, if invoked during execution, always overrides (resets) the corresponding
environment variable (which contains each job feature's default value, if there is a default).
Corresponding SRUN Option(s)Environment Variable
-U, --accountSLURM_ACCOUNT
--cpu_bindSLURM_CPU_BIND
-c, --ncpus-per-taskSLURM_CPUS_PER_TASK
--conn-typeSLURM_CONN_TYPE
--core-formatSLURM_CORE_FORMAT
-v, --verboseSLURM_DEBUG
-d, --slurmd-debugSLURMD_DEBUG
-X, --disable-statusSLURM_DISABLE_STATUS
-m, --distributionSLURM_DISTRIBUTION
-g, --geometrySLURM_GEOMETRY
-l, --labelSLURM_LABELIO
--mem_bindSLURM_MEM_BIND
--networkSLURM_NETWORK(*)
-N, --nodesSLURM_NNODES
--no-rotateSLURM_NO_ROTATE
-n, --ntasksSLURM_NPROCS
-o, --overcommitSLURM_OVERCOMMIT
-p, --partitionSLURM_PARTITION
-D, --chdirSLURM_REMOTE_CWD
--ctrl-comm-ifhnSLURM_SRUN_COMM_IFHN
-e, --errorSLURM_STDERRMODE
-i, --inputSLURM_STDINMODE
-o, --outputSLURM_STDOUTMODE
--task-epilogSLURM_TASK_EPILOG
--task-prologSLURM_TASK_PROLOG
-t, --timeSLURM_TIMELIMIT
-W, --waitSLURM_WAIT
(*)See explanatory details at the end of this section.
SLURM Reference Manual - 40