NAG fl90, Release 4

FNW3204DL - License Managed

Windows 95/98/NT, Lahey/Fujitsu Fortran 95

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 (doc/in.html) and the Users' Note (doc/un.html) are supplied on the distribution medium.

Whenever 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 95/98 or Windows NT
Fortran compiler: Lahey/Fujitsu Fortran 95 (LF95) Release 5.60f 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: Lahey/Fujitsu Fortran 95 (LF95) Release 5.60f
compiler options: -nw -wo -nchk -nsav -ntrace -nstchk -ng -nco

The entire NAG fl90 library, Release 4, was compiled with full (default) optimization (-o1), except for the following underlying procedures, which had to be compiled unoptimized (-o0):

e02ahz_7d    e04abf_9d    e04mfg_7d

3. Distribution Medium

3.1. Recording Details

The implementation is distributed on CD-ROM, unless otherwise indicated on the medium and accompanying despatch note.

For further details, refer to other documentation supplied or contact NAG (see Section 6).

3.2. Contents

The following shows the directory/file organization of the library materials as they will be installed.
                      |-- in.html
            |-- doc --|-- un.html
            |-- libnagfl90.lib
            |-- nag_mod_dir --|-- *.mod
fnw3204dl --|
            |              |-- source ---|-- *.f90
            |-- examples --|-- data -----|-- *.dat
            |              |-- results --|-- *.res
            |-- batch --|-- nagex.bat

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

         |-- images --|-- *.gif
         |                   |-- release4.html  (main index)
         |                   |
         |                   |-- genint --|-- *.html  (introductory material)
