NAG fl90, Release 4

FNW3204DDL - License Managed

Windows NT/2000/XP, Compaq Visual Fortran

Installer's Note


1. Introduction

This document is essential reading for whoever is responsible for the installation of the NAG fl90 implementation specified in the title. The installer will be supplied with a printed copy of this document. Both this (in.html) and the Users' Note (un.html) are supplied in the doc folder on the installed product.

Whenever the NAG fl90 has been supplied in compiled form, that form is considered to be the standard library file. The use of all supplied software must be in accordance with the terms and conditions of the Software Licence signed by NAG and each site. Any request to use NAG software on a computer other than the one licensed must be referred to NAG (see Section 6).

2. Implementation Provided

2.1. Applicability

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

hardware:         32-bit Intel systems and compatible
operating system: Windows NT/2000/XP
Fortran compiler: Compaq Visual Fortran version 6.5 (update A) and compatible

For information about implementations of NAG fl90 for use on other computer systems please contact NAG.

2.2. Derivation

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

hardware:         Dell NOTEBOOK CPtC400D
operating system: Windows NT v4.00.1381
Fortran compiler: Compaq Visual Fortran version 6.6 (update B)
compiler options: /nodebug /bintext:"NAG Copyright 2001-"
utilities:        Intel MKL library, version 5.2

The entire NAG fl90 library, Release 4, was compiled with full optimization (/optimize:5), except for the following underlying procedures which had to be compiled at lesser optimization levels:

f11aza_9d (/optimize:0)	    f11cza_9d (/optimize:0)    e02ahz_7d (/optimize:4)

3. Distribution Medium

3.1. Contents

The following shows the folder/file organization of the library materials as they will be installed.
                         |-- in.html
               |-- doc --|-- un.html
               |         |-- lic_agr.txt
               |         |-- nagfl90.lib
               |         |-- nagfl90_noblas.lib
               |         |-- nagfl90_dll.lib
               |-- lib --|-- nagfl90_dll.exp
               |         |-- nagfl90_dll_noblas.lib
               |         |-- nagfl90_dll_noblas.exp
               |         |-- nagfl90_dll.dll
               |-- bin --|-- nagfl90_dll_noblas.dll
               |         |-- key_inst.exe
               |         |-- setup.txt
  fnw3204ddl --|
               |-- nag_mod_dir --|-- *.mod
               |              |-- source ---|-- *.f90
               |-- examples --|-- data -----|-- *.dat
               |              |-- results --|-- *.r
               |            |-- nagex.bat
               |            |-- nagex_noblas.bat
               |-- batch ---|-- nagex_dll.bat
               |            |-- nagex_dll_noblas.bat
               |            |-- envvars.bat
               |            |-- envvars.orig
               |-- MKL --|-- bin --|-- *.dll
                         |-- lib --|-- *.lib
  nagfl90.lib             is a compiled static library including NAG BLAS/LAPACK
  nagfl90_noblas.lib      is a compiled static library without NAG BLAS/LAPACK
  nagfl90_dll.dll         is the DLL containing NAG BLAS/LAPACK
  nagfl90_dll_noblas.dll  is the DLL without NAG BLAS/LAPACK

