Draft: feat(arbor): install tests/examples
For the container image testing at CEA we need to install arbor tests/examples into the image.
Merge request reports
Activity
Filter activity
(@thater That's what I mentioned in the chat…)
@thater mentioned GH CI:
make tests && bin/unit && bin/unit-modcc (if MPI → bin/unit-local && mpirun -n 4 bin/unit-mpi) make && scripts/run_python_examples.sh make examples && scripts/run_cpp_examples.sh (mpirun -n 4 scripts/run_cpp_examples.sh)
(There are HPC site specific tests, e.g. CSCS/daint_gpu.)
Edited by Eric MüllerI basically looked at https://github.com/arbor-sim/arbor/blob/master/.github/workflows/test-matrix.yml for now…
But there's also:
Edited by Eric MüllerHi @emuller,
the scripts in
CSCS/*
are for providing workflows on GPU in a addition to the Github pipeline. Thebenchmarks
are micro benchmarks for certain performance critical kernels we want to keep an eye on, nothing that requires passing.The steps we need to pass are:
- everything generated by
make tests
(unit
,unit-modcc
, ...) - everything generated by
make examples
(scripts/run_cpp_examples.sh
) - Python tests
python -m unittest discover -v -s python
- some utilities must be executable
scripts/test_executables.sh
- examples in python
scripts/run_python_examples.sh
If we have MPI enabled, in addition
scripts/run_cpp_examples.sh "mpirun -n 4 -oversubscribe"
mpirun -n 4 -oversubscribe python -m unittest discover -v -s python
mpirun -n 4 -oversubscribe build/bin/unit-mpi
The matrix is built from the cartesian product of
- MPI=ON|OFF
- SIMD=ON|OFF
- CXX=clang-{9, 14}|gcc-{9,12}
- OS=MACOS|UBUNTU
- everything generated by
Please register or sign in to reply