RAPL PAPI Counters

RAPL PAPI Counters

Postby CarCar » Mon May 21, 2012 7:47 am

Dear all!

We are trying to compile PAPI 4.4.0 with RAPL interface as a component. We have downloaded the code from the repository, and we are using gcc/4.7

The code is not compiling and the error message is:

make[1]: Entering directory `/mnt/sys.x86_64/tools/papi/4.4.0/src/components/rapl/tests'
gcc -g -DSTATIC_PAPI_EVENTS_TABLE -DPEINCLUDE="libpfm4/include/perfmon/perf_event.h" -D_REENTRANT -D_GNU_SOURCE -DUSE_COMPILER_TLS -Wall -I/mnt/sys.x86_64/tools/papi/4.4.0/src/libpfm4/include -DSUBSTRATE_USES_LIBPFM -DSUBSTRATE_NAME_perf_events -W -I../../../testlib -I../../.. -I. -c rapl_basic.c -o rapl_basic.o -DBASIC_TEST=1
rapl_basic.c: In function ‘main’:
rapl_basic.c:161:34: error: ‘PAPI_event_info_t’ has no member named ‘units’
make[1]: *** [rapl_basic.o] Error 1

We appreciate your help!
Posts: 2
Joined: Mon May 21, 2012 6:40 am

Re: RAPL PAPI Counters

Postby danterpstra » Mon May 21, 2012 1:57 pm

The RAPL component takes advantage of features in the development branch of PAPI.
You can download this version of PAPI with the following git command:
git clone https://icl.cs.utk.edu/git/papi.git

Return to Component PAPI (PAPI-C) (read-only)

Who is online

Users browsing this forum: No registered users and 1 guest