From 70de904d4ccfdb2ce10239ca360557cd6ac49a20 Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Tue, 27 Jun 2023 09:22:08 -0500 Subject: [PATCH] CMake: run_test.sh: also try to suppress kokkos warnings --- cmake/scripts/run_test.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/cmake/scripts/run_test.sh b/cmake/scripts/run_test.sh index 3b2a8a073c..cb1383a088 100644 --- a/cmake/scripts/run_test.sh +++ b/cmake/scripts/run_test.sh @@ -94,6 +94,14 @@ case $STAGE in export OMPI_MCA_rmaps_base_oversubscribe=1 export OMPI_MCA_hwloc_base_binding_policy=none + # + # Kokkos parameters: + # - Disable Kokkos runtime warnings so that we can oversubscribe + # threads without Kokkos complaining. This should also help with + # some spurious warnings that we get in tests depending on who + # initialized openmp first, kokkos or another external dependency. + export KOKKOS_DISABLE_WARNINGS=1 + rm -f failing_output rm -f output rm -f stdout -- 2.39.5