Access to the NAG library

A NAG Library user must supply a main Fortran program that calls the subroutines and handles data input and display of results. Only double precision routines are provided under the UNIX platforms.

To compile the program in the file prog_file.f, link object programs with the library, and run the program on the IBM RS6000 SP, at the system prompt, enter:

             
      xlf prog_file.f -lnag    
      a.out > output