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

Dumb Question #2: Calling trees from listings

keefer
Beginner
603 Views
Hi,
Is there a way or program (possibly 3rd party) to get a list of Subroutines and Modules in a file,ideally listing subroutines CONTAINED in those subroutines and modules and in a more nearly perfect world, i.e. one without Microsoft :), one that would list the procedures called by each of these subroutines? Usually .MAP files contain this sort of stuff, but also contain a lot of info about where they are loaded, the allocation of variable in a subroutine etc. I'm seeking documentation, not debugging info. I have a program that I have modified so many times over the last decade I can't find anything anymore.
Regards,
Keith
0 Kudos
4 Replies
Paul_Curtis
Valued Contributor I
603 Views
Keith,
I wrote a tool do do exactly this many years ago for MS fortran. The program, FTNXREF, would read the MS linker instructions file and produce a report showing a complete cross-reference listing of all calls to/from all subroutines and functions, divided among multiple source files grouped in multiple overlays. The main purpose was to check for and report circularities betweenoverlays. The code was developed for F77 with strictly formatted coding and limited namelengths. If you would like to invest some time in modernizing this tool for F90 projects, I'd be glad to send you a copy.
Regards, Paul Curtis (pcurtis@kiltel.com)
0 Kudos
durisinm
Novice
603 Views
Intel's VTune software should do most of what you want.
Mike D.
0 Kudos
grtoro
Beginner
603 Views
Another option is FLOPPY and FLOW, available at
Gabriel
0 Kudos
raov
Beginner
603 Views
>Another option is FLOPPY and FLOW, available at
>Gabriel
I don't think those programs handle Fortran 90/95 code. There are some commercial programs listed at
that do.
0 Kudos
Reply