NAGdoc --|        |-- html --|
         |        |          |-- library_contents --|-- *.html
         |        |          |
         |        |          |-- [c01-c29]_fn04.html  (chapter indexes)
         |-- fn --|
                  |         |-- genint --|-- *.pdf  (introductory material)
                  |         |
                  |         |-- library_contents --|-- *.pdf
                  |-- pdf --|
                            |-- indexes --|-- *.pdf  (KWIC and GAMS)
                            |-- [c01-c29] --|-- *.pdf  (chapter and procedure

3.3. File Sizes

The file 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 library:            13.5 Mb
module information files:     1.9 Mb
example program material:     1.2 Mb
library documentation files:  0.1 Mb
PDF documentation files:     19.1 Mb

4. Installation

4.1. Library Installation

The CD should autorun and will lead you to a dialogue for installation.

If the autorun facility does not operate, then double click on the setup.exe file on the CD using Windows Explorer. Any continuing difficulties indicate a problem which should be reported to the NAG Response Centre (see Section 6).

The installation program will ask you for the drive and directory where you would like to install the library materials. You will also be asked which parts of the materials you want to install. The installation program may be used to install all the materials from CD-ROM or just some part of it, for example the library.

An uninstall facility is provided. This will remove the product from your disk. It will also undo the registry entries made during installation, but will not undo any changes to the autoexec.bat file. If a re-installation is performed, for example to add a component that wasn't originally installed, the uninstall facility will remove only the most recently added files. (However, it will still remove all the registry entries associated with this software.) The uninstaller will not remove files created since the installation was completed (although it will remove original files that have been modified), so it may be necessary to delete these files to complete the removal.

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

The module information files (nag_mod_dir\*.mod) are supplied in pre-compiled module form. The LF95 -mod compiler flag may be necessary to point to the directory which contains these files, e.g.

lf95 -c -mod .;c:\fnw3204dl\nag_mod_dir driver.f90 

The module information files can be passed to the compiler on the command line (see above), via the configuration file LF95.FIG (see below) or by using a command file (for more details refer to the Lahey User's Guide).

Similarly, the compiled library libnagfl90.lib can be passed to the compiler by any of the three methods outlined above.

It is recommended that you create the configuration file; this will simplify using the modules during the compilation and linking with the library (see Section 3.1 of the Users' Note). A typical LF95.FIG would contain the following line:

-mod .;c:\fnw3204dl\nag_mod_dir -LIBPath c:\fnw3204dl -Lib libnagfl90
where c:\fnw3204dl\nag_mod_dir is the directory containing the pre-compiled module files, c:\fnw3204dl is the directory containing the compiled library libnagfl90.lib.

The batch file nagex.bat requires the setting of the environment variable nagfndir. It should be set to the root directory of the NAG materials.

Under Windows 95/98, the autoexec.bat file can be edited to add the environment variable. If the default location is used, add the line

set nagfndir=c:\fnw3204dl

This change to the autoexec.bat file can be made by the installation procedure if desired.

Under Windows NT, the environment variable value can be set in the Control Panel | System Properties dialog. If the default location is used, set the variable to

and the value to

The batch file should be made accessible to the user (for example, by copying the file to a directory in the user's path, e.g. c:\utils).

4.2. License Management

The use of NAG fl90 is controlled by the FLEXlm network license management system (FLEXlm is a registered trademark of Globetrotter Software Inc). This release of NAG fl90 uses version 7.0e of FLEXlm. The remainder of this section describes how a FLEXlm license key should be installed to enable the use of the Library.

For NAG fl90 you will be provided with an uncounted license key for use on a specific machine. This type of license is bound to a PC through the volume serial number of the PC's Windows drive (where the Windows directory is installed); this will normally be the C drive. To obtain the volume serial number, type "vol" in an MS-DOS window while accessing the appropriate drive.

To obtain the appropriate license key, contact the NAG Response Centre quoting the volume serial number of your machine and specify that you wish to obtain a PC license for NAG fl90. You will then receive your license information, usually by email or fax.

The information that you receive from NAG contains a FEATURE line describing the product being licensed. This line has to be inserted into a license file (say c:\fnw3204dl\license.dat). The license file is a text file (usually created using a text editor, for example NOTEPAD) and the FEATURE line must occupy a single record; none of the characters in the FEATURE line may be modified or the license will be invalid.

The format of the FEATURE line of a NAG Fortran Library license is as follows:

FEATURE NAG_FN NAG 4.000 01-jan-0000 0 2CE45AEB6D064ACEBE61 "W32L," \

This enables the use of version 4.0 of the application NAG_FN with no time limit on the system with the specified volume serial number. Note that the line is continued by escaping the newline character with '\'.

To activate the license, the location of this file must be made known to NAG fl90. This is done by setting the environment variable LM_LICENSE_FILE to the full pathname of the license file. Using the license file described above as an example, under Windows 95/98 this can be done by adding the line

set LM_LICENSE_FILE=c:\fnw3204dl\license.dat
to the autoexec.bat file and then rebooting the system.

Under Windows NT, LM_LICENSE_FILE can be added as a system or user environment variable using the Control Panel | System Properties dialog.

4.3. PDF Documentation Installation

To install the PDF documentation material, follow the on-screen instructions.

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.

4.4. Checking Accessibility

The installer should ensure that the advice given to users in Section 3.1 of the Users' Note (doc\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 file nagex.bat.

4.5. Release to Users

The Users' Note (doc\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:

compiled libraries:

modules information files:
example program material:
pdf documentation files

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.6. Maintenance Level

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

5. Documentation

A printed copy of the NAG fl90 Introductory Guide is normally provided with this implementation.

A full on-line version of the NAG fl90 Manual is provided in the form of Portable Document Format (PDF) files with this implementation. Further information is contained in the Readme file on the distribution medium.

Printed copies of the NAG fl90 Manual are available for purchase; please refer to the NAG documentation order form (available on the NAG websites, see Section 6 (c)) for details of current prices.

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 FNW3204DL).

(c) NAG Websites

The NAG websites are an information service providing items of interest to users and prospective users of NAG products and services. The information is reviewed and updated regularly and includes implementation availability, descriptions of products, downloadable software, product documentation and technical reports. The NAG websites can be accessed at

or (in North America)

or (in Japan)

(d) NAG Electronic Newsletter

If you would like to be kept up to date with news from NAG you may want to register to receive our electronic newsletter, which will alert you to special offers, announcements about new products or product/service enhancements, case studies and NAG's event diary. To register visit one of our websites or contact 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 pleased to receive your comments by email at Alternatively contact the appropriate NAG Response Centre who will be happy to record your comments.

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
Yaesu Nagaoka Building No. 6 
1-9-8 Minato

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