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);
>
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 this process is bound to one
or more PUs
On Mar 13, 2012, at 9:10 AM, Brice Goglin wrote:
>> More investigation shows that the code currently assumes group (and
>> processor) masks to be 32 bit, which is not true on 64 bit systems.
>
> No. What it assumes is that you have a sane compiler where ulong is not
> 32bits on 64bits systems :)
On Mar 13, 2012, at 7:37 AM, Hartmut Kaiser wrote:
>> FWIW, hwloc is working for me with a wide array of POSIX-ish compilers on
>> POSIX-ish platforms (albeit perhaps many of them are quite similar -- 64
>> bit systems on more-or-less modern-ish hardware). There's quite a degree
>> of