Hi folks I've written a wiki page explaining how OMPI handles HWLOC from inside the OMPI code base starting with OMPI v5. The link is on the home page under the Developer Documents (Accessing the HWLOC topology tree from inside the MPI/OPAL layers):
https://github.com/open-mpi/ompi/wiki/Accessing-the-HWLOC-topology-tree I've tried to capture the various scenarios under which we operate and explain (a) how we deal with it, (b) the various options that were considered, and (c) the thought process behind the eventual solution we used. Seemed like something worth capturing as I ride off into the sunset. Please let me know if there are things I should better clarify. Ralph