From 7c2e1d99ed495266643505cbe0d5520473c822bc Mon Sep 17 00:00:00 2001 From: Howard Pritchard Date: Sat, 18 Jun 2016 15:06:47 -0500 Subject: [PATCH] common/ugni: help out knl with aries The way the gni btl is currently coded, it will run completely out of gas on KNL at 123 processes/node. Since there are bound to be those who try to run a MPI process/hyperthread on KNL nodes, the fma sharing mode needs to be requested. merge from open-mpi/ompi#1799 Signed-off-by: Howard Pritchard (cherry picked from commit open-mpi/ompi@8b53487977da03ad50978379497ece8653bc94e9) --- opal/mca/common/ugni/common_ugni.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/opal/mca/common/ugni/common_ugni.c b/opal/mca/common/ugni/common_ugni.c index 971868f360..2877d046d0 100644 --- a/opal/mca/common/ugni/common_ugni.c +++ b/opal/mca/common/ugni/common_ugni.c @@ -258,7 +258,8 @@ int opal_common_ugni_init (void) /* Create a communication domain */ modes = GNI_CDM_MODE_FORK_FULLCOPY | GNI_CDM_MODE_CACHED_AMO_ENABLED | - GNI_CDM_MODE_ERR_NO_KILL | GNI_CDM_MODE_FAST_DATAGRAM_POLL; + GNI_CDM_MODE_ERR_NO_KILL | GNI_CDM_MODE_FAST_DATAGRAM_POLL | + GNI_CDM_MODE_FMA_SHARED; /* collect uGNI information */ rc = get_ptag(&opal_common_ugni_module.ptag);