]> https://gitweb.dealii.org/ - dealii.git/commitdiff
CMake: run_test.sh: also try to suppress kokkos warnings 15499/head
authorMatthias Maier <tamiko@43-1.org>
Tue, 27 Jun 2023 14:22:08 +0000 (09:22 -0500)
committerMatthias Maier <tamiko@43-1.org>
Tue, 27 Jun 2023 14:22:33 +0000 (09:22 -0500)
cmake/scripts/run_test.sh

index 3b2a8a073cfc921431bc4f8fa345bf9a816a37f0..cb1383a088d071170e7c25bee11373549196a2a3 100644 (file)
@@ -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

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


Typeset in Trocchi and Trocchi Bold Sans Serif.