home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / lang / fortran / 2788 < prev    next >
Encoding:
Internet Message Format  |  1992-07-21  |  1.6 KB

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