Skip to content

Commit cf5ca14

Browse files
authored
Merge pull request #7547 from rhc54/topic/hwloc
Ensure we get our local topology
2 parents 391370a + 98893a5 commit cf5ca14

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)