Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions activate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@ $BASE/PyAutoFit
export TRITON_CACHE_DIR="${TRITON_CACHE_DIR:-$PYAUTO_HPC_CACHE/triton}"
export JAX_COMPILATION_CACHE_DIR="${JAX_COMPILATION_CACHE_DIR-$PYAUTO_HPC_CACHE/pyauto_jax}"
export ASTROPY_CACHE_DIR="${ASTROPY_CACHE_DIR:-$PYAUTO_HPC_CACHE/astropy}"
# Temp files too: Python's tempfile, JAX and numba default to /tmp, which on RAL
# compute nodes sits on the same small local disk (RAL admin, 2026-11-12). Use a
# `tmp/` next to the cache instead; a TMPDIR already set (e.g. by the job) wins.
export TMPDIR="${TMPDIR:-$(dirname "$PYAUTO_HPC_CACHE")/tmp}"
mkdir -p "$TMPDIR" 2>/dev/null || true
else
echo "No local .venv found (set PYAUTO_HPC_BASE for a shared/HPC PyAuto checkout)." >&2
fi
Expand Down
Loading