1
Fork 0

fix(hpc): modules

This commit is contained in:
Tibo De Peuter 2026-04-04 20:38:30 +02:00
parent a512682edd
commit 2d08023abb
4 changed files with 9 additions and 4 deletions

1
.gitignore vendored
View file

@ -373,7 +373,6 @@ celerybeat.pid
# Environments # Environments
.env .env
.venv .venv
env/
venv/ venv/
ENV/ ENV/
env.bak/ env.bak/

View file

@ -55,7 +55,11 @@ export UV_CACHE_DIR="$VSC_SCRATCH/.cache/uv"
# Change to the project directory and activate environment # Change to the project directory and activate environment
cd "$PBS_O_WORKDIR" cd "$PBS_O_WORKDIR"
module load vsc-venv module load vsc-venv
source vsc-venv --activate --modules env/hpc/modules.txt set +u
source vsc-venv --activate \
--modules env/hpc/modules.txt \
--requirements env/hpc/requirements.txt
set -u
# Set headless rendering backend # Set headless rendering backend
export MUJOCO_GL=egl export MUJOCO_GL=egl

2
env/hpc/modules.txt vendored
View file

@ -4,4 +4,4 @@ Optax/0.2.2-gfbf-2023a-CUDA-12.1.1
wandb/0.16.1-GCC-12.3.0 wandb/0.16.1-GCC-12.3.0
matplotlib/3.7.2-gfbf-2023a matplotlib/3.7.2-gfbf-2023a
PyYAML/6.0-GCCcore-12.3.0 PyYAML/6.0-GCCcore-12.3.0
FFmpeg/5.1.2-GCCcore-12.3.0 FFmpeg/6.0-GCCcore-12.3.0

View file

@ -31,7 +31,9 @@ mkdir -p "$PIP_CACHE_DIR" "$UV_CACHE_DIR" "$SCRATCH_RUNDIR" "$DATA_RUNDIR" runs/
module load vsc-venv module load vsc-venv
set +u set +u
source vsc-venv --activate --modules env/hpc/modules.txt source vsc-venv --activate \
--modules env/hpc/modules.txt \
--requirements env/hpc/requirements.txt
set -u set -u
export MUJOCO_GL=egl export MUJOCO_GL=egl