Skip to content

Commit 86861b7

Browse files
author
Thomas
committed
Changed path to venv
1 parent 5c7197c commit 86861b7

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

etc/venv_juwels/activate.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ 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 ccstma
12+
1113
source "${ABSOLUTE_PATH}"/config.sh
1214
source "${ABSOLUTE_PATH}"/modules.sh
1315

etc/venv_juwels/config.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,6 @@ ABSOLUTE_PATH="$(realpath "${RELATIVE_PATH}")"
88
####################################
99

1010
### User Configuration
11+
jutil env activate -p ccstma
1112
export ENV_NAME="$(basename "$ABSOLUTE_PATH")" # Default Name of the venv is the directory that contains this file
12-
export ENV_DIR="${ABSOLUTE_PATH}"/venv # Default location of this VENV is "./venv"
13+
export ENV_DIR="${SCRATCH}"/venv # Default location of this VENV is "./venv"

0 commit comments

Comments
 (0)