using the NAG Fortran compiler/library

The NAG library -- state-of-the-art numerical Fortran routines for all sorts of purposes -- and the NAG Fortran "f95" compiler, are available on the workstation On the Linux computers, you can use NAG's own "f95" compiler to compile your Fortran program and link to the F77 NAG library like this:

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.