Problems with PAPI-4.2.0

Open discussion of PAPI.

Problems with PAPI-4.2.0

Postby tecnicosPT » Wed Jul 03, 2013 6:21 am

Hi,

I have compiled PAPI-4.2.0 in a Scientific Linux 6.4 x86_64 with kernel 2.6.32-358.2.1.el6.x86_64.
My configure options was: ./configure --prefix=/soft/papi-4.2.0 --with-perf-events --with-perfctr
After "configure", "make" and "make install".

After that, if as non-root user try to execute "papi_event_chooser NATIVE PAPI_TOT_INS PAPI_TOT_CYC PAPI_L2_DCM" I get this error:
[*]Event Chooser: Available events which can be added with given events.
--------------------------------------------------------------------------------
PAPI Version : 4.2.0.0
Vendor string and code : GenuineIntel (1)
Model string and code : Intel(R) Xeon(R) CPU 5160 @ 3.00GHz (15)
CPU Revision : 6.000000
CPUID Info : Family: 6 Model: 15 Stepping: 6
CPU Megahertz : 1992.000000
CPU Clock Megahertz : 1992
Hdw Threads per core : 1
Cores per Socket : 2
NUMA Nodes : 1
CPU's per Node : 4
Total CPU's : 4
Number Hardware Counters : 5
Max Multiplex Counters : 64
--------------------------------------------------------------------------------

Event PAPI_L2_DCM can't be counted with others

Kernel modules:
#
# Kernel Performance Events And Counters
#
CONFIG_PERF_EVENTS=y
CONFIG_EVENT_PROFILE=y
CONFIG_PERF_COUNTERS=y
# CONFIG_DEBUG_PERF_USE_VMALLOC is not set
CONFIG_VM_EVENT_COUNTERS=y
CONFIG_PCI_QUIRKS=y
# CONFIG_COMPAT_BRK is not set
CONFIG_SLAB=y
# CONFIG_SLUB is not set
# CONFIG_SLOB is not set
CONFIG_PROFILING=y
CONFIG_TRACEPOINTS=y
CONFIG_OPROFILE=m
CONFIG_OPROFILE_EVENT_MULTIPLEX=y
CONFIG_HAVE_OPROFILE=y
CONFIG_KPROBES=y
CONFIG_OPTPROBES=y
CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y
CONFIG_KRETPROBES=y
CONFIG_USER_RETURN_NOTIFIER=y
CONFIG_HAVE_IOREMAP_PROT=y
CONFIG_HAVE_KPROBES=y
CONFIG_HAVE_KRETPROBES=y
CONFIG_HAVE_OPTPROBES=y
CONFIG_HAVE_ARCH_TRACEHOOK=y
CONFIG_HAVE_DMA_ATTRS=y
CONFIG_HAVE_DMA_API_DEBUG=y
CONFIG_HAVE_USER_RETURN_NOTIFIER=y
CONFIG_HAVE_PERF_EVENTS_NMI=y
CONFIG_ARCH_HAVE_NMI_SAFE_CMPXCHG=y


After "make install", /dev/perfctr not exist. Although I create it with "mknod", execution of "papi_event_chooser NATIVE PAPI_TOT_INS PAPI_TOT_CYC PAPI_L2_DCM" give the same error: Event PAPI_L2_DCM can't be counted with others

I have run the same test with PAPI-5.1.0 and get the same error. However, in a virtual machine works OK (both PAPI versions)

Must I patch the kernel?

Thanks.
tecnicosPT
 
Posts: 3
Joined: Wed Jul 03, 2013 5:54 am

Return to General discussion

Who is online

Users browsing this forum: Bing [Bot] and 1 guest

cron