NAG DMC, Release 2


Compaq Alpha Tru64 UNIX

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 the NAG DMC that is considered suitable for operation on the computer systems detailed below:

hardware:         Compaq/DEC Alpha systems
operating system: Tru64/Digital UNIX V4.0 or compatible
C compiler:       Tru64/Digital UNIX C compiler Version 3.11 or compatible 

2.2. Derivation

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

hardware:         Digital Alpha EV6/DEC6600
operating system: Digital UNIX V4.0F (Rev. 1229)
C compiler:       C compiler Version 3.11
compiler options: -std0 -w0

3. Distribution Medium

The software is provided in tar format, ordinarily distributed on a CD-ROM.

3.1. Contents

The following shows the directory/file organization of the library materials as they will be installed.
                               |-- *.html
               |-- documents --|-- *.pdf   
               |               |-- *.c
               |-- examples ---|-- *.dat
               |               |-- results --|-- *.r
drdau20da -----|
               |-- include ----|-- *.h
               |-- library ----|-- libnagdmc.a
               |               |-- bin ------|-- * (directories of FLEXlm binaries
               |               |                    for supported platforms)
               |-- licence ----|
                               |             |-- flexfaq ---|-- *.htm (FLEXlm FAQ)
                               |-- htmlman --|                         
                                             |-- flexuser --|-- *.htm (FLEXLM End
                                                                       User Manual)

4. Installation

4.1. Product Installation

To install NAG DMC use the Unix tar utility, e.g.,

tar xvf /cdrom/drdau20da.tar
(assuming the CD-ROM has been mounted as /cdrom).

The object library (library/libnagdmc.a) should be moved to a directory, such as /usr/lib, in the default search path of the linker, if possible, so that linkage is convenient.

The include files, in directory include, should be moved to a directory such as /usr/include so that they can be accessed during compilation, e.g.,

mv include/*.h /usr/include

4.1.1. Licence Management

The use of NAG DMC is controlled by the FLEXlm network licence management system (FLEXlm is a registered trademark of Globetrotter Software Inc). This release of NAG DMC uses version 9.2 of FLEXlm.

In order to enable the software, NAG will issue you with a licence key. The licence key is a simple text file (usually called licence.dat), containing details of the software that will be enabled.

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

FEATURE NAG_DMC NAG 2.000 10-apr-2004 0 CBDA2041DC1BC45D2B68 "ANY" DEMO

Specifically, it does not have any lines starting with the word SERVER and is referred to here as an uncounted licence key. Longer term uncounted licence keys must be locked to a specific computer, i.e., they will enable the software on one computer only. These licence keys include the FLEXlm hostid of the computer instead of the word DEMO above.

To apply for a longer term licence key, contact one of the NAG Response Centres quoting the product to be licenced and the FLEXlm hostid for the computer. To obtain the FLEXlm hostid, select the appropriate lmutil program from the platform specific directory under the licence/bin/ subdirectory, and run it with argument lmhostid:

licence/bin/alpha_u3/lmutil lmhostid

On systems without an ethernet card, use the arguments lmhostid -long.

Once you have obtained the licence key, store the text of it in a file, say /usr/local/lib/nag/licence.dat.

The location of this file must be made known to the NAG application by setting the environment variable LM_LICENSE_FILE to the full pathname of the file before the application is invoked.

For example, in the C-shell, type:

setenv LM_LICENSE_FILE /usr/local/lib/nag/licence.dat
or in the Bourne shell, type:

No other actions are required to install an uncounted licence.

Further details about FLEXlm and how it may be configured to suit your local circumstances are included in the FLEXlm End Users Guide supplied in the licence/htmlman/flexuser/ subdirectory.

4.2. Documentation Installation

The documentation for the NAG DMC is located in directory documents and comprises of both HTML and PDF files. You are encouraged to make the documentation readily available to users, but in such a way that it is not generally accessible from outside your site. Please note that if you do not have a PDF viewer available then the Adobe Acrobat Reader can be downloaded free of charge from the Adobe Web site at

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 libnagdmc.a and the C compiler Version 3.11.

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 DRDAU20DA).

(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