Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29251 Discussions

Mapping subroutine calls throughout program

tchill
Beginner
435 Views
Hi,
Once again probably a simple question; I would like to map subroutine calls throughout a program. I would like to have a flow chart of the calls or just simply a list of all the calls made by each subroutine.
If you could tell meof any simpleways of doing this, I would appreciate it greatly.
Cheers, T
0 Kudos
1 Reply
TimP
Honored Contributor III
435 Views
Several types of tools would fit your description. Among the Intel tools, Vtune call graph can make a diagram of the calls which actually occurred during execution. If that is over-kill, you might build with a gnu compiler and obtain a gprof call graph, or google to see what static flow charting tool might work. Or, you might be satisfied with something derived from 'dumpbin /symbols' run on the .obj files. On my laptop, dumpbin is present in the CVF installation. It should be present in Visual Studio as well.
0 Kudos
Reply