To help users generate a valid data.papi file. Compile as $FC -I$PAPIINC papi_events.F -o papi_events -L$PAPILIB -lpapi $OTHER_LIBS where $OTHER_LIBS would be -lperfctr (on Linux/x86) or -lcpc (on SunOS) depending on what other libraries PAPI depends on. Run in the same directory as a candidate data.papi. Correct lines as suggested.