You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This project is only a Python binding for the PAPI library; it allows to use PAPI from Python. You issue seems related to the PAPI library itself and not the binding so you may ask for help on the PAPI project:
from pypapi import papi_low as papi
from pypapi import events
papi.library_init()
evs = papi.create_eventset()
papi.add_event(evs, events.PAPI_FP_OPS)
papi.start(evs)
aaa =1
result = papi.stop(evs)
print(result)
papi.cleanup_eventset(evs)
papi.destroy_eventset(evs)
Traceback (most recent call last):
File "/home/lab131_unix/Code/privacy/test.py", line 7, in
papi.add_event(evs, events.PAPI_FP_OPS)
File "/home/lab131_unix/anaconda3/envs/RLenvironment/lib/python3.9/site-packages/pypapi/exceptions.py", line 198, in papi_error_wrapper
raise PapiMiscellaneousError()
pypapi.exceptions.PapiMiscellaneousError: Unknown error code. (PAPI_EMISC)
The text was updated successfully, but these errors were encountered: