Gwinel / likwid

Automatically exported from code.google.com/p/likwid
GNU General Public License v3.0
0 stars 0 forks source link

Topology code does not distinguish between NUMA node and CPU socket #154

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Login to a maschine with one NUMA node but two sockets
2. Activate hwloc in config.mk
3. Build libwid (cd src/libwid && make)
4. Run test script (attached)
5. Deactivate hwloc in config.mk
3. Build libwid (cd src/libwid && make)
4. Run test script (attached)

What is the expected output? What do you see instead?
"Old" topology code prints 1 NUMA node with 8 CPUs, HWLOC topology code prints 
1 NUMA node with 4 CPUs. 
HWLOC does not realize the single NUMA node, instead it manages only the 
sockets internally in the HWLOC-tree. 

Original issue reported on code.google.com by Thomas.R...@googlemail.com on 14 May 2014 at 1:56

GoogleCodeExporter commented 9 years ago
Attached test script.

Compile with:
export LIKWID_BASE=<path to LIKWID>
gcc -pthread -I${LIKWID_BASE}/ext/hwloc/include 
-I${LIKWID_BASE}/src/libwid/includes -I${LIKWID_BASE}/GCC test_libwid.c 
liblibwid.a ${LIKWID_BASE}/ext/hwloc/libhwloc.a -o test_libwid -lm

Original comment by Thomas.R...@googlemail.com on 14 May 2014 at 1:59

Attachments:

GoogleCodeExporter commented 9 years ago
This issue was closed by revision 6a49bc191383.

Original comment by Thomas.R...@googlemail.com on 15 May 2014 at 10:07