Open Daniel-Diaz opened 1 year ago
Please try out version 0.1.1.0. It has human readable error message. It could possibly answer your question
PAPI relies pon hardware counters so it could be hardware problem, CPU may miss particular counter. They also could be unavailable in virtualized environment
Thanks. This is what I get now: PAPI: Failed to add counter TOT_INS: Event does not exist [-7]
.
In case it helps, my libpapi-dev
is at version 6.0.0.
PAPI: Failed to add counter TOT_INS: Event does not exist [-7].
Do you try to make it work locally or in vurtualized environment. In latter case it could be locked out. I tried to use this library on github CI and it didn't work
PAPI: Failed to add counter TOT_INS: Event does not exist [-7].
Do you try to make it work locally or in vurtualized environment. In latter case it could be locked out. I tried to use this library on github CI and it didn't work
Sorry, I didn't see any notification that you answered until now. Weird.
Anyway, it's not a virtual environment. It's Ubuntu installed on a regular machine.
@Daniel-Diaz I found another diagnostic tool which could be of use to you: papi_avail
it should list available counters on your system.
I wanted to give the library a try, but no matter what the test is all I get is:
Does this mean my system does not support it? I am in Ubuntu 22.04. Installed papi with
apt install libpapi-dev
. Compiled using stack against nightly-2023-11-05, addingtasty-papi-0.1.0.1
.Thanks.