make test faild for PAPI 4.1.0 on Ubuntu 10.04

Open discussion of PAPI.

make test faild for PAPI 4.1.0 on Ubuntu 10.04

Postby bitsunnyday » Wed Sep 15, 2010 9:33 am

I followed the instructions to configure and make PAPI 4.1.0. When I tried "make test", I got the following error.

zuoqi@zuoqi-desktop:~/papi-4.1.0/src$ make test
cd ctests; make CC="gcc" CC_R="gcc -pthread" CFLAGS="-I.. -g -DSTATIC_PAPI_EVENTS_TABLE -DSYNC_READ -DPEINCLUDE=\"/usr/src/linux-headers-2.6.32-21/include/linux//perf_event.h\" -D_REENTRANT -D_GNU_SOURCE -Wall -DUSE_COMPILER_TLS -I/home/zuoqi/papi-4.1.0/src/libpfm-3.y/include -DSUBSTRATE_USES_LIBPFM -Wextra -DPAPI_NO_MEMORY_MANAGEMENT" TOPTFLAGS="-O0" SMPCFLGS="" OMPCFLGS="-fopenmp" NOOPT="" LDFLAGS=" " LIBRARY="../libpapi.a" papi_api serial forkexec_tests overflow_tests profile_tests attach multiplex_and_pthreads shared ear
make[1]: Entering directory `/home/zuoqi/papi-4.1.0/src/ctests'
make[1]: Nothing to be done for `papi_api'.
make[1]: Nothing to be done for `serial'.
make[1]: Nothing to be done for `forkexec_tests'.
make[1]: Nothing to be done for `overflow_tests'.
make[1]: Nothing to be done for `profile_tests'.
make[1]: Nothing to be done for `attach'.
make[1]: Nothing to be done for `multiplex_and_pthreads'.
make[1]: Nothing to be done for `shared'.
make[1]: Nothing to be done for `ear'.
make[1]: Leaving directory `/home/zuoqi/papi-4.1.0/src/ctests'
ctests/zero
PAPI Error: sys_perf_counter_open returned error on event #0. Unix says, Operation not permitted.
PAPI_FP_INS is not available.
PAPI Error: sys_perf_counter_open returned error on event #0. Unix says, Operation not permitted.
PAPI_TOT_CYC is not available.
zero.c FAILED
Line # 64
Error in PAPI_start: PAPI_EINVAL

Test case 0: start, stop.
-----------------------------------------------
Default domain is: 1 (PAPI_DOM_USER)
Default granularity is: 1 (PAPI_GRN_THR)
Using 20000000 iterations of c += a*b
-------------------------------------------------------------------------
Test type : 1
PAPI_FP_INS : 4618551301387084784
Real usec : 152148
Real cycles : 547798896
Virt usec : 150468
Virt cycles : 541688400
-------------------------------------------------------------------------
Verification: none
make: *** [test] Error 1

I tried other configurations such as --with-perf-events and --with-pe-incdir=/usr/src/linux-headers-2.6.32-21/include/linux/
However, nothing helped.

I'm really confused. Could anyone give me a hand?

Thanks a lot!
bitsunnyday
 
Posts: 2
Joined: Wed Sep 15, 2010 9:23 am

Re: make test faild for PAPI 4.1.0 on Ubuntu 10.04

Postby bitsunnyday » Sat Jan 15, 2011 4:42 am

I think the problem may be that the Linux system on my computer doesn't support PAPI to read performance counters of my CPU.
bitsunnyday
 
Posts: 2
Joined: Wed Sep 15, 2010 9:23 am

Re: make test faild for PAPI 4.1.0 on Ubuntu 10.04

Postby vweaver1 » Tue Jan 18, 2011 1:54 pm

what kind of processor do you have? Are you running on real hardware, or inside of a VM?
vweaver1
 
Posts: 50
Joined: Wed Feb 17, 2010 4:02 pm


Return to General discussion

Who is online

Users browsing this forum: Google [Bot] and 11 guests

cron