Re: [hwloc-users] Using distances

2012-04-21 Thread Brice Goglin
On 21/04/2012 13:15, Jeffrey Squyres wrote: On Apr 21, 2012, at 7:09 AM, Brice Goglin wrote: I assume you have the entire distance (latency) matrix between all NUMA nodes as usually reported by the BIOS. const struct hwloc_distance_s *distances =

Re: [hwloc-users] Using distances

2012-04-21 Thread Jeffrey Squyres
On Apr 21, 2012, at 7:09 AM, Brice Goglin wrote: > I assume you have the entire distance (latency) matrix between all NUMA nodes > as usually reported by the BIOS. > > const struct hwloc_distance_s *distances = > hwloc_get_whole_distance_matrix_by_type(topology, HWLOC_OBJ_NODE); >

Re: [hwloc-users] Using distances

2012-04-21 Thread Brice Goglin
On 21/04/2012 12:23, Jeffrey Squyres wrote: I'm trying to use hwloc distances in Open MPI (e.g., find the distance from each OpenFabrics device to the PU(s) where this process is bound), and I'm a bit confused by the distances documentation. If I have a WHOLE_SYSTEM topology, and I know that