1
1

Protect the binding policy setting so it builds when --without-hwloc

Refs trac:4742

This commit was SVN r32085.

The following Trac tickets were found above:
  Ticket 4742 --> https://svn.open-mpi.org/trac/ompi/ticket/4742
Этот коммит содержится в:
Ralph Castain 2014-06-25 18:13:54 +00:00
родитель 72f1c7941f
Коммит 8fca77c3d3

Просмотреть файл

@ -515,8 +515,10 @@ static int orte_rmaps_base_open(mca_base_open_flag_t flags)
}
ORTE_UNSET_MAPPING_DIRECTIVE(orte_rmaps_base.mapping, ORTE_MAPPING_NO_OVERSUBSCRIBE);
ORTE_SET_MAPPING_DIRECTIVE(orte_rmaps_base.mapping, ORTE_MAPPING_SUBSCRIBE_GIVEN);
#if OPAL_HAVE_HWLOC
/* also set the overload allowed flag */
opal_hwloc_binding_policy |= OPAL_BIND_ALLOW_OVERLOAD;
#endif
}
/* should we display a detailed (developer-quality) version of the map after determining it? */