PAPI on Mira/Cetus/Vesta

Help Desk

Hours: 9:00am-5:00pm CT M-F
Email: support@alcf.anl.gov

Mira/Cetus/Vesta

References

Introduction

The Performance Application Programming Interface (PAPI) provides a standardized user level API for accessing processor and other system programmer counter information (such as instruction counts, cache misses, etc.).

PAPI details are provided on the PAPI Website.

PAPI on the Mira/Cetus/Vesta

PAPI is installed in /soft/perftools/papi

The preset and native events available on the Mira/Cetus/Vesta (Blue Gene/Q) are listed by the 'papi_avail' and 'papi_native_avail' utilities. These utilities are in the /soft/perftools/papi/bin directory and are compiled to run on the compute nodes and therefore must be run using the qsub command. Sample output from these commands may be found in the directory /soft/perftools/papi/output. Accessing native events requires using the event names reported by 'papi_native_avail' as a string and converting them with the function PAPI_event_name_to_code() into an event code.