I don't really use FORTRAN, however, I have to read/write FORTRAN code sometimes.

CERNLIB on 64-bit platform

http://www.google.com/notebook/public/12056295350928332556/BDQGkIwoQw-nmkd4i

g77 compiles slow when libs are on NFS

When I was compiling a very short FORTRAN code, it took 5 min. I found this link described the similar problem with PISA at PHENIX: http://www.phenix.bnl.gov/phenix/WWW/simulation/pisa99.html

The reason is possibly that the NFS write fixes for the Linux kernel versions are not installed. The solution is to copy your code to a local disk and put a symbolic link to your libs at your local disk.

File I/O

http://www.camden.rutgers.edu/HELP/Documentation/Sun-compiler-docs/WS6/manuals/fortran/prog_guide/2_io.html

Some tutorials

http://www.tat.physik.uni-tuebingen.de/~kley/lehre/ftn77/tutorial/

stdout/stdin

http://www.camden.rutgers.edu/HELP/Documentation/Sun-compiler-docs/WS6/manuals/fortran/prog_guide/2_io.html

Standard input is logical unit 5 (also Fortran 95 unit 100)
Standard output is logical unit 6 (also Fortran 95 unit 101)
Standard error is logical unit 0 (also Fortran 95 unit 102)

common blocks

http://www.obliquity.com/computer/fortran/common.html

mixing f77/gcc

http://www.chiralcomp.com/support/mixing_f77_c_cpp/

Reference

http://www.engr.umd.edu/~nsw/ench250/fortran1.htm