NAG Fortran 90 Library on the SGI 3800 at NSC

The NAG Fortran 90 numerical program library is available on the SGI 3800. It was upgraded from Release 3 to Release 4 on November 12. 2001. The new location of the library files are given below.

The libraries are at /opt/nag/fnsg604db/ and can be linked with

f90 test.f90 -lnagfl90_32_mips4 -L'/opt/nag/fnsg604db/' -I'/opt/nag/fnsg604db/nag_mod_dir_32_mips4/'
f90 test.f90 -lnagfl90_32_mips4_noblas -L'/opt/nag/fnsg604db/' -I'/opt/nag/fnsg604db/nag_mod_dir_32_mips4/'
for the version not using the BLAS.

The library is in the default SGI double precision, eight bytes (double precision IEEE floating point precision) which is sometimes called real by NAG. The library is presently at Mark 4.

Additional user information

The example programs are easy to use through the nagexample script. On your own directory you give the command

/opt/nag/nagexample NAG_name  
or (if you wish not to use the BLAS)
/opt/nag/nagexample_2 NAG_name  
where NAG_name is the name of the routine you wish to test, for example nag_lib_support_ex01 or nag_quad_1d_ex09. The example program, together with its data file (if any), will be copied to your present directory, compiled, linked, and run.

The example program can quite often be used as the basis for the application program you are about to write.

Assistance and support

Questions are welcome to Bo Einarsson, who has more than 25 years experience with NAG libraries. You can also contact the NAG directly, either using email to or the form.

Last modified: January 23, 2002