Getting Fortran programs to work in the first place can be quite a challenge--even when the programs already work on other systems, or when using other compilers.
`g77' offers some facilities that might be useful for tracking down bugs in such programs.