Analyzers
Support for Analyzers (Intel VTune™ Profiler, Intel Advisor, Intel Inspector)

Source line of Fortran Code

Alireza_Forghani
Beginner
124 Views

I have written a code to be used as a user-subroutine for a commercial finite element software. The Fortran code gets compiled to a dll file and is linked by the commercial software during run time. 

Now I'm using VTune to look into the performance of my code but the reports by VTune do not include the subroutine/function names (shows up as func@0x180da8e70, etc.)

When compiling my Fortran code, I'm using /debug:all /traceback options and when running VTune, I point to the source code folder. 

Would appreciate it if you guys could guide me on how to get the function/subroutine names show up in VTune report. 

Thanks,

Alireza

 

0 Kudos
3 Replies
TimP
Black Belt
124 Views

If you have /debug set both for the ifort compile and for construction of .dll, you should also get a .pdb file which (along with .dll) will need to be added to VTune analyzer binary search path, if it's not found automatically.

Alireza_Forghani
Beginner
124 Views

Thanks Tim. I can see the source now. I didn't have the pdb option in my linker options. 

 

Bernard
Black Belt
124 Views

Which IDE are you using?

Reply