NAG C Library, Mark 8

CLAMP08DAL - License Managed

Apple Power Mac, (Mac OS X), cc

Installer's Note


1. Introduction

This Installer's Note is essential reading for whoever is responsible for the installation of this implementation of the NAG C Library. It is available together with the Users' Note ("Users' Note.html" in the documentation directory) on the distribution medium.

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.

2. Implementation Provided

2.1. Applicability

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:          Apple PowerPC G4/G5 or compatible
operating system:  Mac OS X 10.3.4 (Panther) and compatible
C compiler:        Gnu C Compiler, supplied in the Developer Tools or compatible

2.2. Derivation

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

hardware:          Apple PowerPC G4
operating system:  Mac OS X 10.3.4 (Panther)
C compiler:        GNU C version 3.3 20030304 (cc)
compiler options:  -fPIC -O3 -faltivec -D_REENTRANT -fno-common -fexceptions

The entire NAG C Library, Mark 8, was compiled with optimization -O3, except for f06bact.c (-O0).

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, f08 and f16 in the NAG C Library Manual).

3. Distribution Medium

The software is ordinarily distributed in Apple package format on CD-ROM, it can also be downloaded from any of the NAG Web sites (see NAG Websites).

3.1. Contents

The following shows the directory/file organization of the implementation materials as they will be installed.

/usr/lib/libnagc_nag.a                  (static self-contained library
                                         including NAG BLAS/LAPACK)
/usr/lib/libnagc_nag.dylib              (dynamic library
                                         including NAG BLAS/LAPACK)

/usr/bin/nagc_example*                    (scripts for compiling and executing
                                         library example programs)

/usr/include                            (include files *.h)
/Library/Documentation/NAG/CLAMP08DAL/* (Installer's Note (this document),
                                         Users' Note, and example program

The following shows the directory/file organization of the Library documentation materials as they will be installed.

/Library/Documentation/NAG/CLAMP08DAL/mark8.html (symbolic link, main index) 

/Library/Documentation/NAG/CLAMP08DAL/html        (directory of html files)

/Library/Documentation/NAG/CLAMP08DAL/pdf         (directory of pdf files)

The following shows the directory/file organization of the Kusari license management materials as they will be installed.

/usr/local/kusari/kusari2.1/bin/*             (utilities and server daemon
                                                  for supported platforms.)
/Library/Documentation/NAG/CLAMP08DAL/license/*  (Kusari documentation.)

3.2. File Sizes

The files require approximately the following disk space:
compiled libraries:
  libnagc_nag.a        22.6 Mb
  libnagc_nag.dylib    11.1 Mb
include files:          0.9 Mb   
example program material:       11 Mb
scripts:                       0.1 Mb
library documentation files:   0.1 Mb
manual documentation files:    179 Mb
licensing materials            1.0 Mb

4. Installation

4.1. Library and Documentation Installation

Double click on CLAMP08DAL.pkg to install the archive libraries, example programs, and example scripts.

Double click on "NAG C Library documentation material, cl08_doc.pkg" to install the Library documentation files.

Double click on "Kusari 2.1.pkg" to install the Kusari binaries and documentation.

4.1.1. License Management

The use of the NAG C Library is controlled by the Kusari network license management system. This release of the NAG C Library uses version 2.1 of Kusari.

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.

License key request and installation is performed through the Apple Installer when CLAMP08DAL.pkg is installed. If you do not have a license key, a request form may be optionally generated for you to complete and send to NAG via fax or e-mail.

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

CLAMP08DA TRIAL 2005/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.

Further details about Kusari and how it may be configured to suit your local circumstances are included in the Kusari Licence Management documentation in the directory, /Library/Documentation/NAG/CLAMP08DAL/license after the Kusari binaries and documentation have been installed. These are not needed in most configurations.

4.2. Release to Users

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 for comments about possible differences in results obtained).

4.3. Example Programs

The example results distributed were generated at Mark 8, using the software described in Section 2.2. 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). The results which are most sensitive to such differences are: eigenvectors (which may differ by a scalar multiple, often -1, but sometimes complex); numbers of iterations and function evaluations; and residuals and other "small" quantities of the same order as the machine precision.

4.4. Maintenance Level

The maintenance level of the library can be determined by compiling and executing the example that calls a00aac or you could call the script nagc_example with the argument a00aac. See Users' Note, Example Programs . This example prints out details of the implementation, including title and product code, compiler, mark and maintenance level.

5. Documentation

On-line documentation is bundled with this implementation. Please see Section 4.

6. 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 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 (CLAMP08DAL).

(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 the following URLs:, or

(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

(e) Product Registration

To ensure that you receive information on updates and other relevant announcements, please register this product with us. For NAG Library products this may be accomplished by filling in the online registration form at

7. 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 any of the NAG Response Centres (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 2337
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