Storage and Scratch

Home Directory

Every user has a personal home directory at /home/your_username. This is your default working directory when you log in.

Scratch Partitions

Scratch partitions are shared, high-speed temporary storage available across the cluster:

Use scratch for intermediate files during a job run — not for long-term storage.

Local Scratch

Some compute nodes and workstations have a local /localscratch partition. This is node-local storage — faster than shared scratch but only accessible from that specific node.

If your job uses /localscratch, you must clean up after yourself. Add this to your job script:

export CACHEDIR=/localscratch/${USER}_${SLURM_JOB_ID}
mkdir -p $CACHEDIR

cleanup() {
  rm -rf -- "$CACHEDIR" || true
}
trap cleanup EXIT INT TERM HUP

Important


Created 2026-06-11 14:47:53 UTC by levk
Updated 2026-06-14 08:14:29 UTC by levk