Skip to content
This repository was archived by the owner on Oct 29, 2025. It is now read-only.
This repository was archived by the owner on Oct 29, 2025. It is now read-only.

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

@unipdjahanifar

Description

@unipdjahanifar

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions