]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix test environment variables for OpenMPI 5. 16782/head
authorDavid Wells <drwells@email.unc.edu>
Mon, 25 Mar 2024 17:23:54 +0000 (13:23 -0400)
committerDavid Wells <drwells@email.unc.edu>
Mon, 25 Mar 2024 17:23:54 +0000 (13:23 -0400)
cmake/scripts/run_test.sh

index bdee6ec40a7fbd4fc9e9787c739c5da4ee45f68b..4552c2f1364ff5da7fd9d0584724de2c786038db 100644 (file)
@@ -95,9 +95,15 @@ case $STAGE in
     #    policies. This is important to ensure that performance tests are
     #    scheduled properly.
     #
+    # for OpenMPI 4 and older:
     export OMPI_MCA_rmaps_base_oversubscribe=1
+    # for OpenMPI 5:
+    export PRTE_MCA_rmaps_default_mapping_policy=:oversubscribe
     if [ -z "${TEST_IS_EXCLUSIVE+x}" ]; then
+      # for OpenMPI 4 and older:
       export OMPI_MCA_hwloc_base_binding_policy=none
+      # for OpenMPI 5:
+      export PRTE_MCA_hwloc_default_binding_policy=none
     fi
 
     #

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.