PAPI on Microsoft windows

Open discussion of PAPI.

PAPI on Microsoft windows

Postby brushclearing » Sat Feb 07, 2015 1:55 pm


I am trying to use papi to get access to CPU hw counters. Despite a lot of efforts I am not able to build/compile papi on windows. Can somebody provide step-by-step procedure (or a web link ) to install/build and then use papi on windows XP? Please help. I have tried building projects using visual c++ but it gives a lot of errors. Although I could build and run the winpmc.sys driver and testpmc vc++ project successfully. But winpapi VC++ project gives a lot of errors.

I am a google soc student working for tcl and I need to use papi in my project. Using papi on linux was very easy but with windows it seems to be difficult as I could not get any proper documentation.
Posts: 1
Joined: Sat Feb 07, 2015 1:54 pm

Re: PAPI on Microsoft windows

Postby jagode00 » Fri Feb 13, 2015 11:34 am

PAPI 3.7 was the last version of PAPI to build with Visual C++.
Between now and then, support for Windows has been discontinued, and as far as I know, Windows 2003/Vista was the last version that we test PAPI on.

The latest PAPI release version (5.4.0) does not currently build/run on any windows platforms (due to compiler issues). Also, in the latest version there are no components (the major change from
papi 3 to papi 4) that target Windows.

Having said all that, if the PAPI version 3.7 meets your needs then it would be worth to give this version a try.

Posts: 41
Joined: Tue Aug 25, 2009 2:12 pm

Return to General discussion (read-only)

Who is online

Users browsing this forum: No registered users and 1 guest