Skip to content

Commit 98893a5

Browse files
committed
Ensure we get our local topology
Restore missing call to get_topology - others were doing it in their components as repeated calls just return success, but let's ensure it is always present. Signed-off-by: Ralph Castain <[email protected]>
1 parent b3f0bc5 commit 98893a5

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

ompi/runtime/ompi_rte.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -747,6 +747,12 @@ int ompi_rte_init(int *pargc, char ***pargv)
747747
val = NULL;
748748
}
749749

750+
/* get our topology */
751+
if (OPAL_SUCCESS != (rc = opal_hwloc_base_get_topology())) {
752+
error = "hwloc_base_get_topology: failed";
753+
goto error;
754+
}
755+
750756
/* identify our location */
751757
val = NULL;
752758
OPAL_MODEX_RECV_VALUE_OPTIONAL(rc, PMIX_LOCALITY_STRING,

0 commit comments

Comments
 (0)