It turns out that this change introduces a lot of noise. Let us thus not
override the mpi binding policy if we already run exclusively.
# Ensure that the test is not executed concurrently with any other
# tests.
#
- set_tests_properties(${_test_full} PROPERTIES RUN_SERIAL TRUE)
+ set_tests_properties(${_test_full} PROPERTIES
+ RUN_SERIAL TRUE
+ ENVIRONMENT "TEST_IS_EXCLUSIVE=true"
+ )
else()
#
# cores/processors/sockets. Otherwise we run the risk that multiple
# mpi tests (for example with two ranks) are all pinned to the same
# processor core, bringing everything to a grinding halt.
+ #
+ # If the test runs exclusively, however, do not override MPI binding
+ # policies. This is important to ensure that performance tests are
+ # scheduled properly.
+ #
export OMPI_MCA_rmaps_base_oversubscribe=1
- export OMPI_MCA_hwloc_base_binding_policy=none
+ if [ -z "${TEST_IS_EXCLUSIVE+x}" ]; then
+ export OMPI_MCA_hwloc_base_binding_policy=none
+ fi
#
# Kokkos parameters:
In the beginning the Universe was created. This has made a lot of
people very angry and has been widely regarded as a bad move.
Douglas Adams