Accessing the counter analysis toolkit -Papi-7.1.0

50 views
Skip to first unread message

MEGHA K

unread,
Feb 26, 2024, 1:18:10 AM2/26/24
to ptools-perfapi
 I trying to run make in $papi-7.1.0/src/counter_analysis_toolkit dir, and im getting the below error. !please help me to use CAT 
gcc -g -Wall -Wextra -O0 -I/home/meghak/usr/include -c eventstock.c -o eventstock.o
eventstock.c: In function ‘build_stock’:
eventstock.c:36:35: error: ‘PAPI_EDELAY_INIT’ undeclared (first use in this function); did you mean ‘PAPI_ENOINIT’?
         if (cmp_info->disabled == PAPI_EDELAY_INIT) {
                                   ^~~~~~~~~~~~~~~~
                                   PAPI_ENOINIT
eventstock.c:36:35: note: each undeclared identifier is reported only once for each function it appears in
make: *** [Makefile:75: eventstock.o] Error 1

Daniel Barry

unread,
Feb 26, 2024, 8:52:43 AM2/26/24
to ptools-perfapi, megham...@gmail.com
Hi,

Can you please run the PAPI utility papi_component_avail, and post the output here?

Thank you,
Daniel Barry

Anthony Danalis

unread,
Feb 28, 2024, 3:37:00 PM2/28/24
to MEGHA K, ptools-perfapi
Do you have papi-7.1 installed in your system such that the headers
are under /home/meghak/usr/include?
The error message suggests that you have headers from a much older
papi version under that directory.

Thanks,
Anthony
> --
> You received this message because you are subscribed to the Google Groups "ptools-perfapi" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to ptools-perfap...@icl.utk.edu.
> To view this discussion on the web visit https://groups.google.com/a/icl.utk.edu/d/msgid/ptools-perfapi/c58ee63a-aad6-4a7f-8035-1bcf805e40dan%40icl.utk.edu.
Reply all
Reply to author
Forward
0 new messages