Skip to content

Commit

Permalink
Merge pull request #16782 from drwells/openmpi-5
Browse files Browse the repository at this point in the history
Fix test environment variables for OpenMPI 5.
  • Loading branch information
kronbichler committed Mar 26, 2024
2 parents d3eb38c + a13d432 commit f6081ed
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions cmake/scripts/run_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

#
Expand Down

0 comments on commit f6081ed

Please sign in to comment.