Unverified Commit 113b7657 authored by Markus Kowalewski's avatar Markus Kowalewski Committed by GitHub
Browse files

mpiCheckPhaseHook: use low-level env HWLOC_XMLFILE in all MPI implementations (#399205)

parents 1316aee1 fd12b140
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -55,7 +55,7 @@ setupMpiCheck() {
      # The solution is to use a preset cpu topology file and disable ucx model.

      # Disable sysfs cpu topology directory discovery.
      export PRTE_MCA_hwloc_use_topo_file="@topology@"
      export HWLOC_XMLFILE="@topology@"
      # Use the network model ob1 instead of ucx.
      export OMPI_MCA_pml=ob1
      ;;
@@ -68,6 +68,8 @@ setupMpiCheck() {
    MVAPICH)
      # Disable CPU pinning
      export MV2_ENABLE_AFFINITY=0
      # Disable sysfs cpu topology directory discovery.
      export HWLOC_XMLFILE="@topology@"
      ;;
  esac