fix(hpc): modules
This commit is contained in:
parent
a512682edd
commit
2d08023abb
4 changed files with 9 additions and 4 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -373,7 +373,6 @@ celerybeat.pid
|
|||
# Environments
|
||||
.env
|
||||
.venv
|
||||
env/
|
||||
venv/
|
||||
ENV/
|
||||
env.bak/
|
||||
|
|
|
|||
|
|
@ -55,7 +55,11 @@ export UV_CACHE_DIR="$VSC_SCRATCH/.cache/uv"
|
|||
# Change to the project directory and activate environment
|
||||
cd "$PBS_O_WORKDIR"
|
||||
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
|
||||
export MUJOCO_GL=egl
|
||||
|
|
|
|||
2
env/hpc/modules.txt
vendored
2
env/hpc/modules.txt
vendored
|
|
@ -4,4 +4,4 @@ Optax/0.2.2-gfbf-2023a-CUDA-12.1.1
|
|||
wandb/0.16.1-GCC-12.3.0
|
||||
matplotlib/3.7.2-gfbf-2023a
|
||||
PyYAML/6.0-GCCcore-12.3.0
|
||||
FFmpeg/5.1.2-GCCcore-12.3.0
|
||||
FFmpeg/6.0-GCCcore-12.3.0
|
||||
|
|
|
|||
|
|
@ -31,7 +31,9 @@ mkdir -p "$PIP_CACHE_DIR" "$UV_CACHE_DIR" "$SCRATCH_RUNDIR" "$DATA_RUNDIR" runs/
|
|||
|
||||
module load vsc-venv
|
||||
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
|
||||
|
||||
export MUJOCO_GL=egl
|
||||
|
|
|
|||
Reference in a new issue