NAG Fortran Library, Mark 24

FLMI624D9L - License Managed

Intel-based Mac, Mac OS X 64, NAG Fortran, Double Precision

Installer's Note


1. Introduction

This Installer's Note is essential reading for whoever is responsible for the installation of this implementation of the NAG Fortran Library. It is available together with the Users' Note (un.html) on the distribution medium.

Your attention is drawn to the terms and conditions of the Software License regarding the use of NAG software. Requests for information about the availability of other implementations must be referred to NAG.

2. Implementation Provided

2.1. Applicability

This implementation is a compiled, tested, ready-to-use version of the NAG Fortran Library that is considered suitable for operation on the computer systems detailed below:

hardware:          Intel(R) Mac 64 systems and compatible
operating system:  Mac OS X 10.7 Darwin Kernel Version 11.4 and compatible
Fortran compiler:  NAG Fortran Compiler for Apple Intel Mac OSX 64-bit
                   Release 5.3 and compatible

2.2. Derivation

This implementation was produced at NAG Ltd., Oxford on the computing system detailed below:

hardware:         Intel(R) Core(TM) i5-2415M CPU @ 2.30GHz
operating system: Mac OS X 10.7.5 (11G63b) Darwin Kernel Version 11.4.2
Fortran compiler: NAG Fortran Compiler Release 5.3.1(907)

This implementation was also tested at NAG Ltd., Oxford on the computing systems described below:

hardware:         Intel(R) Core(TM) i5-2415M CPU @ 2.30GHz
operating system: Mac OS X 10.8.3 (12D78) Darwin Kernel Version 12.3.0
Fortran compiler: NAG Fortran Compiler Release 5.3.1(907)
hardware:         Intel(R) Xeon(R) CPU E5520  @ 2.27GHz
operating system: Mac OS X 10.6.8 (10K549) Darwin 10.8.0
Fortran compiler: NAG Fortran Compiler Release 5.3.1(907)

The NAG Fortran Library, Mark 24, was compiled with the highest level of optimization that enabled the functionality provided by the library to be verified and validated.

This library has been tested using the Basic Linear Algebra Subprograms (BLAS) and Linear Algebra PACKage (LAPACK) routines provided by NAG (see the Chapter Introductions for F06, F07, F08 and F16 in the NAG Mark 24 Library Manual, which we will refer to as the Library Manual).

The library has also been tested with the Apple Computer's vecLib versions 3.7 and 3.8.

