home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / lang / fortran / 2871 < prev    next >
Encoding:
Text File  |  1992-07-29  |  2.5 KB  |  67 lines

  1. Newsgroups: comp.lang.fortran
  2. Path: sparky!uunet!decwrl!pa.dec.com!e2big.mko.dec.com!quark.enet.dec.com!lionel
  3. From: lionel@quark.enet.dec.com (Steve Lionel)
  4. Subject: Re: Structure Chart for VAX/VMS F77
  5. Message-ID: <1992Jul29.204513.11035@e2big.mko.dec.com>
  6. Sender: guest@e2big.mko.dec.com (Guest (DECnet))
  7. Organization: Digital Equipment Corporation
  8. References:   <29JUL92.14304853@wl.aecl.ca>
  9. Date: 29 JUL 92 16:29:13    
  10. Lines: 55
  11.  
  12.  
  13. In article <29JUL92.14304853@wl.aecl.ca>, zinckt@wl.aecl.ca writes...
  14. >Sorry about the confusion, maybe I can explain what I am want a little better. 
  15. >I am looking for a tool that wil produce a dependancy chart of subroutine calls
  16. >and data passing from subroutine and functions. I am documenting F77 code which 
  17. >consists of 20 or so subroutines/modules. I want to be able to visualize the 
  18. >calling sequence and the data flow a little easier. Is there a tool that could
  19. >help me do this? I am working on VAX/VMS with F77 and C. 
  20.  
  21. Digital's "Source Code Analyzer" (SCA) product, which is combined with the
  22. "Language-Sensitive Editior" (LSE) product can do this.   For example, here's
  23. what SCA gives you when you ask for the "CALLED_BY" tree for the LINPACK
  24. benchmark:
  25.  
  26. D1 procedure calls
  27.    DGEFA procedure calls
  28.    .  DAXPY function
  29.    .  DSCAL function
  30.    .  IDAMAX function
  31.    DGESL procedure calls
  32.    .  DAXPY function  (See above)
  33.    .  DDOT function
  34.    MATGEN procedure calls
  35.    .  MOD function
  36.    SECOND function
  37. DAXPY procedure calls
  38.    MOD function  (See above)
  39. DDOT function calls
  40.    MOD function  (See above)
  41. DSCAL procedure calls
  42.    MOD function  (See above)
  43. IDAMAX function calls
  44.    DABS function
  45.  
  46. The latest version, V4.0, can also give you a graphical display if you're
  47. using a workstation, and can save the display in a file which you can 
  48. print.  The call tree can start from any "node" and can be of any
  49. selected depth.  You can also tell SCA to eliminate "uninteresting"
  50. routines if you like, as well as get a tree in "called from" order.
  51.  
  52. You can also ask SCA for reports on variable usage, including uses as
  53. actual and/or formal arguments, have it check for argument list consistency
  54. between caller and callee, or have it generate documentation from your
  55. FORTRAN (or other language) source.
  56.  
  57. LSE/SCA is also available as part of the DECSET (formerly VAXSET) package
  58. and is available for OpenVMS VAX as well as RISC ULTRIX.
  59.  
  60. Steve Lionel                    lionel@quark.enet.dec.com
  61. Languages Group
  62. Digital Equipment Corporation
  63. 110 Spit Brook Road
  64. Nashua, NH 03062
  65.