File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
pkgs/build-support/setup-hooks/mpi-check-hook Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -33,10 +33,17 @@ setupMpiCheck() {
3333
3434 case $mpiType in
3535 openmpi)
36- # make sure the test starts even if we have less than the requested amount of cores
36+ # Note, that openmpi-5 switched to using PRRTE.
37+ # Thus we need to set PRTE_MCA_* instead of OMPI_MCA_*.
38+ # We keep the openmpi-4 parameters for backward compatability.
39+
40+ # Make sure the test starts even if we have less than the requested amount of cores
3741 export OMPI_MCA_rmaps_base_oversubscribe=1
42+ export PRTE_MCA_rmaps_default_mapping_policy=node:oversubscribe
43+
3844 # Disable CPU pinning
3945 export OMPI_MCA_hwloc_base_binding_policy=none
46+ export PRTE_MCA_hwloc_default_binding_policy=none
4047 ;;
4148 MPICH)
4249 # Fix to make mpich run in a sandbox
You can’t perform that action at this time.
0 commit comments