From 93f58b50c0115a13edf9055707cfc932f595d74e Mon Sep 17 00:00:00 2001 From: qbisi Date: Thu, 7 Nov 2024 11:59:08 +0800 Subject: [PATCH] mpiCheckPhaseHook: use preset topoloy file in sandbox for mpich --- pkgs/build-support/setup-hooks/mpi-check-hook/mpi-check-hook.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/build-support/setup-hooks/mpi-check-hook/mpi-check-hook.sh b/pkgs/build-support/setup-hooks/mpi-check-hook/mpi-check-hook.sh index d576df6489d6..6adad2b44076 100644 --- a/pkgs/build-support/setup-hooks/mpi-check-hook/mpi-check-hook.sh +++ b/pkgs/build-support/setup-hooks/mpi-check-hook/mpi-check-hook.sh @@ -62,6 +62,8 @@ setupMpiCheck() { MPICH) # Fix to make mpich run in a sandbox export HYDRA_IFACE=lo + # Disable sysfs cpu topology directory discovery. + export HWLOC_XMLFILE="@topology@" ;; MVAPICH) # Disable CPU pinning