Your attention is drawn to the terms and conditions of the software licence regarding the use of NAG software. Any request to use NAG software on a computer other than the one licensed must be referred to NAG, as should requests for information about the availability of other implementations.
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: 32-bit Intel systems and compatibles operating system: Windows 95, 98, NT, ME, 2000 or XP Fortran compiler: Compaq Visual Fortran version 6.1 and compatible
This implementation can be called from Microsoft Visual C++ versions 5.x and 6.x, Microsoft Visual Basic, Excel and other Windows software.
This implementation was produced at NAG Ltd, Oxford on the computing system detailed below:
hardware: Dell OptiPlex GX1 operating system: Windows NT 4.0 Fortran compiler: Compaq Visual Fortran version 6.1 compiler options: /c
The entire NAG Fortran Library, Mark 20, was compiled with full optimization (/optimize:5), except for the following routines which had to be compiled at lesser optimization levels:
E02AHZT.FOR (/optimize:0) E04GZFT.FOR (/optimize:0)
This library incorporates the Basic Linear Algebra Subprograms (BLAS) and LAPACK routines provided in the Intel MKL Library, version 5.1.
|-- licenced_in.html |-- un.html |-- blas_lapack_to_nag |-- Doc --|-- nag_to_blas_lapack | |-- nagfl20.chm | |-- readme.txt | | | |-- manual20 --|-- pdf ---|-- * ------------|-- *.pdf | | | | |-- frontmatter --|-- foreword.html | | |-- genint -------|-- *.html | | |-- images -------|-- *.* | | | |-- *.gif | | | | |-- html --|-- indexes ------|-- *.* | | |-- *.* | | | |-- toc ----------|-- *.html | |-- libdoc.css | |-- mark20.html | | |-- nagmk20.hxx |-- headers --|-- techdoc.html | |-- nagmk20.h | FLDLL204Z --| |-- DLL20DD.*, DLL20DDS.* |-- mkl*.*, libguide.dll |-- msvcrt.dll, dforrt.dll |-- fldll204z.isu | |-- interface_blocks --|-- *.mod | |-- source --|-- *.f90 | | |-- source ---|-- *.f |-- examples --|-- data -----|-- *.d | |-- results --|-- *.res | |-- batch --|-- nagex.bat | | |-- c_examples -------| *.* | |-- delphi_examples --| *.* |-- samples -- |-- excel_examples ---| *.* | |-- vb.net_examples --| *.* | |-- vb_examples ------| *.* | | |-- vb --|-- *.* |-- vb_headers --| | |-- vb.net --|-- *.* | |-- mesh_view --|-- *.*
compiled libraries: 25.9 Mb interface blocks: 2.7 Mb example program material: 4.8 Mb documentation files: 142.0 Mb C and C++ header material: 1.0 Mb Samples: 1.4 Mb Mesh View 2.6 Mb VB Headers 1.0 Mb
The CD should autorun on Windows systems, and will then 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 one of the NAG Response Centres (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 of the materials from CD-ROM or just some part of it, for example the library documentation files.
An uninstall facility is provided. This will remove the product from the user's disk. It will also undo the registry entries made during installation, but will not undo any changes to the autoexec.bat file. The uninstaller will not remove files created since the installation was completed (although it will remove original files that have been modified), so the user may have to delete these files to complete the removal.
After installation you should ensure that the software requested is present by examining the target directory using Windows Explorer.
The NAG Fortran Library Interface Blocks define the type and arguments of each user callable NAG Fortran Library routine, using Fortran 90 constructs. Although they are not essential for calling the NAG Fortran Library, they will allow a Fortran 90 compiler (such as the Compaq Visual Fortran compiler) to check that NAG Fortran Library routines are called correctly.
The interface block files (.\Interface_blocks\*.mod) are supplied in pre-compiled module form. They should be made accessible to the user. If you are using a different version of the Compaq Visual Fortran compiler from that mentioned in Section 2.1, it may be necessary to recompile the interface blocks before making them available.
The batch file, nagex.bat, which enables a NAG example program to be run, requires the setting of the environment variables DLLDDDIR. DLLDDDIR should be set to the root directory of the NAG materials.
Under Windows NT, 2000 and XP, the environment variable values may be set using the Control Panel. Under Windows NT, this may be found from the Start Menu by following the Settings/Control Panel/System/Environments route. If the default location is used, set the variable to
DLLDDDIRand the value to
c:\Program Files\Numerical Algorithms Group\FLDLL204Z
Under Windows 95/98, the autoexec.bat file can be edited to add the environment variables. For example, if the default location is used, add the line
set DLLDDDIR=c:\Program Files\Numerical Algorithms Group\FLDLL204Zto set DLLDDDIR.
The batch file should be made accessible to the user (for example, by copying the file to a directory in the user's path).
The installation procedure will attempt to add the library and module files paths to the LIB and INCLUDE environment variables respectively. We recommend that you check that this has been done successfully. Correct LIB and INCLUDE environment variables will enable you to link the library and to use the interface blocks on the command line. Under Windows NT, 2000 and XP, the environment variables can be set via the Control Panel; under Windows 95/98, this requires a change to the autoexec.bat file.
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.
set OMP_NUM_THREADS=2This 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 NAG library routines.
This product works in conjunction with a licence key which has to be provided by NAG.
To obtain this first begin the installation process. You will be prompted to describe the type of licence key you require. 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 the library for usage indefinitely on the given processor. Once you have decided, the installation process will generate a file containing information which NAG will need in order to give you a valid licence for your machine. Either send this file electronically, or by FAX or post, to NAG. In return NAG will send you a valid licence key.
If you have received a file containing the key then simply be place the file, with the name 'Licence.txt', in the directory in which you want the library to be placed. Otherwise have the licence key beside you. In either case you must begin the installation process again. You will now be able to respond that you have a licence key. If you have not placed a file containing the key into the installation directory then you will be invited to type the licence key into the system. You may type the key with or without the hyphens.
Thereafter respond to the prompts from the installation script.
The installation can also be tested using the script nagex.bat, which will copy an example program and its data, compile it, link it with the library and run it. To run an example program, make sure that the location of nagex.bat is on the path and create, for example, the directory c:\test. Make c:\test the current directory and then issue, for example, the command:
nagex c06eaf
The following material should also be made accessible to users.
Documentation files:
The doc directory contains online documentation. This should be made available to users, in addition to the following
.\doc\blas_lapack_to_nag .\doc\nag_to_blas_lapack .\doc\un.htmlNAG libraries:
DLL20DD.lib and DLL20DDS.lib plus the associated DLLsInterface block files:
.\interface_blocks\*.modExample program material:
.\examples\source\*.f .\examples\data\*.d .\examples\results\*.res .\batch\nagex.batC header material:
.\headers\nagmk20.h .\headers\nagmk20.hxx .\headers\techdoc.html .\headers\mk20\*.cVB header material:
.\vb_headers\*.*Sample materials:
.\samples\c_examples\*.* .\samples\delphi_examples\*.* .\samples\excel_examples\*.* .\samples\vb.net_examples\*.* .\samples\vb_examples\*.*
Note that the example material has been adapted, where necessary, from that supplied in the online documentation, so that programs are suitable for execution with this implementation with no further changes (but see Section 4.4.2 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.
The "example programs" for the routines in the F06 chapter are not typical example programs and they are not in the online documentation. They are test programs, which are supplied to sites for use in an installation test of the Library. Some of them take much longer to run than other example programs. Calls to BLAS-names access the MKL routines; calls to NAG versions of the BLAS via the NAG name access high-level Fortran versions of the BLAS.
A full online version of the NAG Fortran Library Manual is provided in the form of Portable Document Format (PDF) files, and is included with this implementation on the distribution medium.
Online documentation of the routines is also provided in Windows HTML help file form as part of this implementation.
Printed copies of the NAG Fortran Library 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.
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 the NAG product code, FLDLL204Z.
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
http://www.nag.co.uk/
,
http://www.nag.com/ (in North America)
or
http://www.nag-j.co.jp/ (in Japan).
NAG Ltd Wilkinson House Jordan Hill Road OXFORD OX2 8DR NAG Ltd Response Centre United Kingdom email: support@nag.co.uk Tel: +44 (0)1865 511245 Tel: +44 (0)1865 311744 Fax: +44 (0)1865 310139 Fax: +44 (0)1865 310139 NAG Inc 1431 Opus Place, Suite 220 Downers Grove IL 60515-1362 NAG Inc Response Center USA email: infodesk@nag.com 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 4-9-9 Hatchobori Chuo-ku Tokyo 104-0032 Japan email: help@nag-j.co.jp Tel: +81 (0)3 5542 6311 Fax: +81 (0)3 5542 6312