I am in the process of installing and verifying papi 5.0.0 on an Intel Xeon E5530 computer running Ubuntu 11.04 (uname -r gives 2.6.38-11-generic). I am new to using papi hardware counters and have only a vague idea about how they work. Please bear with me.
Everything appears to build without issues. When I follow it with:
> make test
To run the ./ctests/zero routine, the value given for PAPI_FP_INS is 59999989. This gives a warning message (Warning: FLOPS validation). The expected value is 40000000. (For completion, the other counter, PAPI_TOT_CYC, is 200020342 which is ballpark close to the reported Real cycles of 180924135).
The test is listed as having "PASSED with WARNING".
Questions:
1. Is a 50% overage acceptable/expected?
2. Has something gone wrong in my install?
2a. If so, what additional information do I need to debug this install?
3. Could papi be counting something running in the background as well as the "zero" test process (which would artificially inflate the PAPI_FP_INS)? (For the record, I don't think there are any other active processes, but I wonder about how careful I need to be in the future.)
I appreciate your help. Thanks!
Additional information:
1. My compilation procedure was:
> cd <papi-root>/src/components/cuda
> ./configure --with-cuda_incdir=/usr/local/cuda/incude --with-cupti_incdir=/usr/local/cuda/extras/CUPTI/include --with-cupti_libdir=/usr/local/cuda/extras/CUPTI/lib64
> cd ../../
> ./configure --with-components=cuda
> make
2. This does not appear to be related to the CUDA component since compiling it without it produces a similar output. I do not think this is limited to PAPI 5.0.0 since the 4.4.0 library also produces a similar output (but does not give a warning message).
3. Running "make fulltest" gives mostly "PASSED" outputs, with the following exceptions:
ctests/all_native_events:Segmentation fault
ctests/cycle_ratio:cycle_ratio.c gives 2 warnings (Line # 92, PAPI_REF_CYC = 0 and Line # 167, validation)
Between ctests/krentel_pthtreads and kufrin.c there is a Segmentation fault message
ctests/profile.c gives a warning at Line # 143 (PAPI_PROFIL_RANDOM not supported)