1
Fork 0

refactor(hpc): use explicit PIP_CACHE_DIR/UV_CACHE_DIR, drop prose comments

Match comment style from previous cleanup commit:
- No section divider bars, no echo progress lines, no prose comments
  on obvious commands
- Replace XDG_CACHE_HOME with explicit PIP_CACHE_DIR and UV_CACHE_DIR
- Drop MPLCONFIGDIR (matplotlib cache is negligible in size)
This commit is contained in:
Tibo De Peuter 2026-04-04 18:48:06 +02:00
parent cd2e594d1b
commit 34a887cd58
3 changed files with 13 additions and 74 deletions

View file

@ -81,9 +81,8 @@ module swap cluster/donphan
qsub -I -l nodes=1:ppn=4 -l walltime=1:00:00
# Once inside the job — redirect caches to scratch first
export XDG_CACHE_HOME="$VSC_SCRATCH/.cache"
export PIP_CACHE_DIR="$VSC_SCRATCH/.cache/pip"
export UV_CACHE_DIR="$VSC_SCRATCH/.cache/uv"
export MPLCONFIGDIR="$VSC_SCRATCH/.config/matplotlib"
# Change to the project directory and activate environment
cd "$PBS_O_WORKDIR"