1
Fork 0

feat(hpc): smart cluster modules

This commit is contained in:
Tibo De Peuter 2026-04-04 21:53:32 +02:00
parent 51da258feb
commit 78aa20868e
4 changed files with 8 additions and 13 deletions

View file

@ -21,19 +21,12 @@ fi
module load vsc-venv
echo 'Synchronizing environment...'
# Step 1: Sync (build/update) the environment
vsc-venv \
--modules env/hpc/modules.txt \
--requirements env/hpc/requirements.txt
echo 'Activating environment...'
# Step 2: Activate the environment
echo 'Synchronizing and activating environment...'
source vsc-venv --activate \
--modules env/hpc/modules.txt \
--requirements env/hpc/requirements.txt
# Step 3: Force upgrade shared system dependencies to ensure venv precedence
# Step 2: Force upgrade shared system dependencies to ensure venv precedence
echo 'Applying library overlays (NumPy, Protobuf)...'
pip install --upgrade --no-deps numpy protobuf