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.

pypapi.exceptions.PapiInvalidValueError: Invalid Argument. (PAPI_EINVAL) #70

@aidos738

Description

@aidos738

raceback (most recent call last):
File "/usr/local/lib/python3.12/dist-packages/pypapi/test_pypapi.py", line 24, in
high.hl_region_begin("computation")
File "/usr/local/lib/python3.12/dist-packages/pypapi/exceptions.py", line 197, in papi_error_wrapper
raise object_()
pypapi.exceptions.PapiInvalidValueError: Invalid Argument. (PAPI_EINVAL)

Having this error when trying to run highlighted line of code. Checked through papi_avail and made sure I have access to this event (PAPI_FP_OPS). It seems to be complaining on the argument "computation", what can be wrong with it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions