cavazos-lab/PolyBench-ACC

Papi support

avacoder42 opened this issue · 1 comments

Hi,
I was trying to compile the programs with Papi support -Dpolybench_papi. After compiling using

gcc -fopenmp -I../../../utilities 2mm1.c ../../../utilities/polybench.c -I ../PolyBench-ACC/common/ -I ../PolyBench-ACC/OpenMP/utilities/ -DMINI_DATASET -DPOLYBENCH_PAPI -lpapi -o 2mm

and running

./2mm

It throws the following error -

../../../utilities/polybench.c           FAILED
Line # 241
Error: PAPI_add_event

Please suggest what changes I need to make or is PolyBench-ACC compatible with Papi?

To be honest, I’m not sure what changes have happened to PAPI. This code base hasn’t been updated in 7 years.