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).
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: Intel Pentium or compatible PC operating system: Linux 2.4.20 (Red Hat 9.0) or compatible C compiler: gcc version 3.2.2 or compatible
This implementation was produced at NAG Ltd., Oxford on the computer system detailed below:
hardware: HP Brio operating system: Linux 2.4.20-8 (Red Hat 9.0 (Shrike)) C compiler: gcc version 3.2.2 20030222/(Red Hat Linux 3.2.2-5) compiler options: -O3
|-- *.html |-- documents --|-- *.pdf | | |-- *.c |-- examples ---|-- *.dat | |-- results --|-- *.r drlux20da -----| |-- 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)
To install NAG DMC use the Unix tar utility, e.g.,
tar xvf /cdrom/drlux20da.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
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/i86_r9/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.dator in the Bourne shell, type:
LM_LICENSE_FILE=/usr/local/lib/nag/licence.dat export LM_LICENSE_FILE
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.
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 http://www.adobe.com/.
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.
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:
library/libnagdmc.ainclude files:
include/*.hexample program material:
examples/*.c examples/*.dat examples/results/*.rdocumentation files:
documents/*.html documents/*.pdf
The example results distributed were generated at Release 2 of NAG DMC, using the library libnagdmc.a and the gcc compiler.
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).
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 DRLUX20DA).
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
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