I want to instrument my UPC program with PAPI APIs to get information on hardware counters during the execution of UPC program.
But i keep getting linking errors for eg, "undefined reference to PAPI_read"
undefined reference to PAPI_library_init
etc
The command I'm giving is
upcc -L/full/path/to/libpapi.a -o upcMatrxMultplction upcMatrxMultplction.o
Any suggestions ?
Does PAPI support UPC compiler ?