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.
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: x86-64 systems operating system: Microsoft Windows XP/Vista/7 Fortran compiler: Intel(R) Visual Fortran Compiler for 64-bit applications Version 10.1 and compatible (including Version 11.1)
This implementation was produced at NAG Ltd., Oxford on the computing system detailed below:
hardware: AMD 64bits 2.19GHz, 3.5 GB operating system: Microsoft Windows Server 2003 Enterprise x64 Edition Microsoft Visual Studio 2008 Fortran compiler: Intel(R) Fortran Compiler for 64-bit applications Version 10.1 Build 20080602Z Package ID: w_fc_pc_10.1.024
The NAG Fortran Library, Mark 22, was compiled with
the highest level of optimization that enabled the functionality
provided by the library to be verified and validated.
All the files were compiled with optimization level /03, except the following files which had
to be compiled at lesser level
g03fazn.f s17dean.f f11dqfn.f
This implementation has been tested on the computing systems detailed below:
hardware: Intel Pentium D 3.00 GHz 2.00 GB operating system: Microsoft Windows Vista Business 64 bits Microsoft Visual Studio 2005 Fortran compiler: Intel(R) Visual Fortran Intel(R) 64 Compiler Professional for applications running on Intel(R) 64 Version 11.1 Build 200950511 Package ID: w_cprof_p_11.1.035 hardware: Intel Pentium D 3.00 GHz 2.00 GB operating system: Microsoft Windows 7 Ultimate 64 bits Microsoft Visual Studio 2008 and 2005 Fortran compiler: Intel(R) Visual Fortran Intel(R) 64 Compiler Professional for applications running on Intel(R) 64 Version 11.1 Build 20091012 Package ID: w_cprof_p_11.1.051
This library has been tested using the Basic Linear Algebra Subprograms (BLAS) and linear algebra routines (LAPACK) provided by NAG (see the Chapter Introductions for F06, F07 and F08 in the NAG Mark 22 Library Manual, which we will refer to as the Library Manual).
The library has been also tested with version 10.1.2.026 of the Intel ® Math Kernel Library for Windows (MKL) which is supplied as a part of this product (see Section 3.1). Please see the Intel website for further information about MKL (http://www.intel.com/software/products/mkl).
Please check the following URL:
for details of any new information related to the applicability or usage of this implementation.
|- in.html (Installer's Note, (this document)) |- doc -|- un.html (Users' Note) | |- lic_agr.txt | | |- nag_example_*.bat (Batch files to compile | | and run NAG example programs) |- batch -| | |- envvars.bat (Batch files to set environment | variables for the NAG Library) | | |- FLW6I22DC_nag.dll (DLL including | | NAG BLAS/LAPACK) | | |- bin -|- FLW6I22DC_mkl.dll (DLL requiring | | MKL BLAS/LAPACK) | | | |- * (Other support files) | flw6i22dcl -| | |- FLW6I22DC_nag.lib (DLL import library | | including NAG BLAS/LAPACK) | | | |- FLW6I22DC_mkl.lib (DLL import library | | requiring MKL BLAS/LAPACK) | | |- 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 -|- * | | |- source --|- ??????e.f |- examples -|- data ----|- ??????e.d | |- results -|- ??????e.r | |- source_interface_blocks.zip | |- diagnostics -|- NAG_Fortran_DLL_info.exe | |- MKL_em64t_10.1 -|- * (Intel Math Kernel Library) | | |- bin -|- * (directories of binaries | | for supported platforms) |- license -|- README.TXT | |- doc -|- * (End User Guide)
nag_nag_MT.lib is a static library that includes NAG BLAS/LAPACK. nag_mkl_MT.lib is a static library that does not include BLAS/LAPACK. Both libraries have been compiled with the /MT option to link with the static multithreaded run-time library. This option must be used when compiling applications to be linked with either of these libraries to ensure linking to the correct run-time libraries.
FLW6I22DC_nag.lib is a DLL import library that includes NAG BLAS/LAPACK. FLW6I22DC_mkl.lib is a DLL import library that does not include BLAS/LAPACK. Both libraries have been compiled with the /MD option to link with the multithreaded DLL run-time library. This option must be used when compiling applications to be linked with either of these libraries to ensure linking to the correct run-time libraries.
nag_nag_MD.lib and nag_mkl_MD.lib are alternative versions of the static libraries nag_nag_MT.lib and nag_mkl_MT.lib. They are provided for applications which require the multithreaded DLL run-time library to be used.
The following shows the folder and file organization of the Library
Manual materials as they will be installed. By default,
nagdoc_fl22 -|- examples -|- baseresults -|- ??????*.r | |- source -|- ??????*.f | |- data -|- ??????*.d | |- html -|- FRONTMATTER -|- manconts.html (main HTML index) | | |- *.html (foreword & copyright) | | | |- [A00-X05] -|- *conts.html (chapter contents) | | | |- GENINT -|- *.html (general introductory material) | | | |- INDEXES -|- GAMS -|- gams.html (GAMS index) | | | |- *.html (GAMS files) | | | | | |- KWIC -|- kwic.html (KWIC index) | | |- *.html (KWIC files) | | | |- styles -|- libdoc.css (main CSS stylesheet) | |- pdf -|- FRONTMATTER -|- manconts.pdf (NAG copyright and | | | main pdf page) | | |- foreword.pdf | | | |- [A00-X05] -|- *conts.pdf (chapter contents) | | |- *intro.pdf (chapter introduction) | | |- *f.pdf (routine documents) | | | |- GENINT -|- *.pdf (general introductory material) | | | |- INDEXES -|- *.pdf (bookmarked file containing links | | to kwic.xml and gams.xml) | | | |- INUNs -|- usersnote.pdf (implementation specific | note) | |- xhtml -|- FRONTMATTER -|- manconts.xml (main XHTML index) | |- *.xml (foreword & copyright) | |- [A00-X05] -|- *conts.xml (chapter contents) | |- figures -|- *.png (figures and plotfiles) | |- GENINT -|- *.xml (general introductory material) | |- INDEXES -|- GAMS -|- gams.xml (GAMS index) | | |- *.xml (GAMS files) | | | |- KWIC -|- kwic.xml (KWIC index) | |- *.xml (KWIC files) | |- styles -|- libdoc.css (main CSS stylesheet)
The files require approximately the following disk space:
Library software: 523 MB Library Manual: 314 MBbut note that the actual disk space used on any particular machine is dependent on the hard disk allocation unit (cluster) size.
If you have the Library materials on CD, insert the CD into your CD
drive to display the NAG CD browser. Click on the
e:\NAG_Installation_Browser.exeto run the browser, or run e:\setup.exe to run the Library installation directly, where e is the drive letter for your CD drive.
If you have downloaded the Library materials from our website, run the self-extracting executable to start the Library installation. The Library Manual materials are available as a separate download.
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 or a multicore chip, then it is recommended that you set the environment variable OMP_NUM_THREADS to the number of available threads, e.g.
set OMP_NUM_THREADS=2This will enable the Intel MKL BLAS to make use of the extra processor(s) / core(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. The default location of this shortcut is in the Start Menu under
Start|All Programs|NAG|FL22|NAG Fortran Library - Intel Fortran (FLW6I22DCL)|FLW6I22DCL Command Prompt
The local environment variable NAG_FLW6I22DCL is needed by the batch files nag_example*.bat (see Section 3.3 of the Users' Note (un.html)).
The NAG Fortran Library interface blocks define the type and arguments of each user callable NAG Fortran Library routine. These are not essential to calling the NAG Fortran Library from Fortran programs. Their purpose is to allow the Fortran compiler to check that NAG Fortran Library routines are called correctly.
The interface block files are supplied in both source form and pre-compiled module form. (The source form is only required if the precompiled form is incompatible with the compiler in use.) The location of the interface block files is added to the local INCLUDE environment variable by running the batch file envvars.bat. It may also have been set globally as part of the installation procedure. This is needed so that the compiler can access the modules at the compilation stage.
The installation procedure also creates a shortcut on the Start Menu to the Users' Note, which by default is located under
Start|All Programs|NAG|FL22|NAG Fortran Library - Intel Fortran (FLW6I22DCL)|Users' Note
There is also a shortcut to the diagnostic program NAG_Fortran_DLL_info.exe under
Start|All Programs|NAG|FL22|NAG Fortran Library - Intel Fortran (FLW6I22DCL)|Check NAG DLL Accessibility (FLW6I22DCL)(see Section 4.2.3).
This software is provided with an uninstallation facility via
Control Panel|Add or Remove Programson Windows XP and via
Control Panel|Programs|Programs and Features|Uninstall a Programon Windows Vista.
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
If you have the Library materials on CD, insert the CD into your CD
drive to display the NAG CD browser. Click on the
e:\NAG_Installation_Browser.exeto run the browser, or run e:\setup_mk22_manual.exe to run the Library manual installation directly, where e is the drive letter for your CD drive.
If you have downloaded the Library Manual materials from our website, run the self-extracting executable to start the Library Manual installation.
The installation will 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|FL22|NAG Fortran Library Manual (XHTML + MathML) Start|All Programs|NAG|FL22|NAG Fortran Library Manual (PDF) Start|All Programs|NAG|FL22|NAG Fortran Library Manual (PDF + HTML Index)See Section 5 of the User's Note for details.
Free copies of Adobe Acrobat Reader (which is required to view PDF files) can be downloaded from http://www.adobe.com/. Please check this site for availability of a reader for your platform.
If you use Internet Explorer as your web browser, you will require Design Science's MathPlayer plug-in in order to display the MathML mathematical expressions correctly for the XHTML/MathML version of the manual. At the end of the Library Manual installation there is an option to install MathPlayer. Selecting this option runs the MathPlayer 2.0b installation, which will install the MathPlayer files (approximately 2.4 Mb) under
C:\Program Files\Design Science
MathPlayer may be removed via
Control Panel|Add or Remove Programson Windows XP, or via
Control Panel|Programs and Features|Uninstall or change a programon Windows Vista, but note that clicking on the Change/Remove button for MathPlayer will remove the MathPlayer files without asking for any confirmation!
MathPlayer may also be downloaded from Design Science's web site:
In order to enable the software, NAG will issue you with a license key. The license key is a simple text file containing 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
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|FL22|NAG Fortran Library - Intel Fortran (FLW6I22DCL)|Request or Install License Keyand click on the
The NAG Response Centre 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:
FLW6I22DC TRIAL 2008/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.
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
The 'khostid' command may be found in the
klreg FLW6I22DC license.datOtherwise the key can be installed for the current user,
klreg /current_user FLW6I22DC license.dat
The environment variable may be set from the Control Panel.
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.3).
Alternatively, run the diagnostic program NAG_Fortran_DLL_info.exe which itself calls A00AAF (see Section 4.2.3).
Start|All Programs|NAG|FL22|NAG Fortran Library - Intel Fortran (FLW6I22DCL)|Check NAG DLL Accessibility (FLW6I22DCL)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.
Note that this program should be closed after use (by pressing a key to dismiss the window), otherwise performance may be impared.
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 and NAG product code (in this case FLW6I22DCL).
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:
http://www.nag.co.uk/, http://www.nag.com/ or http://www.nag-j.co.jp/
NAG Ltd Wilkinson House Jordan Hill Road OXFORD OX2 8DR NAG Ltd Response Centre United Kingdom email: firstname.lastname@example.org Tel: +44 (0)1865 511245 Tel: +44 (0)1865 311744 Fax: +44 (0)1865 310139 Fax: +44 (0)1865 310139 NAG Inc 801 Warrenville Road Suite 185 Lisle, IL 60532-4332 NAG Inc Response Center USA email: email@example.com 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 4-9-9 Hatchobori Chuo-ku Tokyo 104-0032 Japan email: firstname.lastname@example.org Tel: +81 (0)3 5542 6311 Fax: +81 (0)3 5542 6312