Open MPI logo

Hardware Locality Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Hardware Locality Development mailing list

Subject: Re: [hwloc-devel] Bug report: hwloc topology broken when restricted to cpusets
From: Brice Goglin (Brice.Goglin_at_[hidden])
Date: 2010-07-13 10:12:28


Le 13/07/2010 12:04, Brice Goglin a écrit :
> Le 13/07/2010 11:56, Bernd Kallies a écrit :
>
>> Thanks for the quick reply.
>>
>> I expect that one can safely use the tree-traversing functions of the
>> hwloc API with a topology, that is returned by hwloc_topology_load. When
>> they crash, then the topology is broken. This should not happen.
>>
>>
> Sure, this is a bug, the depth field of PU#4 is wrong, it breaks
> hwloc_get_common_ancestor_obj(), I am looking into it.
>

It was actually a bug inside hwloc_get_common_ancestor_obj(, it did not
support such strange topologies properly. Fixed in trunk r2312 and v1.0
branch r2313 (will be in 1.0.2).

thanks,
Brice