Skip to content

Commit

Permalink
more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
boeschf committed Jul 6, 2023
1 parent d05a346 commit 349cf41
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 9 deletions.
5 changes: 3 additions & 2 deletions ci/cscs/daint_mc/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@ RUN mkdir -p /arbor.src/build \
-GNinja \
-DCMAKE_BUILD_TYPE=Release \
-DARB_WITH_ASSERTIONS=ON \
-DARB_WITH_PROFILING=ON \
-DARB_VECTORIZE=ON \
-DARB_WITH_PYTHON=ON \
-DARB_USE_HWLOC=ON \
-DARB_WITH_MPI=ON \
&& ninja -j${NUM_PROCS} tests examples pyarb


32 changes: 25 additions & 7 deletions ci/cscs/daint_mc/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,19 +25,37 @@ build-arbor:
DOCKER_BUILD_ARGS: '["BASE_IMG=$BASE_IMAGE"]'
GIT_SUBMODULE_STRATEGY: recursive

test_job:
test-single-node:
extends: .container-runner-daint-mc
stage: test
image: $PERSIST_IMAGE_NAME
script:
- cd /arbor.src/build
- bin/unit-modcc
- bin/unit-local
- bin/unit
- cd /arbor.src
- build/bin/unit-modcc
- build/bin/unit-local
- build/bin/unit
- scripts/run_cpp_examples.sh
- python -m unittest discover -v -s python
variables:
SLURM_JOB_PARTITION: normal
SLURM_JOB_NUM_NODES: 1
SLURM_PARTITION: normal
SLURM_NTASKS: 1
SLURM_CPUS_PER_TASK: 36
SLURM_TIMELIMIT: "00:10:00"
SLURM_TIMELIMIT: "00:30:00"
USE_MPI: "NO"

test-distributed:
extends: .container-runner-daint-mc
stage: test
image: $PERSIST_IMAGE_NAME
script:
- cd /arbor.src
- build/bin/unit-mpi
- python -m unittest discover -v -s python
variables:
SLURM_JOB_PARTITION: normal
SLURM_JOB_NUM_NODES: 2
SLURM_NTASKS: 4
SLURM_CPUS_PER_TASK: 18
SLURM_TIMELIMIT: "00:30:00"
USE_MPI: "YES"

0 comments on commit 349cf41

Please sign in to comment.