Allow the user to turn off the oversubscribed-binding warning if overload-allowed has been provided
Refs trac:4317 This commit was SVN r30892. The following Trac tickets were found above: Ticket 4317 --> https://svn.open-mpi.org/trac/ompi/ticket/4317
Этот коммит содержится в:
родитель
1bda304a35
Коммит
88b0e0cc6d
@ -285,3 +285,5 @@ number of slots:
|
||||
This creates an oversubscribed condition that may adversely
|
||||
impact performance when combined with the requested binding
|
||||
operation. We will continue, but will not bind the processes.
|
||||
This warning can be omitted by adding the "overload-allowed"
|
||||
qualifier to the binding policy.
|
||||
|
@ -66,8 +66,9 @@ int orte_rmaps_rr_byslot(orte_job_t *jdata,
|
||||
* we really should warn the user that we cannot bind
|
||||
*/
|
||||
if (OPAL_BINDING_POLICY_IS_SET(jdata->map->binding)) {
|
||||
if (OPAL_BIND_TO_CORE == OPAL_GET_BINDING_POLICY(opal_hwloc_binding_policy) ||
|
||||
OPAL_BIND_TO_HWTHREAD == OPAL_GET_BINDING_POLICY(opal_hwloc_binding_policy)) {
|
||||
if ((OPAL_BIND_TO_CORE == OPAL_GET_BINDING_POLICY(jdata->map->binding) ||
|
||||
OPAL_BIND_TO_HWTHREAD == OPAL_GET_BINDING_POLICY(jdata->map->binding)) &&
|
||||
!OPAL_BIND_OVERLOAD_ALLOWED(jdata->map->binding)){
|
||||
orte_show_help("help-orte-rmaps-base.txt", "orte-rmaps-base:oversubscribed",
|
||||
true, num_slots, app->num_procs * orte_rmaps_base.cpus_per_rank);
|
||||
}
|
||||
@ -247,8 +248,9 @@ int orte_rmaps_rr_bynode(orte_job_t *jdata,
|
||||
* we really should warn the user that we cannot bind
|
||||
*/
|
||||
if (OPAL_BINDING_POLICY_IS_SET(jdata->map->binding)) {
|
||||
if (OPAL_BIND_TO_CORE == OPAL_GET_BINDING_POLICY(opal_hwloc_binding_policy) ||
|
||||
OPAL_BIND_TO_HWTHREAD == OPAL_GET_BINDING_POLICY(opal_hwloc_binding_policy)) {
|
||||
if ((OPAL_BIND_TO_CORE == OPAL_GET_BINDING_POLICY(jdata->map->binding) ||
|
||||
OPAL_BIND_TO_HWTHREAD == OPAL_GET_BINDING_POLICY(jdata->map->binding)) &&
|
||||
!OPAL_BIND_OVERLOAD_ALLOWED(jdata->map->binding)){
|
||||
orte_show_help("help-orte-rmaps-base.txt", "orte-rmaps-base:oversubscribed",
|
||||
true, num_slots, app->num_procs * orte_rmaps_base.cpus_per_rank);
|
||||
}
|
||||
@ -501,8 +503,9 @@ int orte_rmaps_rr_byobj(orte_job_t *jdata,
|
||||
* we really should warn the user that we cannot bind
|
||||
*/
|
||||
if (OPAL_BINDING_POLICY_IS_SET(jdata->map->binding)) {
|
||||
if (OPAL_BIND_TO_CORE == OPAL_GET_BINDING_POLICY(opal_hwloc_binding_policy) ||
|
||||
OPAL_BIND_TO_HWTHREAD == OPAL_GET_BINDING_POLICY(opal_hwloc_binding_policy)) {
|
||||
if ((OPAL_BIND_TO_CORE == OPAL_GET_BINDING_POLICY(jdata->map->binding) ||
|
||||
OPAL_BIND_TO_HWTHREAD == OPAL_GET_BINDING_POLICY(jdata->map->binding)) &&
|
||||
!OPAL_BIND_OVERLOAD_ALLOWED(jdata->map->binding)){
|
||||
orte_show_help("help-orte-rmaps-base.txt", "orte-rmaps-base:oversubscribed",
|
||||
true, num_slots, app->num_procs * orte_rmaps_base.cpus_per_rank);
|
||||
}
|
||||
@ -645,8 +648,9 @@ static int byobj_span(orte_job_t *jdata,
|
||||
* we really should warn the user that we cannot bind
|
||||
*/
|
||||
if (OPAL_BINDING_POLICY_IS_SET(jdata->map->binding)) {
|
||||
if (OPAL_BIND_TO_CORE == OPAL_GET_BINDING_POLICY(opal_hwloc_binding_policy) ||
|
||||
OPAL_BIND_TO_HWTHREAD == OPAL_GET_BINDING_POLICY(opal_hwloc_binding_policy)) {
|
||||
if ((OPAL_BIND_TO_CORE == OPAL_GET_BINDING_POLICY(jdata->map->binding) ||
|
||||
OPAL_BIND_TO_HWTHREAD == OPAL_GET_BINDING_POLICY(jdata->map->binding)) &&
|
||||
!OPAL_BIND_OVERLOAD_ALLOWED(jdata->map->binding)){
|
||||
orte_show_help("help-orte-rmaps-base.txt", "orte-rmaps-base:oversubscribed",
|
||||
true, num_slots, app->num_procs * orte_rmaps_base.cpus_per_rank);
|
||||
}
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user