Profiling Fortran Program

Hi, I’m having problem profiling any fortran application.

it’s running it on Windows VS2013. When I run the profiler, as instructed by the User guide to add the command “-Mcuda=lineinfo” which yield “pgfortran-Error-lineinfo is only supported on linux86-64 targets” in the build.

Would anyone please advise on how to profile fortran applications? thank you.

Hi Ceeely,

You can profile your CUDA Fortran application via the PGI pgprof or NVIDIA nvprof profilers. The “lineinfo” sub-option adds line level profiling of the kernel which isn’t supported on Windows. However, device kernel and host side profiling should work fine.

  • Mat