Le 22/03/2012 23:33, Daniel Ibanez a écrit :
> I've run this test  before (didnt keep the results but can run it again).
> I got debug output and compared it with the output from a hwloc test
> executable
> and I noticed that my program did not show any PU objects were discovered.
> In my program the first discovered topology is just a Machine object,
> but in the hwloc program its a Machine object and 64 PU objects.
> something went wrong in PU detection...

If I am reading your output correctly, all PUs are created by
setup_pu_level() depending on the return value of
hwloc_fallback_nbprocessors() defined in src/topology.c. Any chance you
add some printf there to understand what's going on?
hwloc_fallback_nbprocessors() would likely return 64 when things work
and 0 otherwise here.

Brice

Reply via email to