https://docs.uabgrid.uab.edu/w/index.php?title=Template:Slurm_Variables&feed=atom&action=historyTemplate:Slurm Variables - Revision history2024-03-29T09:59:07ZRevision history for this page on the wikiMediaWiki 1.38.2https://docs.uabgrid.uab.edu/w/index.php?title=Template:Slurm_Variables&diff=5388&oldid=prevMhanby@uab.edu: Initial creation of Slurm_Variables template2016-10-20T19:36:43Z<p>Initial creation of Slurm_Variables template</p>
<p><b>New page</b></p><div>{| class="wikitable" border="1"<br />
|-<br />
! Variable<br />
! Description<br />
|-<br />
| SLURM_NTASKS<br />
| Total number of processes in the current job (and SLURM_NPROCS for backwards compatibility)<br />
|-<br />
| SLURM_NODELIST<br />
| List of nodes allocated to the job<br />
|-<br />
| SLURM_NNODES<br />
| Total number of nodes in the job's resource allocation<br />
|-<br />
| SLURM_JOB_NAME<br />
| Set to the value of the --job-name option or the command name when srun is used to create a new job allocation. Not set when srun is used only to create a job step (i.e. within an existing job allocation)<br />
|-<br />
| SLURM_JOB_ID<br />
| Job id of the executing job (and SLURM_JOBID for backwards compatibility)<br />
|-<br />
| SLURM_SUBMIT_DIR<br />
| The directory from which srun was invoked<br />
|-<br />
| SLURM_TASKS_PER_NODE<br />
| Number of tasks to be initiated on each node. Values are comma separated and in the same order as SLURM_NODELIST. If two or more consecutive nodes are to have the same task count, that count is followed by "(x#)" where "#" is the repetition count. For example, "SLURM_TASKS_PER_NODE=2(x3),1" indicates that the first three nodes will each execute three tasks and the fourth node will execute one task<br />
|}</div>Mhanby@uab.edu