Understand for Fortran - PowerPoint PPT Presentation

1 / 5
About This Presentation
Title:

Understand for Fortran

Description:

Understand for FORTRAN analyzes your FORTRAN software to ... set $the_files regex for source files. Possible to have 1 source list. 5. Computational Science ... – PowerPoint PPT presentation

Number of Views:22
Avg rating:3.0/5.0
Slides: 6
Provided by: pauld69
Category:

less

Transcript and Presenter's Notes

Title: Understand for Fortran


1
Understand for Fortran
  • Chris Greenough and David J WorthSoftware
    Engineering Group
  • Computational Science Engineering Department
  • Rutherford Appleton Laboratory
  • c.greenough_at_rl.ac.uk

2
What is Understand for FORTRAN?
  • Understand for FORTRAN is a source code analyzer
    it helps programmers understand their FORTRAN
    software projects.
  • Understand for FORTRAN analyzes your FORTRAN
    software to create a repository of the relations
    and structures contained within it. The
    repository is then used to learn about the source
    code.
  • Understand for FORTRAN helps you quickly answer
    questions such as
  • What is this entity?
  • Where is it changed?
  • Where is it referenced?
  • Who depends on it?
  • What does it depend on?
  • Understand for FORTRAN answers these questions
    through interactive entity specific cross
    reference reports and graphical diagrams quickly
    showing the relevant information about a given
    entity

3
f90tohtml - http//mensch.org/f90tohtml
  • Converts source to html
  • PERL script
  • syntax highlighted source
  • split pane
  • forward and backward subprogram calls
  • clickable call tree
  • subject index from user supplied hash

4
Running f90tohtml
  • 2 files
  • script to make list of source files
  • input file
  • location of source file list
  • destination for html
  • Script - prog_prepare.pl
  • set the_path absolute path to head of source
    directories
  • set outdir relative path to output directory
  • set the_dirs relative paths to source
    directories
  • set the_files regex for source files
  • Possible to have gt 1 source list

5
Running f90tohtml cont.
  • Input file - prog.f2h
  • set file_array List of source file lists
  • set dir_html Output directory for html
  • set contents_title Title of web pages
  • set default_index Which set of files to view by
    default
  • set default_prog Which program/subroutine to
    view by default
  • Run
  • ./prog_prepare.pl
  • f90tohtml prog.f2h
Write a Comment
User Comments (0)
About PowerShow.com