Hello,
I'm trying to get hwloc working on a Power6, AIX machine. compilation goes well and the lstopo program works fine. However the hwloc-hello.c program return an error when trying to bind a thread. This happens with hwloc version 1.0, version 1.1a1r2215 and version 1.1a1r2219M.

Here's the last few lines from the hwloc-hello output (I just removed the messages related to the system topology):

*** The number of sockets is unknown
*** Logical processor 0 has 1 caches totaling 0KB
Couldn't bind to cpuset 0xc0000000,0x0
--> Error 0

The last line prints the output of strerror(errno).

Details of my machine:

$ uname -a
AIX vargas043 3 5 00CFEBE14C00




$ lstopo -v

Machine (phys=0)
  NUMANode #0 (phys=0)
    L2Cache #0 (phys=0 0KB line=0)
      Core #0 (phys=0)
        PU #0 (phys=0)
        PU #1 (phys=1)
      Core #1 (phys=1)
        PU #2 (phys=2)
        PU #3 (phys=3)
    L2Cache #1 (phys=1 0KB line=0)
      Core #2 (phys=2)
        PU #4 (phys=4)
        PU #5 (phys=5)
      Core #3 (phys=3)
        PU #6 (phys=6)
        PU #7 (phys=7)
    L2Cache #2 (phys=2 0KB line=0)
      Core #4 (phys=4)
        PU #8 (phys=8)
        PU #9 (phys=9)
      Core #5 (phys=5)
        PU #10 (phys=10)
        PU #11 (phys=11)
    L2Cache #3 (phys=3 0KB line=0)
      Core #6 (phys=6)
        PU #12 (phys=12)
        PU #13 (phys=13)
      Core #7 (phys=7)
        PU #14 (phys=14)
        PU #15 (phys=15)
  NUMANode #1 (phys=1)
    L2Cache #4 (phys=4 0KB line=0)
      Core #8 (phys=8)
        PU #16 (phys=16)
        PU #17 (phys=17)
      Core #9 (phys=9)
        PU #18 (phys=18)
        PU #19 (phys=19)
    L2Cache #5 (phys=5 0KB line=0)
      Core #10 (phys=10)
        PU #20 (phys=20)
        PU #21 (phys=21)
      Core #11 (phys=11)
        PU #22 (phys=22)
        PU #23 (phys=23)
    L2Cache #6 (phys=6 0KB line=0)
      Core #12 (phys=12)
        PU #24 (phys=24)
        PU #25 (phys=25)
      Core #13 (phys=13)
        PU #26 (phys=26)
        PU #27 (phys=27)
    L2Cache #7 (phys=7 0KB line=0)
      Core #14 (phys=14)
        PU #28 (phys=28)
        PU #29 (phys=29)
      Core #15 (phys=15)
        PU #30 (phys=30)
        PU #31 (phys=31)
  NUMANode #2 (phys=2)
    L2Cache #8 (phys=8 0KB line=0)
      Core #16 (phys=16)
        PU #32 (phys=32)
        PU #33 (phys=33)
      Core #17 (phys=17)
        PU #34 (phys=34)
        PU #35 (phys=35)
    L2Cache #9 (phys=9 0KB line=0)
      Core #18 (phys=18)
        PU #36 (phys=36)
        PU #37 (phys=37)
      Core #19 (phys=19)
        PU #38 (phys=38)
        PU #39 (phys=39)
    L2Cache #10 (phys=10 0KB line=0)
      Core #20 (phys=20)
        PU #40 (phys=40)
        PU #41 (phys=41)
      Core #21 (phys=21)
        PU #42 (phys=42)
        PU #43 (phys=43)
    L2Cache #11 (phys=11 0KB line=0)
      Core #22 (phys=22)
        PU #44 (phys=44)
        PU #45 (phys=45)
      Core #23 (phys=23)
        PU #46 (phys=46)
        PU #47 (phys=47)
  NUMANode #3 (phys=3)
    L2Cache #12 (phys=12 0KB line=0)
      Core #24 (phys=24)
        PU #48 (phys=48)
        PU #49 (phys=49)
      Core #25 (phys=25)
        PU #50 (phys=50)
        PU #51 (phys=51)
    L2Cache #13 (phys=13 0KB line=0)
      Core #26 (phys=26)
        PU #52 (phys=52)
        PU #53 (phys=53)
      Core #27 (phys=27)
        PU #54 (phys=54)
        PU #55 (phys=55)
    L2Cache #14 (phys=14 0KB line=0)
      Core #28 (phys=28)
        PU #56 (phys=56)
        PU #57 (phys=57)
      Core #29 (phys=29)
        PU #58 (phys=58)
        PU #59 (phys=59)
    L2Cache #15 (phys=15 0KB line=0)
      Core #30 (phys=30)
        PU #60 (phys=60)
        PU #61 (phys=61)
      Core #31 (phys=31)
        PU #62 (phys=62)
        PU #63 (phys=63)
depth 0:        1 Machine (type #1)
 depth 1:       4 NUMANodes (type #2)
  depth 2:      16 Caches (type #4)
   depth 3:     32 Cores (type #5)
    depth 4:    64 PUs (type #6)




Thanks

Alfredo

Reply via email to