Thanks for this help : i could work with PAPI with this post .But now, i work with papi-5.1.1 and i would know if memory bugs reported by Valgrind when i run it with a program using papi-5.1.1 are also when you use papi-4.1.1 .