File tree Expand file tree Collapse file tree 4 files changed +8
-7
lines changed Expand file tree Collapse file tree 4 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 22# SBATCH --account=cstma
33# SBATCH --nodes=1
44# SBATCH --time=00:10:00
5- # SBATCH --partition=devel
5+ # SBATCH --partition=develgpus
66# SBATCH --output=sbatch.out
77# SBATCH --error=sbatch.err
88
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ 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
11+ jutil env activate -p $COMPUTE_PROJECT
1212
1313source " ${ABSOLUTE_PATH} " /config.sh
1414source " ${ABSOLUTE_PATH} " /modules.sh
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ ABSOLUTE_PATH="$(realpath "${RELATIVE_PATH}")"
88# ###################################
99
1010# ## User Configuration
11- jutil env activate -p ccstma
11+ export COMPUTE_PROJECT= ccstma
1212export ENV_NAME=" $( basename " $ABSOLUTE_PATH " ) " # Default Name of the venv is the directory that contains this file
13- export ENV_DIR=" ${SCRATCH} " /venv # Default location of this VENV is "./venv"
13+ jutil env activate -p $COMPUTE_PROJECT
14+ export ENV_DIR=" ${SCRATCH} " /.pySDC_venvs/venv_juwels # Default location of this VENV is "./venv"
Original file line number Diff line number Diff line change @@ -9,14 +9,14 @@ source "${ABSOLUTE_PATH}"/config.sh
99source " ${ABSOLUTE_PATH} " /modules.sh
1010
1111python3 -m venv --prompt " $ENV_NAME " --system-site-packages " ${ENV_DIR} "
12- python3 -m pip install --upgrade pip
1312
1413source " ${ABSOLUTE_PATH} " /activate.sh
1514
16-
17- FFTW_LIBRARY_DIR=" /p/software/juwels/stages/2025/software/FFTW/3.3.10-GCC-13.3.0/lib64/" python3 -m pip install git+https://github.com/brownbaerchen/mpi4py-fft.git@cupy_implementation
15+ python3 -m pip install --upgrade pip
1816
1917python3 -m pip install -r " ${ABSOLUTE_PATH} " /requirements.txt
2018
19+ FFTW_LIBRARY_DIR=" /p/software/juwels/stages/2025/software/FFTW/3.3.10-GCC-13.3.0/lib64/" python3 -m pip install git+https://github.com/brownbaerchen/mpi4py-fft.git@cupy_implementation
20+
2121python3 -m pip install -e " ${ABSOLUTE_PATH} " /../../
2222
You can’t perform that action at this time.
0 commit comments