Help! PAPI 3.7.* on Ubuntu 9.10

Open discussion of PAPI.

Help! PAPI 3.7.* on Ubuntu 9.10

Postby nadbp » Mon Feb 15, 2010 12:16 am

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?
nadbp
 
Posts: 3
Joined: Mon Feb 15, 2010 12:14 am

Re: Help! PAPI 3.7.* on Ubuntu 9.10

Postby Dan Terpstra » Mon Feb 15, 2010 11:33 am

The problem is that the perf_events (pcl) interface in the latest kernels doesn't support Pentium 4 (and likely never will). To use PAPI, you will need to patch your kernel with perfctr and build PAPI on that interface.
Dan Terpstra
 
Posts: 57
Joined: Mon Aug 24, 2009 5:42 pm

Re: Help! PAPI 3.7.* on Ubuntu 9.10

Postby nadbp » Sun Feb 28, 2010 10:54 pm

Dan Terpstra wrote:The problem is that the perf_events (pcl) interface in the latest kernels doesn't support Pentium 4 (and likely never will). To use PAPI, you will need to patch your kernel with perfctr and build PAPI on that interface.


Where can I find the list of processors supported by this interface? Is pcl its name? I did not find helpful information on the Internet. Can you help me?
Thank you very much!
nadbp
 
Posts: 3
Joined: Mon Feb 15, 2010 12:14 am

Re: Help! PAPI 3.7.* on Ubuntu 9.10

Postby vweaver1 » Tue Mar 02, 2010 6:30 pm

The 2.6.31 kernel (that comes with Ubuntu 9.10) supports most Intel and AMD machines made in the past 10 years. The exceptions are Pentium 4, Pentium M, and some just-released chips.

The 2.6.33 kernel that was just released has support for Pentium M systems.

There has been some initial work on Pentium 4 support posted to the linux-kernel mailing list, but it likely will not be available for some time, if at all.
vweaver1
 
Posts: 50
Joined: Wed Feb 17, 2010 4:02 pm


Return to General discussion

Who is online

Users browsing this forum: No registered users and 2 guests