Skip to content

Commit 113b765

Browse files
authored
mpiCheckPhaseHook: use low-level env HWLOC_XMLFILE in all MPI implementations (#399205)
2 parents 1316aee + fd12b14 commit 113b765

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pkgs/by-name/mp/mpiCheckPhaseHook/mpi-check-hook.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ setupMpiCheck() {
5555
# The solution is to use a preset cpu topology file and disable ucx model.
5656

5757
# Disable sysfs cpu topology directory discovery.
58-
export PRTE_MCA_hwloc_use_topo_file="@topology@"
58+
export HWLOC_XMLFILE="@topology@"
5959
# Use the network model ob1 instead of ucx.
6060
export OMPI_MCA_pml=ob1
6161
;;
@@ -68,6 +68,8 @@ setupMpiCheck() {
6868
MVAPICH)
6969
# Disable CPU pinning
7070
export MV2_ENABLE_AFFINITY=0
71+
# Disable sysfs cpu topology directory discovery.
72+
export HWLOC_XMLFILE="@topology@"
7173
;;
7274
esac
7375

0 commit comments

Comments
 (0)