NAG Fortran Library, Mark 25

FLW6I25DCL - License Managed

Microsoft Windows XP/Vista/7/8 x64, 64-bit, Intel Fortran, 32-bit integers

Installer's Note


1. Introduction

This document provides implementation-specific information relating to the installation of the NAG Fortran Library specified in the title.

Your attention is drawn to the terms and conditions of the Software License Agreement (in file lic_agr.txt, see Section 3.1) 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 x64 systems and compatible
operating system:  Microsoft Windows 64-bit editions (XP / Vista / 7 / 8 and compatible)
Fortran compiler:  Intel 64-bit Fortran Compiler Version 15.0 and compatible

2.2. Derivation and Additional Test Platforms

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

hardware:         Intel Core i7-3770 3.4 GHz
operating system: Microsoft Windows 7 x64 Edition
Fortran compiler: Intel(R) Fortran Compiler Version Build 20141023
vendor library:   Intel MKL version 11.2.1
compiler options: -O3 -fp:precise -QaxAVX,SSE2 -auto

For details of any other systems on which this implementation has been tested, please see the Supplementary Information page on our website.

2.3. Supplementary Information

Please check the following URL:

for details of any new information related to the applicability or usage of this implementation. Details of any other systems on which it has been tested may also be found on this page.

3. Distribution

The software is available to download from any of the NAG websites (see Section 6 for contact details).

3.1. Contents

