Licensing and Access
The NAG library is licensed software. Users who wish to access the NAG library should contact NAG. Once access has been agreed please submit a request via SAFE and we will arrange access to the library.
Compiling with the NAG library
Here is an example of the compilation of one of the NAG example codes (c05qcfe ) using the Intel compiler:
module swap PrgEnv-cray PrgEnv-intel
module load naglib
ftn -o c05qcfe c05qcfe.f90 -I$NAGLIB_INC -lnag_nag
To compile with the MKL version of the NAG library please use -lnag_mkl instead of -lnag_nag. General instructions for compiling codes with the MKL library are here: