Re: [hwloc-users] lstopo hangs for centos 7

2016-01-31 Thread Brice Goglin
Hello Thanks for the report. I have never seen this issue. I have CentOS 7 VMs (kvm), lstopo works fine. Did you try this in similar VMs in the past? When you say "latest hwloc", do you mean "build latest tarball" (1.11.2) or "installed latest centos package" (1.7)? First thing to check: run

Re: [hwloc-users] lstopo hangs for centos 7

2016-01-31 Thread Jianjun Wen
Hi Brice Thanks for the reply. I use yum install hwloc to install it. The cpu usage is 100%. I got this after Ctrl + C, and c, several times: 0x77bce13c in look_proc () from /lib64/libhwloc.so.5 Always the same place. On Sun, Jan 31, 2016 at 12:29 AM, Brice Goglin

Re: [hwloc-users] lstopo hangs for centos 7

2016-01-31 Thread Jianjun Wen
I just realize that yum on centos 7 use hwloc version 1.7. I Downloaded 1.11.2 version source, built and install. Still hangs. 0x77bcb32c in hwloc_x86_cpuid (edx=, ecx=, ebx=0x7fffdbec, eax=) at /home/wen/Downloads/hwloc-1.11.2/include/private/cpuid-x86.h:67 67 __asm__( On

Re: [hwloc-users] lstopo hangs for centos 7

2016-01-31 Thread Jianjun Wen
I did a debug build. Found it loops forever in this loop in topology-x86.c:404. /* Get package/core/thread information from cpuid 0x0b * (Intel x2APIC) */ if (cpuid_type == intel && has_x2apic(features)) { unsigned level, apic_nextshift, apic_number, apic_type, apic_id = 0,