fixup! fixup! fix(hpc): rework modules again
This commit is contained in:
parent
3e586da953
commit
059ac681ec
4 changed files with 2 additions and 15 deletions
|
|
@ -44,11 +44,6 @@ source vsc-venv --activate \
|
|||
set -euo pipefail
|
||||
cd "$PBS_O_WORKDIR"
|
||||
|
||||
# Prepend venv to PYTHONPATH to shadow system packages (e.g. SciPy-bundle compiled
|
||||
# against NumPy 1.x) that are injected by the loaded modules.
|
||||
VENV_LIB_DIR="$VIRTUAL_ENV/lib/python$(python -c 'import sys; print(f"{sys.version_info.major}.{sys.version_info.minor}")')/site-packages"
|
||||
export PYTHONPATH="$VENV_LIB_DIR:${PYTHONPATH:-}"
|
||||
|
||||
echo '>>> Installing ipykernel...'
|
||||
CLUSTER_ID="${VSC_INSTITUTE_CLUSTER:-generic}"
|
||||
python -m ipykernel install --user --name="sel3_${CLUSTER_ID}" \
|
||||
|
|
|
|||
|
|
@ -50,11 +50,6 @@ source vsc-venv --activate \
|
|||
set -euo pipefail
|
||||
cd "$PBS_O_WORKDIR"
|
||||
|
||||
# Prepend venv to PYTHONPATH to shadow system packages (e.g. SciPy-bundle compiled
|
||||
# against NumPy 1.x) that are injected by the loaded modules.
|
||||
VENV_LIB_DIR="$VIRTUAL_ENV/lib/python$(python -c 'import sys; print(f"{sys.version_info.major}.{sys.version_info.minor}")')/site-packages"
|
||||
export PYTHONPATH="$VENV_LIB_DIR:${PYTHONPATH:-}"
|
||||
|
||||
|
||||
echo ">>> Starting BrittleStar training..."
|
||||
export MUJOCO_GL=egl
|
||||
|
|
|
|||
Reference in a new issue