mpiCheckPhaseHook: disable openmpi's ssh plugin

openmpi requires SSH to run. Set flags to run off SSH usage.
This commit is contained in:
Markus Kowalewski 2024-10-26 17:31:22 +02:00
parent da466ad660
commit 6b6b6c3837

View File

@ -6,7 +6,6 @@ setupMpiCheck() {
# Find out which MPI implementation we are using
# and set safe defaults that are guaranteed to run
# on any build machine
mpiType="NONE"
# OpenMPI signature
@ -41,6 +40,10 @@ setupMpiCheck() {
export OMPI_MCA_rmaps_base_oversubscribe=1
export PRTE_MCA_rmaps_default_mapping_policy=node:oversubscribe
# Make sure we do not need openssh in the checkPhase
export OMPI_MCA_plm_ssh_agent=false
export PRRTE_MCA_plm_ssh_agent=false
# Disable CPU pinning
export OMPI_MCA_hwloc_base_binding_policy=none
export PRTE_MCA_hwloc_default_binding_policy=none