The following shows the folder and file organization of the implementation materials after installation.
                    |- in.html  (Installer's Note - this document)
            |- doc -|- un.html  (Users' Note)
            |       |- lic_agr.txt  (license agreement)
            |         |- nag_example_*.bat  (batch files to compile and run
            |         |                      NAG example programs)
            |- batch -|
            |         |- envvars.bat  (batch file to set environment
            |                          variables for the NAG Library)
            |       |- FLW6I25DC_nag.dll  (DLL including NAG BLAS/LAPACK)
            |       |
            |       |  FLW6I25DC_25.x.x_nag.dll  (a renamed copy of the above DLL
            |       |                             including full version number)
            |       |
            |- bin -|- FLW6I25DC_mkl.dll  (DLL requiring MKL BLAS/LAPACK)
            |       |
            |       |  FLW6I25DC_25.x.x_mkl.dll  (a renamed copy of the above DLL
            |       |                             including full version number)
            |       |
            |       |- *.pdb   (debugging symbols for the above libraries)
            |       |
            |       |- (plus other support files)
flw6i25dcl -|
            |       |- FLW6I25DC_nag.lib  (DLL import library
            |       |                      including NAG BLAS/LAPACK)
            |       |
            |       |- FLW6I25DC_25.x.x_nag.lib  (a renamed copy of the above
            |       |                      library including full version number)
            |       |
            |       |- FLW6I25DC_mkl.lib  (DLL import library
            |       |                      requiring MKL BLAS/LAPACK)
            |       |
            |       |- FLW6I25DC_25.x.x_mkl.lib  (a renamed copy of the above
            |       |                      library including full version number)
            |       |
            |- lib -|- nag_nag_MT.lib  (static library including
            |       |                   NAG BLAS/LAPACK compiled with /MT)
            |       |
            |       |- nag_mkl_MT.lib  (static library requiring
            |       |                   MKL BLAS/LAPACK compiled with /MT)
            |       |
            |       |- nag_nag_MD.lib  (static library including
            |       |                   NAG BLAS/LAPACK compiled with /MD)
            |       |
            |       |- nag_mkl_MD.lib  (static library requiring
            |                           MKL BLAS/LAPACK compiled with /MD)
            |- nag_interface_blocks -|- *  (interface blocks for Intel compiler)
            |- nag_interface_blocks_nagfor -|- *  (interface blocks for NAG Fortran compiler)
            |            |- source --|- ??????e.f90
            |            |
            |- examples -|- data ----|- ??????e.d
            |            |           |- ??????e.opt
            |            |
            |            |- results -|- ??????e.r
            |- diagnostics -|- NAG_Fortran_DLL_info.exe  (diagnostics program)
            |               |- NAG_Fortran_DLL_info_FLW6I25DCL.c  (source of the above)
            |- samples -|- *  (sample programs)
            |- cs_headers -|- flcsdnet64.cs (Declare info for C#)
            |- c_headers -|- *  (C/C++ header file and information)
            |- vba7-64_headers -|- flvba764-*.bas (Declare info for VBA7)
            |- vb.net64_headers -|- flvbdnet64.vb (Declare info for VB.NET)
            |- HTMLHelp -|- nagdoc_fl25.chm  (Manual in HTML Help format)
            |- mkl_intel64_11.2.1 -|- *  (Intel Math Kernel Library)
            |- rtl -|- *  (Intel compiler run-time libraries)
            |           |- bin -|- *  (directories of license management
            |           |              binaries for supported platforms)
            |- license -|- README.txt
                        |- doc -|- *  (license management documentation)

The following shows the folder and file organization of the Library Manual materials after installation.

nagdoc_fl25 -|- index.html
             |- examples -|- baseresults -|- *.r.html
             |            |- source      -|- *.f90.html (syntax highlighted
             |            |                              source files)
             |            |- data        -|- *.d.html
             |                            |- *.opt.html
             |- html  -|- frontmatter -|- manconts.html  (main HTML index)
             |         |               |- *.html         (foreword &
             |         |                                  copyright notice)
             |         |
             |         |- genint -|- *.html  (general introductory material)
             |         |
             |         |- [a00-x07] -|- *conts.html  (chapter contents)
             |         |             |- *intro.html  (chapter introduction)
             |         |             |- *f.html      (routine documents)
             |         |
             |         |- figures -|- *.png  (figures and plotfiles)
             |         |
             |         |- indexes -|- kwic.html (keyword and GAMS search)
             |         |
             |         |- styles -|- libdoc.css  (CSS stylesheets)
             |                    |- nagmathml.js   (JavaScript)
             |- pdf   -|- frontmatter -|- manconts.html (main contents page)
                       |               |- manconts.pdf  (main contents page)
                       |               |- *.pdf  (NAG foreword and copyright
                       |                          pages)
                       |- genint -|- *.pdf  (general introductory material)
                       |- [a00-x07] -|- *conts.html   (chapter contents)
                       |             |- *conts.pdf    (chapter contents)
                       |             |- *intro.pdf    (chapter introduction)
                       |             |- *f.pdf        (routine documents)
                       |- indexes -|- indexnote.pdf
                       |           |- kwic.html     (keyword and GAMS search)
                       |- inuns -|- usersnote.pdf   (implementation-specific

Details of the software are given in the Users' Note (un.html).

4. Installation

4.1. Installation of Library Software and Manual

4.1.1. Library Installation

You must have Administrator privileges to install this software.

Assuming you have downloaded the Library materials from our website, run the self-extracting executable (flw6i25dcl_setup.exe) to start the Library installation. The Library Manual materials are available as a separate download.

By default, the Library materials are installed in

C:\Program Files\NAG\FL25\flw6i25dcl
or the equivalent for your locale.

The installation procedure will also create several shortcuts, which are described in this document or in the Users' Note. The default location of these shortcuts is in the Start Menu under

  Start|All Programs|NAG|FL25|NAG Fortran Library (FLW6I25DCL)

(Under Windows 8, the shortcuts appear under the list of all applications. To find this, click on the All apps button on the Start screen, which is typically located near the bottom left or bottom right corner of the screen. You may need to right-click on the background of the Start screen first to see the All apps button. The shortcuts are listed under the NAG section. Alternatively, typing "NAG" on the Start Screen will bring up a list of all shortcuts containing the word "NAG".)

The environment variable NAG_FLW6I25DCL is needed by the batch files nag_example_*.bat (see Section 3.3 of the Users' Note). This is set in the registry as part of the installation procedure. Optionally, the PATH, LIB and INCLUDE environment variables may also be updated during installation.

This software is provided with an uninstallation facility via

  Control Panel|Add or Remove Programs
on Windows XP, or via
  Control Panel|Programs|Uninstall a Program
  Control Panel|Programs and Features|Uninstall or change a program
on Windows Vista, Windows 7 or Windows 8 (depending on which view is displayed).

(On Windows 8, the Control Panel may be found by selecting Desktop from the Start screen, then moving the mouse to the top right corner of the screen to bring up a menu on the right hand side of the screen. From this menu, select Settings and then select Control Panel.)

4.1.2. Library Manual Installation

The Library Manual may be installed alongside the Library software, or it may be installed on a different workstation or server, or viewed from the NAG website (

Assuming you have downloaded the Library Manual materials from our website, run the self-extracting executable (setup_fl25_manual.exe) to start the Library Manual installation.

By default, the Library Manual materials are installed in

  C:\Program Files\NAG\Mark 25 Manual\nagdoc_fl25
or the equivalent for your locale.

The installation will also create shortcuts to the main index files for the manual. The default location of these shortcuts is in the Start Menu under

  Start|All Programs|NAG|Mark 25 Manual
See Section 5 of the Users' Note for details.

4.1.3. Silent Installation

This product may be installed in silent (unattended) mode by running
  flw6i25dcl_setup.exe /silent
  flw6i25dcl_setup.exe /verysilent
from a Command Prompt. With the first version, the user sees a progress bar on the screen as the installation occurs, whereas with the second, nothing is displayed. The files will be installed to the default location and the PATH, LIB and INCLUDE environment variables will be modified. The default installation location may be overridden by using the /dir switch, e.g. /dir="C:\my folder". To prevent the environment variables being updated, the /type=noenv option may be used.

Similarly, the /silent or /verysilent switches may also be applied to the Library Manual installer setup_fl25_manual.exe.

4.1.4. License Management

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

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. For evaluation purposes a trial license may be used. Before obtaining a full license you need to know the Kusari hostid of the system on which you intend to use this product. How to do this is described below.

The easiest way to request a license key is to use the Kusari Installer GUI described in the next section. Once you have a key, the same GUI can be used to install it.

The information below covers the most common requirements. For more complex licensing situations, please see the Kusari documentation (the files k-using-win.pdf and k-install-win.pdf in the flw6i25dcl\license\doc folder). See also the Kusari FAQ: The Kusari Installer license key request and key installation program

The recommended way to request a license key is to use the Kusari Installer GUI program provided. This will help you to build a standard message requesting either a trial key or a full key which can be pasted into an email to the NAG Technical Support Service. In the case of a full key, the message contains the Kusari hostid.

To request a license key, run the Kusari Installer program, which may be accessed at the end of the installation procedure or via the Start Menu shortcut

  Start|All Programs|NAG|FL25|NAG Fortran Library (FLW6I25DCL)|
      NAG FLW6I25DCL Licence, Request or Install
and click on the Request New Licence button to bring up the New Licence Request form. Fill in your details and click on Generate Licence Request, then paste the generated information into your email client and send it to the NAG address given at the top of the generated information.

The NAG support team will send you the Kusari license key by email.

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

  FLW6I25DC TRIAL 2014/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 typically include the word NODE or FULL instead of the word TRIAL above and may contain extra fields.

Once you have obtained one of the above license keys, the Kusari Installer program may be used to install the key in the Windows Registry. Paste the key into the edit box on the main Kusari Installer dialog and then click on the Install Licence Key button to install it. Command line license key request

If for any reason it is impractical to use the GUI, the command line program khostid may be run instead. The output of this command should be sent to the NAG Technical Support Service with your details, your organisation details and your NAG customer reference number (if known).

The khostid command may be found in the flw6i25dcl\bin folder. Command line installation of the license key in the registry

If not using the GUI, the klreg program may be executed from a command prompt to install a key in the registry. This program may be found in the flw6i25dcl\bin folder. First put the license key in a file, say license.dat. If you have administrator privileges you can install the key for all users,
  klreg FLW6I25DC license.dat
Otherwise the key can be installed for the current user,
  klreg /current_user FLW6I25DC license.dat Installing the license key in a file

You are recommended to install the license key in the registry as described above. If this is not suitable an alternative method is to put the license key into a file accessible from the machine for which the software is licensed and set the environment variable NAG_KUSARI_FILE to the full pathname of the license file.

The environment variable may be set from the Control Panel. USB key licenses

Simply insert the USB key in any spare USB socket on the machine on which you wish to run this product. Testing the license

The A00ACF example program may be used to check the license is properly installed or the diagnostic program NAG_Fortran_DLL_info.exe can be used to check both accessibility and licensing (see Section 4.2.2).

4.2. Further Information

4.2.1. Checking the Installation

Access to the Library materials can be checked by running a few example programs following the advice given in the Users' Note, Section 3.1; a suitable sample would be D01AUF, E04UCA and F07ADF. The installation can also be tested using the batch files nag_example_*.bat (see Users' Note, Section 3.3).

4.2.2. Accessibility Check

The diagnostic program NAG_Fortran_DLL_info.exe, which by default is located in C:\Program Files\NAG\FL25\flw6i25dcl\diagnostics, may be used to check whether the DLLs FLW6I25DC_nag.dll and FLW6I25DC_mkl.dll are accessible from the current environment. If this program is started from Windows Explorer or from the
  Start|All Programs|NAG|FL25|NAG Fortran Library (FLW6I25DCL)|
      Check NAG FLW6I25DCL DLL Accessibility
shortcut on the Start Menu, the DLLs will be found if the global PATH environment variable has been set to include their location. If it is run from a Command Prompt window, then the environment local to that window will prevail. (See Section 3.1.1 of the Users' Note for more information on environment variables.)

For each of the DLLs that it loads successfully, NAG_Fortran_DLL_info.exe will print the location of the DLL, and the implementation details as provided by a call to the routine A00AAF. It also calls A00ACF to check the availability of a valid license key and reports if this is not found; "Status OK" indicates that a valid key was either found or not required.

5. Support from NAG

Please see

for information about the NAG Technical Support Service, including details of the NAG Technical Support Service contact points. We would also be delighted to received your feedback on NAG's products and services.

6. Contact Addresses

Please see

for worldwide contact details for the Numerical Algorithms Group.