mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
mpiCheckPhaseHook: disable openmpi's ssh plugin
openmpi requires SSH to run. Set flags to run off SSH usage.
This commit is contained in:
parent
da466ad660
commit
6b6b6c3837
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user