I want to install PAPI-3.7.1 on Ubuntu9.10 (according to http://spiral.cs.drexel.edu/wiki/Papi370Ubuntu910)
My cpu is Intel Pentium 4.
./configure --with-pcl --with-pcl-incdir=/usr/src/linux-headers-2.6.31-14/include/linux --prefix=/usr/local/papi-3.7.1
make
make test
Then I got this error:
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.
And when I run the high level interface example, I had an error at the start function.
I also tried 3.7.2 and 4.0.0, but I just got the same error.
What can I do now? Does PAPI support Pentium 4?
