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

Slurm environmental variables

Slurm environmental variables

Detailinformation

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

$SLURM_ARRAY_TASK_ID

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

$SLURM_JOB_NUM_NODES

$SLURM_NNODES

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