Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Papi support #9

Open
avacoder42 opened this issue Aug 9, 2020 · 1 comment
Open

Papi support #9

avacoder42 opened this issue Aug 9, 2020 · 1 comment

Comments

@avacoder42
Copy link

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?

@willkill07
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants