Open OneMoreProblem opened 2 years ago
This solution is not helped because program is stuck on galois::runtime::profilePapi
block. I tried to swap papiGetTID()
for galois::substrate::ThreadPool::getTID
and change return type to unsigned long
but got the ERROR: /home/r00662636/Galois/install/include/galois/runtime/Profile.h:129: failed to add events
. I have no idea how to fix it, maybe problem lies in compilation stage.
Best regards
Hello
Yesterday i was tried to use PAPI and face with an error:
In
Profile.h:95
i found reference topapiGetTID()
, and declaration ofpapiGetTID()
inProfile.h:78
as i understandpapiGetTID()
returns thread id.Also i found
papi.h:1095
declaration of similar functionPAPI_thread_id()
, then i swappedpapiGetTID()
forPAPI_thread_id()
, and code with PAPI was build fine. Is it correct? WhypapiGetTID()
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