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

pyapi.exceptions.PapiNoEventError: Event does not exist. (PAPI_ENOEVNT) #36

Open
unipdjahanifar opened this issue Dec 10, 2022 · 2 comments
Labels

Comments

@unipdjahanifar
Copy link

I can see via papi_avail that my system does have hardware counters (Number Hardware Counters: 11) and that the event I am interested in (PAPI_SP_OPS) is available:

Name Code Avail Deriv Description (Note)
PAPI_SP_OPS 0x80000067 Yes Yes Floating point operations; optimised to count scaled single precision vector operations

Now I run the python wrapper analogous to shown in the tutorial:

from pyapi import events, papi_high as high
high.start_counters([events.PAPI_SP_OPS])

However I get the error pyapi.exceptions.PapiNoEventError: Event does not exist. (PAPI_ENOEVNT). But clearly the event does exist as shown at the start with papi_avail

Any tips?

@flozz
Copy link
Owner

flozz commented Dec 13, 2022

Hello,

It is maybe a permission issue, but I am not able to help you. You may ask PAPI's devs for help. This project is only a partial and no up-to-date Python binding for PAPI.

:)

@flozz flozz added the question label Dec 13, 2022
@Kou-99
Copy link

Kou-99 commented Apr 23, 2023

I can see via papi_avail that my system does have hardware counters (Number Hardware Counters: 11) and that the event I am interested in (PAPI_SP_OPS) is available:

Name Code Avail Deriv Description (Note) PAPI_SP_OPS 0x80000067 Yes Yes Floating point operations; optimised to count scaled single precision vector operations

Now I run the python wrapper analogous to shown in the tutorial:

from pyapi import events, papi_high as high high.start_counters([events.PAPI_SP_OPS])

However I get the error pyapi.exceptions.PapiNoEventError: Event does not exist. (PAPI_ENOEVNT). But clearly the event does exist as shown at the start with papi_avail

Any tips?

Hi! I have the same issue, did you solve it?

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

No branches or pull requests

3 participants