Skip to content
Snippets Groups Projects

Draft: feat(arbor): install tests/examples

Open Eric Müller requested to merge feat_arbor_install_all_binaries into master

For the container image testing at CEA we need to install arbor tests/examples into the image.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Author Maintainer

    (This is "for the record"… we probably want to have some package build flow support for the deployment of tests that can serve as post-deployment tests.)

  • Author Maintainer

    (@thater That's what I mentioned in the chat…)

  • Author Maintainer

    @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üller
  • Eric Müller added 1 commit

    added 1 commit

    • 8a9a7659 - feat(arbor): install tests/examples

    Compare with previous version

  • Author Maintainer
    Edited by Eric Müller
  • Hi @emuller,

    the scripts in CSCS/* are for providing workflows on GPU in a addition to the Github pipeline. The benchmarks 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
Please register or sign in to reply