home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.lang.fortran:2788 comp.programming:2043 comp.unix.questions:9262
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!wupost!waikato.ac.nz!aukuni.ac.nz!ecmtwhk
- Newsgroups: comp.lang.fortran,comp.programming,comp.unix.questions
- Subject: Re: Subroutine Tree Generator
- Message-ID: <1992Jul21.224057.5049@ccu1.aukuni.ac.nz>
- From: ecmtwhk@ccu1.aukuni.ac.nz (Thomas Koenig)
- Date: Tue, 21 Jul 1992 22:40:57 GMT
- References: <1992Jul21.214258.19763@watson.ibm.com>
- Organization: University of Auckland, New Zealand.
- Lines: 23
-
- zaphiri@watson.ibm.com (Zaphiris Christidis) writes:
-
- >Does anybody know if there exists any tool or program in the public
- >domain, that could take as an input a FORTRAN source code, and give
- >as an output the subroutine calling tree of the code graphically?
-
- I believe it is getting time for a FAQ on comp.lang.fortran, I've read
- too many (quite legitimate) queries about how to do this kind of thing
- in the last weeks...
-
- Anyway, NAG toolpack can do what you want. It can be gotten either from
- NAG directly for a small fee, or via anonymous ftp from a number of sites
- (check out archie for toolpack*). It's quite a large system, written
- in FORTRAN itself, and can do a number of other very handy things, like
- declaring all your variables for you (I found that invaluable in clearing
- up old code), converting some FORTRAN 66 - style IF/GOTO combinations
- into IF () THEN/ELSEIF/ENDIF, and a lot more.
-
- Hope this helps
- --
- Thomas Koenig, ecmtwhk@ccu1.aukuni.ac.nz, ib09@rz.uni-karlsruhe.de
- The joy of engineering is to find a straight line on a double logarithmic
- diagram.
-