Your attention is drawn to the terms and conditions of the Software License regarding the use of NAG software. Any request to use this software other than on the licensed computer 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 C Library that is considered suitable for operation on the computer systems detailed below:
hardware: 32 bit Intel x86 systems and compatible operating system: Windows XP/2003 C compiler: Microsoft Visual C++ .NET 2005 (Release 8.0)
This implementation is also suitable for operation with Microsoft Visual C++ Versions 6.0 and 7.0. The DLL version has some restrictions on I/O when used with a C compiler other than Microsoft Visual C++ .NET Release 8.0, please see below.
A separate DLL implementation is available for use from environments like Visual Basic and Excel. This contains examples, projects and aids to interoperate the DLL with a number of languages and environments. Please see http://www.nag.co.uk/numeric/Num_DLLhelp.asp for the latest information.
This implementation was produced at NAG Ltd., Oxford on the computing system detailed below:
hardware: Dell Pentium 4 workstation operating system: Windows XP sp2 C compiler: Microsoft Visual C/C++ Version 6.0
The DLL files in this implementation were created using the Microsoft Visual C++ .NET Release 8.0 linker and C run time libraries on a Windows XP system. Hence these DLLs are linked with MSVCR80.DLL. The redistributable versions of the Microsoft Visual C++ .NET Release 8.0 run time libraries are included in this product in the bin folder.
All the libraries in this distribution have been tested on Windows XP with
These problems are not found in the static versions of the NAG C Library.
The entire NAG C Library, Mark 8, was compiled with compiler optimization /O2 except one internal routine that was compiled with /Od.
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 C Library Manual).
The library has also been tested with MKL Version 8.0. The MKL Version 8.0 libraries are supplied as a part of this product (see contents).
The LAPACK functions DBDSQR, DORMQR, ZBDSQR, ZHPEVD and ZUNMQR in MKL are not used; instead the NAG functions of the same name are called.
|- doc -|- in.html (Installer's Note, (this document)) | |- un.html (Users' Note) | |- lic_agr.txt | | |- nagc_example_*.bat (Batch files to compile | | and run NAG example programs) |- batch -| | | | |- envvars.bat (Batch files to set environment | variables for the NAG C Library) | | |- CLW3208DA_nag.dll (DLL including | | NAG BLAS/LAPACK) |- bin -| | | | |- CLW3208DA_mkl.dll (DLL requiring | MKL BLAS/LAPACK) | | | |- source --|- ??????e.c |- examples -|- data ----|- ??????e.d | |- results -|- ??????e.r | clw3208dal -|- include -|- *.h | | |- CLW3208DA_nag.lib (DLL import library | | including NAG BLAS/LAPACK) | | | |- CLW3208DA_mkl.lib (DLL import library | | requiring MKL BLAS/LAPACK) | | |- lib -|- nagc_nag_MT.lib (static library including | | NAG BLAS/LAPACK compiled with /MT) | | | |- nagc_mkl_MT.lib (static library requiring | | MKL BLAS/LAPACK compiled with /MT) | | | |- nagc_nag_MD.lib (static library including | NAG BLAS/LAPACK compiled with /MD) | | |- bin -|- * (directories of binaries | | for supported platforms) |- license -|- README.TXT | | | |- doc -|- * (End User Guide) | |- MKL_ia32_8.0 --|- * (Intel Math Kernel Library)
nagc_nag_MT.lib is a static library that includes NAG BLAS/LAPACK. nagc_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 multi-threaded C 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 C run time libraries.
CLW3208DA_nag.lib is a DLL import library that includes NAG BLAS/LAPACK. CLW3208DA_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 multi-threaded DLL C 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 C run time libraries.
nagc_nag_MD.lib is an alternate version of the static library that includes NAG BLAS/LAPACK and is compiled with the /MD option. It is provided for applications which require the multi-threaded DLL C run time library to be used. There is no MKL version of this library as there is no compatible MKL static library.
The following shows the folder/file organization of the Library
Manual as they will be installed. By default,
manual -|- examples -|- replaced -|- *.c | |- baseresults -|- *.r | |- source -|- *.c | |- data -|- *.d | |- html -|- mark8.html (main HTML index) | | | |- [A00-X04] -|- *conts.html (chapter contents) | | | |- genint -|- cl_*.html (general introductory material | | and online help document) | | | |- indexes -|- gams -|- cl_gams.html (GAMS index) | | | |- cl*.html (GAMS files) | | | | | |- kwic -|- cl_kwic.html (KWIC index) | | |- cl*.html (KWIC files) | | | |- styles -|- libdoc.css (main CSS stylesheet) | |- pdf -|- frontmatter -|- mark8.pdf (NAG copyright and main | pdf page) | |- [A00-X04] -|- *conts.pdf (chapter contents) | |- *intro.pdf (chapter introduction) | |- *c.pdf (routine documents) | |- genint -|- *.pdf (general introductory material | and online help document) | |- indexes -|- *.pdf (bookmarked file containing links | to cl_kwic.html and cl_gams.html) | |- INUNs -|- *.pdf (implementation specific note)
libraries: 79.1 MB MKL: 71.3 MB batch files: 16 KB include files: 0.8 MB example program material: 10.4 MB Library Manual: 141 MB implementation specific documentation: 52 KB licensing materials 2.3 MB
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:\Demo32 C_Library_Browser.dbdto 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, 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 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|CL08|NAG C Library - Microsoft C++ (CLW3208DAL). Command Prompt
The local environment variable NAG_CLW3208DAL is needed by the batch files nagc_example_*.bat (see Section 3.1.1. of the Users' Note (un.html)).
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|CL08|NAG C Library - Microsoft C++ (CLW3208DAL). Users' Note
This software is provided with an uninstallation facility via
Control Panel|Add or Remove Programs
Alternatively you could run the setup program again and select the Remove option.
If it is planned to use Microsoft Visual Studio to build programs that use the NAG C Library, each user should set the appropriate options. Start Visual Studio and from the "Tools" menu, select "Options" and expand the "Projects and Solutions" section and click the "VC++ Directories" entry. Using the "Show directories for" menu,
The above instructions are specific to Microsoft Visual Studio 2005; if a different version of Visual Studio is being used the procedure will differ slightly.
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:\Demo32 C_Library_Browser.dbdto run the browser, or run e:\setup_cl08_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 a shortcut to the main index file for the manual. The default location of this shortcut is in the Start Menu under
Start|All Programs|NAG|CL08|NAG C Library Manual
Free copies of Adobe Acrobat Reader can be downloaded from http://www.adobe.com/. 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.
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.
To request a license key, run the program khostid.exe located in the license\bin\w32\ subdirectory of the software distribution. This utility must be run from a command prompt. Return the information that it displays by e-mail (or FAX) to NAG.
A short term (demonstration or trial) license key contains one or more lines like the following:
CLW3208DA TRIAL 2006/11/12 "EMnxidA3oeoj0F1Yvi5ibxPjB7"Specifically, it has a line containing the word TRIAL and is referred to here as an uncounted license key. Longer term uncounted 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. Other types of keys may also be issued.
Once you have obtained the license key, store the text of it in a file, say [INSTALL_DIR]\license.lic.
For an uncounted license, the location of the license file must be made known to the NAG application by setting the environment variable NAG_KUSARI_FILE to the full pathname of the file before the application is invoked.
The environment variable may be set as follows:
Further details about Kusari and how it may be configured to suit your local circumstances are included in the Kusari Licence Management User Guide.
The following material should also be made accessible to users:
The CL08\manual folder contains the online documentation. This should be made available to users, in addition to the following:
lib\CLW3208DA_mkl.lib lib\CLW3208DA_nag.lib lib\nagc_mkl_MT.lib lib\nagc_nag_MD.lib lib\nagc_nag_MT.lib bin\CLW3208DA_mkl.dll bin\CLW3208DA_nag.dll MKL_ia32_8.0\lib\* MKL_ia32_8.0\bin\*include files:
include\*example program material:
examples\source\*.f examples\data\*.d examples\results\*.r batch\nagc_example*.batbatch file to set environment variables:
Note that the example material has been adapted, if necessary, from that published in the NAG C Library Manual, so that programs are suitable for execution with this implementation with no further changes (but see Section 4.3.1 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.
Online documentation is bundled with this implementation. Please see Section 4. See Section 3.1 for online help files in HTML and PDF formats.
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 CLW3208DAL).
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 1431 Opus Place, Suite 220 Downers Grove IL 60515-1362 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