home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.fortran
- Path: sparky!uunet!decwrl!pa.dec.com!e2big.mko.dec.com!quark.enet.dec.com!lionel
- From: lionel@quark.enet.dec.com (Steve Lionel)
- Subject: Re: Structure Chart for VAX/VMS F77
- Message-ID: <1992Jul29.204513.11035@e2big.mko.dec.com>
- Sender: guest@e2big.mko.dec.com (Guest (DECnet))
- Organization: Digital Equipment Corporation
- References: <29JUL92.14304853@wl.aecl.ca>
- Date: 29 JUL 92 16:29:13
- Lines: 55
-
-
- In article <29JUL92.14304853@wl.aecl.ca>, zinckt@wl.aecl.ca writes...
- >
- >Sorry about the confusion, maybe I can explain what I am want a little better.
- >I am looking for a tool that wil produce a dependancy chart of subroutine calls
- >and data passing from subroutine and functions. I am documenting F77 code which
- >consists of 20 or so subroutines/modules. I want to be able to visualize the
- >calling sequence and the data flow a little easier. Is there a tool that could
- >help me do this? I am working on VAX/VMS with F77 and C.
- >
-
- Digital's "Source Code Analyzer" (SCA) product, which is combined with the
- "Language-Sensitive Editior" (LSE) product can do this. For example, here's
- what SCA gives you when you ask for the "CALLED_BY" tree for the LINPACK
- benchmark:
-
- D1 procedure calls
- DGEFA procedure calls
- . DAXPY function
- . DSCAL function
- . IDAMAX function
- DGESL procedure calls
- . DAXPY function (See above)
- . DDOT function
- MATGEN procedure calls
- . MOD function
- SECOND function
- DAXPY procedure calls
- MOD function (See above)
- DDOT function calls
- MOD function (See above)
- DSCAL procedure calls
- MOD function (See above)
- IDAMAX function calls
- DABS function
-
- The latest version, V4.0, can also give you a graphical display if you're
- using a workstation, and can save the display in a file which you can
- print. The call tree can start from any "node" and can be of any
- selected depth. You can also tell SCA to eliminate "uninteresting"
- routines if you like, as well as get a tree in "called from" order.
-
- You can also ask SCA for reports on variable usage, including uses as
- actual and/or formal arguments, have it check for argument list consistency
- between caller and callee, or have it generate documentation from your
- FORTRAN (or other language) source.
-
- LSE/SCA is also available as part of the DECSET (formerly VAXSET) package
- and is available for OpenVMS VAX as well as RISC ULTRIX.
-
- Steve Lionel lionel@quark.enet.dec.com
- Languages Group
- Digital Equipment Corporation
- 110 Spit Brook Road
- Nashua, NH 03062
-