pgprof doesn't profile accelerated code

I wasn’t able to profile any accelerated code and hope the newest release 13.2 would resolve the issue. Today, I installed pgi 13.2 and tried with a simple openacc code. I first compiled it with -acc, and then ran it with pgcollect, and then ran pgprof to see the results. But still, nothing related to accelerator is shown in the GUI: no accelerator information is given, no timing on accelerator regions.

Is there anything wrong with my use of the compiler?


Thanks,

Ping

Hi Ping,

Sorry, we weren’t able to get the pgcollect profiling support for the new Accelerator runtime in place for 13.2. We’re looking at either 13.3 or 13.4 for this.

  • Mat

Hi Mat,

Thank you for replying.

Do you know the time line for the release of 13.3 or 13.4?

Ping

Our version numbering is “Year.Month”. So it will be early March (13.3) or April (13.4).

  • Mat

A workaround that is available in the meantime is to set the environment variable PGI_ACC_TIME to ‘1’ for the program when it runs (not when compiling). This will give the same output as that -ta=nvidia,time did, without having to recompile the program.

–Don