From: Matthias Maier Date: Sun, 1 Jan 2023 19:41:23 +0000 (-0600) Subject: CMake: Silence a Kokkos warning about unset OMP_PROC_BIND X-Git-Tag: v9.5.0-rc1~691^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5a249438a4483692c0e2759736a6aabd2a0e135b;p=dealii.git CMake: Silence a Kokkos warning about unset OMP_PROC_BIND We now set the OMP_PROC_BIND variable to false to allow free movement of the two worker threads and silence a KOKKOS warning (which might insist on this variable to be defined). --- diff --git a/cmake/scripts/run_test.sh b/cmake/scripts/run_test.sh index b3c58b6f49..6d8f94af2b 100644 --- a/cmake/scripts/run_test.sh +++ b/cmake/scripts/run_test.sh @@ -75,8 +75,13 @@ case $STAGE in # set it to 4,2,1 to set parallelization levels inside parallelized blocks # 2. OMP_THREAD_LIMIT limits the total number of threads, independent of # nesting + # + # 3. In addition we set the OMP_PROC_BIND variable to false to allow + # free movement of the two worker threads and silence a KOKKOS + # warning (which might insist on this variable to be defined). export OMP_NUM_THREADS="2" export OMP_THREAD_LIMIT="2" + export OMP_PROC_BIND="false" # Allow oversubscription for MPI (needed for Openmpi@3.0) export OMPI_MCA_rmaps_base_oversubscribe=1