Skip to content

Commit b0084fd

Browse files
author
Thomas
committed
Fixed benchmarks
1 parent 86861b7 commit b0084fd

File tree

4 files changed

+8
-7
lines changed

4 files changed

+8
-7
lines changed

etc/juwels_benchmark.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
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

etc/venv_juwels/activate.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

1313
source "${ABSOLUTE_PATH}"/config.sh
1414
source "${ABSOLUTE_PATH}"/modules.sh

etc/venv_juwels/config.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff 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
1212
export 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"

etc/venv_juwels/setup.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ source "${ABSOLUTE_PATH}"/config.sh
99
source "${ABSOLUTE_PATH}"/modules.sh
1010

1111
python3 -m venv --prompt "$ENV_NAME" --system-site-packages "${ENV_DIR}"
12-
python3 -m pip install --upgrade pip
1312

1413
source "${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

1917
python3 -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+
2121
python3 -m pip install -e "${ABSOLUTE_PATH}"/../../
2222

0 commit comments

Comments
 (0)