Runtime error on AMRv7l
Created by: mmoelle1
I succeeded in compiling LIKWID (latest checkout of the master branch) on my Tegra TK1 (uname -a
reports Linux tegra3 3.10.40 #1 SMP PREEMPT Thu Nov 13 11:48:25 UTC 2014 armv7l armv7l armv7l GNU/Linux
). However, running any of the binaries yields the following error:
./likwid-topology
--------------------------------------------------------------------------------
CPU name: ARMv7 Processor rev 3 (v7l)
CPU type: ARM 7l architecture
CPU stepping: 0
********************************************************************************
Hardware Thread Topology
********************************************************************************
Sockets: 1
Cores per socket: 1
Threads per core: 1
--------------------------------------------------------------------------------
HWThread Thread Core Socket Available
0 0 0 0 *
--------------------------------------------------------------------------------
Socket 0: ( 0 )
--------------------------------------------------------------------------------
********************************************************************************
Cache Topology
********************************************************************************
********************************************************************************
NUMA Topology
********************************************************************************
No NUMA
*** Error in `/home/staff/matthias/gismo/extensions/gsCompFlow/tools/external/likwid/bin/likwid-lua': free(): invalid next size (fast): 0x00046bb0 ***
Aborted
Before considering this to be a 'bug' in LIKWID I first wanted to ask if the ARMv7l (!) platform is supported or not? The number of sockets is reported correctly but the cores per socket seem to be incorrect according to
cat /proc/cpuinfo
processor : 0
model name : ARMv7 Processor rev 3 (v7l)
Features : swp half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x3
CPU part : 0xc0f
CPU revision : 3
processor : 1
model name : ARMv7 Processor rev 3 (v7l)
Features : swp half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x3
CPU part : 0xc0f
CPU revision : 3
processor : 2
model name : ARMv7 Processor rev 3 (v7l)
Features : swp half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x3
CPU part : 0xc0f
CPU revision : 3
processor : 3
model name : ARMv7 Processor rev 3 (v7l)
Features : swp half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x3
CPU part : 0xc0f
CPU revision : 3
Hardware : jetson-tk1
Revision : 0000
Serial : 0177000003450000
Processor : ARMv7 Processor rev 3 (v7l)
I am more than happy to help debugging the problem and/or contributing to supporting the ARMv7l architecture.