Dynamic Scheduler Variables
Your research environment job scheduler automatically creates a number of pseudo environment variables which are available to your job-scripts when they are running on research environment compute nodes, along with standard Linux variables. Useful values include the following:
$HOMEThe location of your home-directory%u/$USERThe Linux username of the submitting user. The%usubstitution should only be used in your job scheduler directives.$HOSTNAMEThe Linux hostname of the compute node running the job%a/$SLURM_ARRAY_TASK_IDJob array ID (index) number. The%asubstitution should only be used in your job scheduler directives1%A/$SLURM_ARRAY_JOB_IDJob allocation number for an array job. The%Asubstitution should only be used in your job scheduler directives1%j/$SLURM_JOBIDJob allocation number. The%jsubstitution should only be used in your job scheduler directives