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

Slurm environmental variables

Slurm environmental variables


Slurm Variable Name
Example Value
LSF equivalent
$SLURM_ARRAY_JOB_IDJob ID if part of Array job123456 


Job Index within Array job1$LSB_JOBINDEX
$SLURM_SUBMIT_DIRSubmit Directory/home/ab123456 
$SLURM_JOB_NODELISTNodes assigned to jobncm[0001,0004,0074-0080]$LSB_HOSTS



Number of nodes used by job4$LSB_HOSTS
$SLURM_JOB_CPUS_PER_NODENumber of cores per node8,8,8,6$LSB_MCPU_HOSTS
$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$LSB_DJOB_NUMPROC
$SLURM_NPROCSTotal number of processes for job48 

last changed on 03/27/2023

How did this content help you?

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