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: Apple PowerPC G4 operating system: Mac OS 10.2 (Jaguar) or compatible C compiler: Gnu C Compiler, supplied in the Developer Tools
This implementation was produced at NAG Ltd., Oxford on the computer system detailed below:
hardware: Apple PowerPC G4 operating system: Mac OS 10.2 (Jaguar) C compiler: GNU C compiler 3.1 (gcc) compiler options: -O4
|-- *.html |-- documents --|-- *.pdf | | |-- *.c |-- examples ---|-- *.dat | |-- results --|-- *.r dramp20da -----| |-- 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 /Volumes/cd9660/dr20.tar(assuming the CD-ROM has been mounted as /Volumes/cd9660).
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.
After the static object library is in place, run ranlib, e.g.,
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:
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:
include/*.hexample program material:
examples/*.c examples/*.dat examples/results/*.rdocumentation files:
The example results distributed were generated at Release 2 of NAG DMC, using the library libnagdmc.a and the gcc complier on Mac OS 10.2 (Jaguar).
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 DRAMP20DA).
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: email@example.com 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: firstname.lastname@example.org 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: email@example.com Tel: +81 (0)3 5542 6311 Fax: +81 (0)3 5542 6312