Skip to content

Commit 26e882c

Browse files
author
rhc54
committed
Merge pull request #1300 from ggouaillardet/topic/oversubscribe
orte_rmaps_base_map_job: set OPAL_BIND_ALLOW_OVERLOAD when needed
2 parents 3858bc8 + 4c43fb2 commit 26e882c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

orte/mca/rmaps/base/rmaps_base_map_job.c

+5
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
* Copyright (c) 2011-2012 Los Alamos National Security, LLC.
1414
* All rights reserved.
1515
* Copyright (c) 2014-2015 Intel, Inc. All rights reserved.
16+
* Copyright (c) 2016 Research Organization for Information Science
17+
* and Technology (RIST). All rights reserved.
1618
* $COPYRIGHT$
1719
*
1820
* Additional copyrights may follow
@@ -318,6 +320,9 @@ void orte_rmaps_base_map_job(int fd, short args, void *cbdata)
318320
OPAL_SET_DEFAULT_BINDING_POLICY(jdata->map->binding, OPAL_BIND_TO_SOCKET);
319321
}
320322
}
323+
if (OPAL_BIND_OVERLOAD_ALLOWED(opal_hwloc_binding_policy)) {
324+
jdata->map->binding |= OPAL_BIND_ALLOW_OVERLOAD;
325+
}
321326
}
322327
}
323328

0 commit comments

Comments
 (0)