Current PAPI Software and Patches
Just in case there's any confusion on what to do with the PAPI software patches, the following instructions will step you through the process:
- Download the patch file. Some browsers will simply open and display this file, so you may need to do a "Save As...". Use the filename displayed in the url. Example: papi400patch1.diff
- Download, unzip and untar the zipped tarball of interest. Example: papi-4.0.0.tar.gz.
- Copy the diff file into the papi directory and cd to it.
- Apply the patch. Example: patch -p1 < papi400patch1.diff
Note that these patches are cumulative against the base release, but only one patch can be applied.
PAPI 3.7.2 Release
If you've been having trouble installing PAPI on the new Linux kernels (2.6.31 and 2.6.32) you might want to check out the new PAPI 3.7.2 release.
Thanks to an update error in the tarball, PAPI 3.7.1 did not have the promise automatic configuration support for the 2.6.31 kernel. While fixing that, we also added clean support for the 2.6.32 kernel and the name change from perf_counter to perf_event
As with PAPI 3.7.1, if PAPI 3.7.0 is working fine for you, there’s no pressing reason to upgrade.
In addition to improved support for the new kernels, we also:
- fixed and updated some last level cache size issues on recent AMD and Intel processors,
- hardened some of the multiplexing tests so they won't fail as easily,
- and added a spec file for easier production of rpms.
For a summary of changes, read the PAPI 3.7.2 Release
And for installation instructions read the Installation
Source Code Repository
If you would like to interactively browse the PAPI source code, go to the Web based source browser here:
This source browser is also accessible through the Trac bug reporting system or directly through the Browse Source link in the menu to the left.
You can also stay up to date directly by cloning a copy of our git Source Code Repository
Make sure git is installed on your machine. You can download a copy here.
Download the PAPI repository the first time with the following command:
> git clone https://icl.cs.utk.edu/git/papi.git
This creates a complete copy of the papi git repository on your computer in a folder called 'papi'.
To make sure your copy is up to date with the repository:
> cd papi
> git pull https://icl.cs.utk.edu/git/papi.git
Copyright © 2013 The University of Tennessee. All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
· Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
· Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer listed in this license in the documentation and/or other materials provided with the distribution.
· Neither the name of the copyright holders nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
This software is provided by the copyright holders and contributors "as is" and any express or implied warranties, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose are disclaimed. in no event shall the copyright owner or contributors be liable for any direct, indirect, incidental, special, exemplary, or consequential damages (including, but not limited to, procurement of substitute goods or services; loss of use, data, or profits; or business interruption) however caused and on any theory of liability, whether in contract, strict liability, or tort (including negligence or otherwise) arising in any way out of the use of this software, even if advised of the possibility of such damage.