f95 program.f90 -lnag
The f95 compiler will compile Fortran 77 ``Fixed source form'' programs also (as of 2005), though it will (correctly) criticize that form as ``Obsolescent''.Alternatively, you can use the g77 (GNU Fortran) compiler with the NAG library -- it won't complain about the old f77-style fixed source form format. Use the "pthread" library also:
g77 program.f -lnagg77 -lpthread
Documentation for the NAG routines is available online at http://www.nag.com/numeric/FL/FLdocumentation.asp
On the workstations listed above there are sample Fortran programs and source code in the /usr/local/nag/fllux20d9l directory.