preloader
  • Home
  • Useful Environment Variables

Environment variables that can be used while navigating on HSUper or within job scripts.

Useful Environment Variables

HSUper Specific Variables

  • $HOME- Path to ones home directory

  • $PROJECT- Path to the BeeGFS project directory

  • $SLURM_TMPDIR- Path to the temporary folder for the current slurm job. On job completion all created files will be automatically deleted. Hence, the user’s BeeGFS quota will not be affected by the temporary files that are created in this path, once the slurm job completes. To keep files, essential files should be copied during the jobs runtime (copy commands in the slurm job script).

    • On compute nodes: $SLURM_TMPDIR points to the node’s memory. Please be careful not to run out of memory by writing too much data there.
    • On GPU nodes: $SLURM_TMPDIR points to a local SSD with a total of 894GB. Memory is not affected by writing data to $SLURM_TMPDIR. The storage might be shared if the node is not allocated exclusively.

    Please note that you need to be in an slurm controlled environment to have access to slurm job variables. You may want to use srun --pty bash in interactive jobs.

  • $SCRATCH- Path to the /scratch directory.