You are located in service: RWTH High Performance Computing (Linux)

Slurm environmental variables

Slurm environmental variables

Detailinformation

Slurm Variable Name
Description
Example Value
$SLURM_JOB_IDJob ID123456
$SLURM_ARRAY_JOB_IDJob ID if part of Array job123456

$SLURM_ARRAY_TASK_ID

Job Index within Array job1
$SLURM_JOB_NAMEJob NameMyBatchJob
$SLURM_SUBMIT_DIRSubmit Directory/home/ab123456
$SLURM_JOB_NODELISTNodes assigned to jobncm[0001,0004,0074-0080]
$SLURM_SUBMIT_HOSTSubmitting hostlogin18-1.hpc.itc.rwth-aachen.de

$SLURM_JOB_NUM_NODES

Number of nodes used by job4
$SLURM_JOB_CPUS_PER_NODENumber of cores per node8,8,8,6
$SLURM_TASKS_PER_NODENumber of tasks per node1,1,1,1
$SLURM_MEM_PER_CPUMemory per CPU in MB3000
$SLURM_NTASKSTotal number of tasks for job48
$SLURM_NPROCSTotal number of processes for job48
$TEMPDIRIn that path is a copy of the job script used for the job  
 

last changed on 02/23/2024

How did this content help you?

Creative Commons Lizenzvertrag
This work is licensed under a Creative Commons Attribution - Share Alike 3.0 Germany License