NAG DMC, Release 2


Windows 95/98/NT/2000/XP Dynamic Link Library (32-bit)

Installer's Note


1. Introduction

This document is essential reading for whoever is responsible for the installation of the NAG DMC implementation specified in the title. Both this and the Users' Note (un.html) are supplied on the distribution medium.

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 licenced must be referred to NAG, as should requests for information on the availability of other implementations (see Section 5).

2. Implementation Provided

2.1. Applicability

This implementation is a compiled, tested, ready-to-use version of NAG DMC that is considered suitable for operation on the computer systems detailed below:

hardware:         Intel Pentium based PCs or compatible 
operating system: Windows 95/98 or Windows NT/2000/XP
C compiler:       Microsoft C/C++ Version 6.0 and compatible

2.2. Derivation

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

hardware:         Dell Pentium 4 workstation
operating system: Windows 2000
C compiler:       Microsoft C/C++ Version 6.0
compiler options: /Gz /O2

The compiler option /Gz means "compile using __stdcall calling convention"; compiler option /O2 is the optimization level.

3. Distribution Medium

The software is ordinarily distributed on CD-ROM.

3.1. Contents

The following shows the directory/file organization of the library materials as they will be installed.
                                         |-- *.html
                          |-- Doc -------|-- *.pdf   
                          |              |-- *.c
                          |-- Examples --|-- *.dat
                          |              |-- Results --|-- *.r
 DMC ----- DRDLL20DA -----|
                          |-- Include  --|-- *.h
                          |              |-- nagdmc.dll
                          |-- Library  --|-- nagdmc.exp
                          |              |-- nagdmc.lib
                          |-- Licence  --|-- key_inst.exe				 

4. Installation

4.1. Product Installation

On some systems, e.g., Windows 2000 and XP, you may need to be Administrator to install this software.

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 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(s) of them, e.g., the documentation files.

The installation procedure will prompt you to type or "cut and paste" your licence key. Should you subsequently require to install a new licence key, the program "Licence/key_inst.exe" is supplied to do this.

An uninstall facility is provided from the Windows Control Panel "Add/Remove Programs" icon. This will remove the product from the user's disk. It will also undo the registry entries made during installation. 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.

On Windows 98 the environment space may need to be extended to allow environment variables to be set. Add the following line to the autoexec.bat file. /e:number
Suggested values for "number" are 1024 or 2048.

The installation procedure will try to set the PATH, INCLUDE and LIB environment variables for the installer. If this is not possible, the PATH, INCLUDE and LIB environment variables should be set manually to include the locations of the installed Library, Include and Library directories, respectively.

4.2. Documentation Installation

If you do not already have a copy of Adobe Acrobat Reader for your platform, a free copy can be downloaded from 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 non-standard characters, such as integral signs, square roots and large brackets. These characters will print correctly using Adobe Acrobat 5.0.

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 directory, and then not be able to navigate from there.

4.3. Release to Users

The installer should ensure that the advice given to users in Sections 3.1 and 3.2 of the Users' Note (un.html) is suitable for the installation. This can be done by running a few example programs, in directory Examples, following that advice. Results printed by example programs should be checked against the respective results located in directory Examples\Results.

The following material should also be made accessible to users:

compiled library:

include files:
example program material:
documentation files:

4.4. Example Programs

The example results distributed were generated at Release 2 of NAG DMC, using the library nagdmc.dll and the Microsoft Visual C/C++ compiler under Microsoft Visual Studio 6.0.

These example results may not be exactly reproducible if the example programs are run in a slightly different environment (for example, a different C compiler, a different compiler library or different arithmetic hardware).

5. 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 licenced 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 DRDLL20DA).

(c) NAG Websites

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, (in North America) or (in Japan)

(d) NAG Electronic Newsletter

If you would like to be kept up to date with news from NAG then please register to receive our free electronic newsletter, which will alert you to special offers, announcements about new products or product/service enhancements, customer stories and NAG's event diary. You can register via one of our websites, or by contacting us at

6. 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 delighted to receive your comments. Please contact your local NAG Response Centre (shown below).

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
Hatchobori Frontier Building 2F

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