Page 1 of 1

PAPI on Microsoft windows

PostPosted: Sat Feb 07, 2015 1:55 pm
by brushclearing
Hi,

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.

Re: PAPI on Microsoft windows

PostPosted: Fri Feb 13, 2015 11:34 am
by jagode00
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.

Heike