-
Notifications
You must be signed in to change notification settings - Fork 140
Open
Description
Hello
Yesterday i was tried to use PAPI and face with an error:
[build] /usr/bin/ld: CMakeFiles/MatMulB.dir/tutorial_examples/MatriMultBaseline.cpp.o: in function `void galois::runtime::internal::papiInit<void>()':
[build] /home/user/Galois/install/include/galois/runtime/Profile.h:95: undefined reference to `galois::runtime::internal::papiGetTID()'
In Profile.h:95
i found reference to papiGetTID()
, and declaration of papiGetTID()
in Profile.h:78
as i understand papiGetTID()
returns thread id.
Also i found papi.h:1095
declaration of similar function PAPI_thread_id()
, then i swapped papiGetTID()
for PAPI_thread_id()
, and code with PAPI was build fine. Is it correct? Why papiGetTID()
don't works?
My environment:
PAPI version: 6.0.0.1
cmake version 3.22.1
gcc (Ubuntu 11.2.0-19ubuntu1) 11.2.0
Ubuntu 22.04 LTS
Best regards
Metadata
Metadata
Assignees
Labels
No labels