Skip to content

Commit 78d6dc9

Browse files
author
Thomas
committed
Fix
1 parent 2d9ee45 commit 78d6dc9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

etc/venv_juwels/activate.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ ABSOLUTE_PATH="$(realpath "${RELATIVE_PATH}")"
88

99
[[ "$0" != "${SOURCE_PATH}" ]] && echo "The activation script must be sourced, otherwise the virtual environment will not work." || ( echo "Vars script must be sourced." && exit 1) ;
1010

11-
jutil env activate -p $COMPUTE_PROJECT
12-
1311
source "${ABSOLUTE_PATH}"/config.sh
1412
source "${ABSOLUTE_PATH}"/modules.sh
1513

14+
jutil env activate -p $COMPUTE_PROJECT
15+
1616
export PYTHONPATH="$(echo "${ENV_DIR}"/lib/python*/site-packages):${PYTHONPATH}"
1717

1818
source "${ENV_DIR}"/bin/activate

0 commit comments

Comments
 (0)