Skip to content

Commit

Permalink
Update report of bindings
Browse files Browse the repository at this point in the history
Provide --report-bindings output as per @markalle's description. This
carrys the functionality in the cited PR to PRRTE, modified to conform
to OMPI/PRRTE coding standards. I also eliminated having two different
ways of reporting the bindings so we don't confuse users.

Note that the PRRTE daemons now do intake the WHOLE_SYSTEM version of
the topology tree to ensure we are accurately reporting what cpus are
present on the node vs available to us. Daemons always use the summary
we create for each object when mapping, and the summary only contains
available cpus, so no harm done there.

Refs open-mpi/ompi#6760

Signed-off-by: Ralph Castain <[email protected]>
  • Loading branch information
rhc54 committed Dec 31, 2019
1 parent 2426861 commit 1bef183
Show file tree
Hide file tree
Showing 3 changed files with 243 additions and 159 deletions.
1 change: 0 additions & 1 deletion src/hwloc/hwloc-internal.h
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,6 @@ PRRTE_EXPORT int prrte_hwloc_base_topology_export_xmlbuffer(hwloc_topology_t top

PRRTE_EXPORT int prrte_hwloc_base_topology_set_flags (hwloc_topology_t topology, unsigned long flags, bool io);


PRRTE_EXPORT int prrte_hwloc_base_open(void);
PRRTE_EXPORT void prrte_hwloc_base_close(void);
PRRTE_EXPORT int prrte_hwloc_base_register(void);
Expand Down
Loading

0 comments on commit 1bef183

Please sign in to comment.