[Novalug] bash commands

John Meagher jmeagher at patriot.net
Tue Jan 22 18:03:52 EST 2008


On Sat, 2008-01-19 at 11:20 -0500, Nino Pereira wrote:
> I'm trying to modify a fortran program, of 1970s vintage,
> that I've worked with on occasion since the early 1980s.
> It has been rewritten by others many times, so that it is now 
> substantially more complicated than it was when I first looked
> at the code. For example, it now has its subroutines in separate
> files (as *.F) in one directory, its common blocks (as *.h) in
> another.
> So, when I must make sure that a variable in one subroutine is
> communicated to another, I have to know where it is initialized,
> and which common block it sits in.

Hello Nino,

You might want to browse here for some other tools that might help you 
to organize/analyze the code.  I haven't used any of these but have used
similar tools for c which helped to decipher the structure and flow by 
diagramming calls, cleaning up the format, indexing variables, etc.

http://www.dmoz.org/Computers/Programming/Languages/Fortran/Tools/

John




More information about the Novalug mailing list