nagfl90_noblas.lib and nagfl90_dll_noblas.dll do not contain the NAG version of Basic Linear Algebra Subprograms (BLAS) nor the linear algebra functions (LAPACK). They have been tested with the BLAS/LAPACK provided by the Intel Math Kernel Library 5.2 for Windows (MKL) which is included in this product. Please see the Intel web site for further information about MKL (

Be default, fnw3204ddl is installed beneath the folder C:\Program Files\NAG\FN04\.

3.2. File Sizes

The files sizes are given below. The actual disk space used is dependent on the hard disk allocation unit (cluster) size (this information is supplied by the DOS command CHKDSK):
compiled libraries (lib folder, 6 files): 25.2 Mb
                   (bin folder, 4 files): 16.3 Mb
module information files:                 10.8 Mb
example program material:                  4.2 Mb
library documentation files:                44 Kb
PDF documentation files:                  19.7 Mb
MKL (version 5.2) (lib folder, 8 files):  31.7 Mb
                  (bin folder, 10 files): 14.4 Mb

4. Installation

4.1. Library Installation

You must have Administrator privileges to install this software.

To install the Library insert the CD into your CD drive to display the NAG Library Setup Menu. If the Setup Menu does not display, run e:\setup.exe where e is the drive letter for your CD drive. Select Install the library, Windows Installer will lead you through the installation.

Installation of the Library requires a license key, which will be provided by NAG. This will either be a "Trial" key, which will allow you to try out the library for a limited period of time, or a "Fully Paid" key which enables use of the library indefinitely on a specific workstation. If you do not have a key, Installer will generate a file (usually saved as C:\NagKeyRqst.txt), which may be E-mailed or faxed to NAG (see Appendix). In return NAG will send you a valid license key.

Should you need to re-install the license key, (for example to replace a trial key), locate and run the utility fnw3204ddl\bin\key_inst.exe.

Once in possession of a valid license key, begin the installation process again. You will be prompted for the license key. Once this has been entered the process will continue.

After installation you should ensure that the software described in Section 3.1 is present and accessible.

If your machine has more than one processor, then it is recommended that you set the environment variable OMP_NUM_THREADS to the number of available processors, e.g.

This will enable the Intel MKL BLAS to make use of the extra processor(s) and will thus speed up the computation of many of the library procedures.

The installation procedure will create a shortcut which starts a Command Prompt with the required local environment variables. This shortcut is placed in the Start Menu under

Start|Programs|Numerical Algorithms Group|FN04|NAG fl90 Library - CVF compiler. Command Prompt

The local environment variable NAGFNDIR is needed by the batch files nagex.bat, nagex_dll.bat, nagex_noblas.bat and nagex_dll_noblas.bat (see Section 3.2 of the Users' Note (un.html)).

This software is supported by Microsoft Windows Installer which provides an uninstallation facility via Control Panel|Add/Remove programs.

Alternatively you could insert the distribution CD into your CD drive to display the NAG Library Setup Menu, Select Install the library and click on Remove.

4.2. PDF Documentation Installation

It is not necessary to install the Library manual. Users may access it directly on the distribution CD, or it may be installed on a different workstation or server.

To install the Library manual insert the CD into your CD drive to display the NAG Library Setup Menu. If the Setup Menu does not display, run e:\setup.exe where e is the drive letter for your CD drive. Select Install the library manual. Alternatively you could run e:\manual.msi. Windows Installer will lead you through the installation.

You may wish to move the PDF documentation files to the same location as that for other NAG products. You are encouraged to make them readily available to users, but in such a way that they are not generally accessible from outside your site.

Free copies of Adobe Acrobat Reader can be downloaded from Please check this site for availability of a reader for your platform.

Please note that if you are using Adobe Acrobat 4.0 or earlier you might experience some problems when printing documents that contain mathematical characters, such as integral signs, square roots and large brackets. These characters will print correctly using Adobe Acrobat 5.0.

The HTML form of the Essential Introduction contains some mathematical characters that are displayed as question marks by releases of Netscape earlier than 6, but these are displayed correctly by Netscape 6 and Internet Explorer. They may also be viewed via the PDF.

If using Netscape, it might be necessary to re-install Acrobat to ensure that the Acrobat plug-in has been installed. If the plug-in has not been installed, Netscape may copy PDF files to a temporary folder, and then not be able to navigate from there.

4.3. Checking Accessibility

The installer should ensure that the advice given to users in Section 3.1 of the Users' Note (un.html) is suitable for the installation. This can be done by running a few example programs following that advice. The installation can also be tested using the batch files nagex.bat, nagex_dll.bat, nagex_noblas.bat and nagex_dll_noblas.bat.

The two scripts nagex_noblas.bat and nagex_dll_noblas.bat use the MKL provided with this implementation (version 5.2). If you have another version of MKL and would like to use it in place of the MKL provided, you need to modify the two batch files and both the PATH and LIB environment variables to reflect your MKL version and installation. The advice given to users in Section 3.1 of the Users' Note (un.html) may need updating.

4.4. Release to Users

The Users' Note (un.html) should be checked and amended as necessary (particularly Section 3.1). It can 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 FN04\Manual folder contains the online documentation.

compiled libraries:

modules information files:
example program material:

Note that the example material has been adapted, if necessary, from that printed in the NAG fl90 Manual, so that programs are suitable for execution with this implementation with no further changes. Making the example material directly available to users provides them with easily adaptable templates for their own problems.

4.5. Maintenance Level

The maintenance level of the library can be determined by writing a simple program to call procedure nag_lib_ident (or by using the example program nag_lib_support_ex01.f90), which prints out details of the implementation, including title and product code, compiler and precision used, release and maintenance level.

5. Documentation

Each supported NAG fl90 Library site is ordinarily provided with a printed copy of the NAG fl90 Library Introductory Guide. Additional documentation is available for purchase; please refer to the NAG websites or contact your local NAG Response Centre for current prices (see Section 6).

Online documentation is bundled with this implementation. Please see Section 4.2.

6. Support from NAG

(a) Contact with NAG

Queries concerning this document or the implementation generally should be directed initially to your local Advisory Service. If you have difficulty in making contact locally, you can contact NAG directly 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 please quote your NAG site reference and NAG product code (in this case FNW3204DDL).

(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, (in North America) or (in Japan)

(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 special offers, announcements about new products or product/service enhancements, customer stories and NAG's event diary. You can register via one of our websites, or by contacting us at

7. User Feedback

Many factors influence the way 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 your local NAG Response Centre (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
1431 Opus Place, Suite 220
Downers Grove
IL 60515-1362                           NAG Inc Response Center
USA                                     email:
Tel: +1 630 971 2337                    Tel: +1 630 971 2345
Fax: +1 630 971 2706                    Fax: +1 630 971 2706
Nihon NAG KK
Hatchobori Frontier Building 2F

Tel: +81 (0)3 5542 6311
Fax: +81 (0)3 5542 6312