Skip to content
Snippets Groups Projects
Commit 24cdf05e authored by Jakob Fritz's avatar Jakob Fritz
Browse files

Split installation and running into two jobs

As one of the two jobs often failed during installation, while the other one succeeded. So it might be a race condition. Therefore, splitting installation and usage into separate jobs
parent 488e7a46
Branches
No related tags found
No related merge requests found
Pipeline #186074 passed
...@@ -10,8 +10,34 @@ variables: ...@@ -10,8 +10,34 @@ variables:
JUWELS_ACCOUNT: "cstma" JUWELS_ACCOUNT: "cstma"
prepare_JUWELS:
stage: benchmark
rules:
- if: $CI_COMMIT_MESSAGE !~ /.*\[CI-no-benchmarks\]/
tags:
- jacamar
- juwels
- login
- shell
script:
- mkdir -p benchmarks
# load the latest Python module (currently 3.11)
- module --force purge
- module load Stages/2024
- module load GCC
- module load OpenMPI
- module load FFTW
- module load mpi4py
- module load SciPy-Stack
- module load CuPy
- pip install -e .
- pip install pytest-benchmark coverage
test_JUWELS: test_JUWELS:
stage: benchmark stage: benchmark
needs:
- prepare_JUWELS
rules: rules:
- if: $CI_COMMIT_MESSAGE !~ /.*\[CI-no-benchmarks\]/ - if: $CI_COMMIT_MESSAGE !~ /.*\[CI-no-benchmarks\]/
tags: tags:
...@@ -39,8 +65,6 @@ test_JUWELS: ...@@ -39,8 +65,6 @@ test_JUWELS:
- module load mpi4py - module load mpi4py
- module load SciPy-Stack - module load SciPy-Stack
- module load CuPy - module load CuPy
- pip install -e .
- pip install pytest-benchmark coverage
script: script:
# - touch benchmarks/output.json # - touch benchmarks/output.json
- echo $SYSTEMNAME - echo $SYSTEMNAME
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment