diff --git a/ompi/runtime/ompi_rte.c b/ompi/runtime/ompi_rte.c index 66a2db21ed..b5b7a37b56 100644 --- a/ompi/runtime/ompi_rte.c +++ b/ompi/runtime/ompi_rte.c @@ -747,6 +747,12 @@ int ompi_rte_init(int *pargc, char ***pargv) val = NULL; } + /* get our topology */ + if (OPAL_SUCCESS != (rc = opal_hwloc_base_get_topology())) { + error = "hwloc_base_get_topology: failed"; + goto error; + } + /* identify our location */ val = NULL; OPAL_MODEX_RECV_VALUE_OPTIONAL(rc, PMIX_LOCALITY_STRING,