Skip to content

Commit

Permalink
Merge pull request open-mpi#5775 from karasevb/check_old_topo_key
Browse files Browse the repository at this point in the history
pmix: check the old topo key to keep compatibility with old RMs
  • Loading branch information
Ralph Castain authored Oct 2, 2018
2 parents d923803 + ed42f56 commit fcc1d30
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions opal/mca/hwloc/base/hwloc_base_util.c
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,11 @@ int opal_hwloc_base_get_topology(void)
OPAL_MODEX_RECV_VALUE_IMMEDIATE(rc, OPAL_PMIX_HWLOC_XML_V1,
&wildcard_rank, &val, OPAL_STRING);
#endif
if (rc != OPAL_SUCCESS) {
/* check the old topo key to keep compatibility with older RMs */
OPAL_MODEX_RECV_VALUE_OPTIONAL(rc, OPAL_PMIX_LOCAL_TOPO,
&wildcard_rank, &val, OPAL_STRING);
}
} else {
opal_output_verbose(1, opal_hwloc_base_framework.framework_output,
"hwloc:base PMIx not available");
Expand Down

0 comments on commit fcc1d30

Please sign in to comment.