Please note that there are some missing units from the Apple Computer's vecLib version 3.6. If you are using this old version of vecLib you will not be able to use the supplied pre-compiled libraries libnag_vl.a and libnag_vl.dylib (see Users' Note, Accessing the Library) or the scripts nag_example_vl and nag_example_shar_vl (see Users' Note, Example Programs).

2.3. Post Release Information

Please check the following URL:

for details of any new information related to the applicability or usage of this implementation.

3. Distribution Medium

The software is available to download from any of the NAG websites (see NAG Websites under Section 5). Upon request, the software may be distributed by CD or DVD as appropriate.

3.1. Contents

The following shows the directory/file organization of the implementation materials as they will be installed.
            |- doc -|- in.html  (Installer's Note, (this document))
            |       |- un.html  (Users' Note)
            |       |- libnag_nag.a     (static self-contained library
            |       |                    including NAG BLAS/LAPACK)
            |- lib -|- libnag_nag.dylib (shareable self-contained library
            |       |                    including NAG BLAS/LAPACK)
            |       |- libnag_vl.a      (static library requiring
            |       |                    vecLib BLAS/LAPACK)
            |       |- libnag_vl.dylib  (shareable library requiring
            |                            vecLib BLAS/LAPACK)
flmi624d9l -|
            |- nag_interface_blocks -|- *
            |            |- source --|- ??????e.f90
            |            |
            |- examples -|- data ----|- ??????e.d
            |            |           |- ??????e.opt
            |            |
            |            |- results -|- ??????e.r
            |- scripts -|- nag_example*
            |- c_headers -|- * (C/C++ header file and information)
            |           |- bin -|- * (directories of binaries
            |           |             for supported platforms)
            |- license -|- README.TXT
                        |- doc -|- * (End User Guide)

libnag_vl.a and libnag_vl.dylib do not contain the NAG versions of the BLAS and LAPACK routines.

The following shows the directory/file organization of the Library Manual materials as they will be installed.

nagdoc_fl24 -|- index.html  
             |- examples -|- baseresults -|- ??????*.r
             |            |- source      -|- ??????*.f90
             |            |- data        -|- ??????*.d
             |                            |- ??????*.opt
             |- html  -|- FRONTMATTER -|- manconts.html  (main HTML index)
             |         |               |- *.html         (foreword & copyright)
             |         |
             |         |- [A00-X07] -|- *conts.html  (chapter contents)
             |         |             |- *intro.html  (chapter introduction)
             |         |             |- *f.html      (routine documents)
             |         |
             |         |- figures -|- *.png  (figures and plotfiles)
             |         |
             |         |- GENINT -|- *.html  (general introductory material)
             |         |
             |         |- INDEXES -|- GAMS -|- gams.html  (GAMS index)
             |         |           |        |- *.html     (GAMS files)
             |         |           |
             |         |           |- KWIC -|- kwic.html  (KWIC index)
             |         |                    |- *.html     (KWIC files)
             |         |
             |         |- styles -|- *.css  (CSS stylesheets)
             |                    |- *.js   (JavaScript)
             |- pdf   -|- FRONTMATTER -|- manconts.html (main contents page)
                       |               |- manconts.pdf  (main contents page)
                       |               |- *.pdf  (NAG foreword and copyright pages)
                       |               |- *.html (NAG foreword and copyright pages)
                       |- [A00-X07] -|- *conts.html   (chapter contents)
                       |             |- *conts.pdf    (chapter contents)
                       |             |- *intro.pdf    (chapter introduction)
                       |             |- *f.pdf        (routine documents)
                       |- GENINT -|- *.html (general introductory material)
                       |          |- *.pdf  (general introductory material)
                       |- INDEXES -|- *.pdf (bookmarked file containing links
                       |                     to KWIK/kwic.html and GAMS/gams.html)
                       |- INUNS -|- usersnote.pdf   (implementation-specific

3.2. File Sizes

The files require approximately the following disk space:

  Library software:  142 MB
  Library Manual:    252 MB

4. Installation

4.1. Installation of Library Software and Manual

If you have downloaded the Library materials from our web, double click on FLMI624D9L.dmg. This will extract the two packages FLMI624D9L.pkg and "NAG Fortran Library Manual, Mark 24.pkg" in addition to the files in.html, un.html , LicenseInstaller and the folder resources.

4.1.1. Installation Procedure

To install the Library Software, double click on FLMI624D9L.pkg and follow the instructions.

By default, the Library Software will be installed in /opt/NAG/. In this document we refer to the directory /opt/NAG/flmi624d9l as [INSTALL_DIR].

The directory [INSTALL_DIR] is referenced in the Users' Note (un.html).

The directory [INSTALL_DIR]/scripts contains several scripts to show how to use the libraries provided with this implementation. See Users' Note, Example Programs. Subsequent to the installation, if the installer moves the library to some other location then these scripts must be changed to reflect that fact.

To install the Library manual, double click on "NAG Fortran Library Manual, Mark 24.pkg".

By default, the Library Manual will be installed in /opt/NAG/. You are encouraged to make it readily available to users.

4.1.2. License Management

The use of this product is controlled by the Kusari license management system. This release of the Library uses version 2.2-60 of Kusari.

A short term (demonstration or trial) license key contains one or more lines like the following:

  FLMI624D9 TRIAL 2012/11/12 "EMnxidA3oeoj0F1Yvi5ibxPjB7"
Specifically, it has a line containing the word TRIAL. Longer term license keys must be locked to a specific computer, i.e. they will enable the software on one computer only. These license keys include the word NODE instead of the word TRIAL above.

In order to enable the software, NAG will issue you with a license key. The license key is contained in a text file consisting of details of the software that will be enabled.

License key request and installation is performed through the Apple Installer when flmi624dcl.pkg is installed. During installation, you will be prompted for a license key. If you do not have a license key, a request form will be generated for you to complete and send to NAG via fax or e-mail.

Once you have obtained one of the above license keys it MUST be installed by running the license installer License By default, the license installer will save the license key in /opt/NAG/nag.key (prepends the file if it exists). The Library will then validate the license at runtime.

If you need to update or change the license key after installation, we recommend that you run the license installer again.

Further details about Kusari and how it may be configured to suit your local circumstances (e.g. how to install the license key on a server) are included in the Kusari License Management documentation in the license/doc/ subdirectory of the software distribution. See also the Kusari FAQ:

4.2. Release to Users

The Users' Note (doc/un.html) should be checked and amended as necessary (particularly Sections 3.1, 3.3 and 5). Advice on accessing the library (see Users' Note, Section 3.1) can be checked by running a few example programs following that advice; a suitable sample would be D01AUF, E04UCA and F07ADF. The installation can also be tested using the scripts nag_example* (see Users' Note, Section 3.3). The Users' Note (doc/un.html) should then be made available to users directly, or be absorbed into local access information.

The following material should also be made accessible to users:

documentation files:

The nagdoc_fl24 directory contains the Library Manual.

compiled libraries:

interface block files:
example program material:
C and C++ header material:

Note that the example material has been adapted, if necessary, from that published in the Library Manual, so that programs are suitable for execution with this implementation with no further changes (but see Section 3.3 of the Users' Note for comments about possible differences in results obtained). Making the example material directly available to users provides them with easily adaptable templates for their own problems.

4.3. Further Information

4.3.1. Maintenance Level

The maintenance level of the Library can be determined by compiling and executing the example that calls A00AAF, or you could call one of the nag_example scripts with the argument a00aaf. See Users' Note, Section 3.3. This example prints out details of the implementation, including title and product code, compiler and precision used, mark and maintenance level.

5. Support from NAG

(a) Contact with NAG

Queries concerning this document or the implementation generally should be directed to NAG at one of the addresses given in the Appendix. Users subscribing to the support service are encouraged to contact one of the NAG Response Centres (see below).

(b) NAG Response Centres

The NAG Response Centres are available for general enquiries from all users and also for technical queries from sites with an annually licensed product or support service.

The Response Centres are open during office hours, but contact is possible by fax, email and phone (answering machine) at all times.

When contacting a Response Centre, it helps us deal with your enquiry quickly if you can quote your NAG site reference or account number and NAG product code (in this case FLMI624D9L).

(c) NAG Websites

The NAG websites provide information about implementation availability, descriptions of products, downloadable software, product documentation and technical reports. The NAG websites can be accessed at the following URLs:,, or

(d) NAG Electronic Newsletter

If you would like to be kept up to date with news from NAG then please register to receive our free electronic newsletter, which will alert you to announcements about new products or product/service enhancements, technical tips, customer stories and NAG's event diary. You can register via one of our websites, or by contacting us at

(e) Product Registration

To ensure that you receive information on updates and other relevant announcements, please register this product with us. For NAG Library products this may be accomplished by filling in the online registration form at

6. User Feedback

Many factors influence the way that NAG's products and services evolve, and your ideas are invaluable in helping us to ensure that we meet your needs. If you would like to contribute to this process, we would be delighted to receive your comments. Please contact any of the NAG Response Centres (shown below).

Appendix - Contact Addresses

Wilkinson House
Jordan Hill Road
OXFORD  OX2 8DR                         NAG Ltd Response Centre
United Kingdom                          email:

Tel: +44 (0)1865 511245                 Tel: +44 (0)1865 311744
Fax: +44 (0)1865 310139                 Fax: +44 (0)1865 310139

801 Warrenville Road
Suite 185
Lisle, IL  60532-4332                   NAG Inc Response Center
USA                                     email:

Tel: +1 630 971 2337                    Tel: +1 630 971 2337
Fax: +1 630 971 2706                    Fax: +1 630 971 2706

Nihon NAG KK
Hatchobori Frontier Building 2F
Tokyo 104-0032                          Nihon NAG Response Centre
Japan                                   email:

Tel: +81 3 5542 6311                    Tel: +81 3 5542 6311
Fax: +81 3 5542 6312                    Fax: +81 3 5542 6312

NAG Taiwan Branch Office
5F.-5, No.36, Sec.3
Minsheng E. Rd.
Taipei City 10480                       NAG Taiwan Response Centre
Taiwan                                  email:

Tel: +886 2 25093288                    Tel: +886 2 25093288
Fax: +886 2 25091798                    Fax: +886 2 25091798