ARCHIVED: Is NAG Library available on Unix? How do I access it?

This content has been archived, and is no longer maintained by Indiana University. Information here may no longer be accurate, and links may no longer be available or reliable.

NAG (Numerical Algorithms Group) is a collection of Fortran Subroutine Libraries. NAG Mark 17 is available on Chrome (Digital Unix System), and Pegasus (RS/6000 system).

To compile, link, and run your command file invoking the NAG Fortran Library subroutines, at the Chrome system prompt, enter:

  f77 filename -lnag
  a.out > outputfile

Replace the filename with the input file, and outputfile with a filename in which you want to store the output.

For information on accessing NAG from the RS/6000, see ARCHIVED: At IU, how do I access the NAG library on Libra?

Two subdirectories (e.g., doc, examples) may be found in the directory /usr/math-apps/nag/fldau17da with relevant information on NAG Library. The /doc subdirectory contain a number of files which contain important features of NAG Mark 17, names of the subroutines available, etc. The /examples subdirectory contain the source codes, data files, etc.

The NAG online Information Supplement also is available along with the NAG Library. This is an online source of information that complements the published NAG Fortran Library Manuals, but does not replace it. To access NAG online help, enter NAGHELP at the system prompt.

NAG documentation is available for reference at Swain, the BUS/SPEA, and Education Reserve Libraries, and the UITS Stat/Math Center.

Note: For more details about the NAG and other subroutine libraries (including information about how to compile, link to, and run programs that invoke them), see the IU High Performance Applications subroutine library page.

This is document afbc in the Knowledge Base.
Last modified on 2023-05-09 14:44:03.