I have also seen you recent change:==========================
--list <type|depth>
and replaces
--nodelist with --list numanode (still supported but undocumented)
It should work for core and socket as well.
==========================
I have downloaded hwloc-1.1a1r2290.tar.bz2 but apparently the modification is not there yet. If I get right you have implemented following, right?
I have few suggestions regarding error handling in hwloc-calc 1.0.1:=====================================================
hwloc-calc --nodelist --physical proc:0
=> gives nothing back on systems without NUMA. I would expect some sort of error message on stderr.
hwloc-calc --nodelist --physical proc:120
=>gives nothing back. On that system, there is NUMA but only 64 processors. I would expect error message "proc:120 does not exist" reported on stderr.