NAG Parallel Library, Release 3

FDDAU03DML - License Managed

Compaq Alpha Tru64

Installer's Note


1. Introduction

This document is essential reading for whoever is responsible for the installation of the NAG Parallel Library implementation specified in the title. The installer will be supplied with a printed copy of this document. Both this (doc/in.html) and the Users' Note (doc/un.html) are supplied on the distribution medium.

Whenever the NAG Parallel Library has been supplied in compiled form, that form is considered to be the standard library file. 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 licensed must be referred to NAG (see Section 6).

2. Implementation Provided

2.1. Applicability

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

hardware:         Compaq Alpha systems
operating system: Tru64
Fortran compiler: Digital Fortran 77
MPI:              Digital MPI

If a different implementation of MPI is installed, the supplied BLACS libraries may have to be rebuilt with different options set in the file The objects in these libraries should be placed in the main NAG Parallel Library archive (libnagmpi.a).

For information about implementations of the NAG Parallel Library for use on other computer systems please contact NAG.

2.2. Derivation

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

hardware:         Compaq ES40 6/500
operating system: Tru64 (OSF1) V4.0
Fortran compiler: Digital Fortran 77 Driver X5.2-11
                  Digital Fortran 77 X5.2-183-4296F
C compiler:       Digital UNIX Compiler Driver 3.11
                  DEC C V5.9-005
MPI:              Digital MPI V1.9

The supplied archive library (libnagmpi.a) includes the Fortran MPI version of the Basic Linear Algebra Communication Subprograms (BLACS v1.1, with patch02 dated 18.8.98). The BLACS were compiled with default optimization, the remainder of the library was compiled with optimization -O5.

This implementation has been tested using the Basic Linear Algebra Subprograms (BLAS) provided by NAG in the archive libnagmpiblas.a and also with the BLAS provided by Compaq in CXML v3.6.0.

3. Distribution Medium

3.1. Recording Details

The implementation is distributed in tar format on CD-ROM, unless otherwise indicated on the medium and accompanying despatch note.

For further details, refer to other documentation supplied or contact NAG (see Section 6).

3.2. Contents

The following shows the directory/file organization of the materials as they will be installed.
                      |-- in.html
            |-- doc --|-- un.html
            |-- libnagmpi.a
            |-- libnagmpiblas.a
            |-- libnagfls.a
fddau03dm --|
            |              |-- source ---|-- *e.f
            |-- examples --|-- data -----|-- *e.d
            |              |-- results --|-- *e.r
            |              |-- bin ------|-- * (directories of FLEXlm binaries 
            |              |                    for supported platforms)
            |-- license ---|
            |              |             |-- flexfaq ---|-- *.htm (FLEXlm FAQ)
            |              |-- htmlman --|                         
            |                            |-- flexuser --|-- *.htm (FLEXLM End 
            |                                                      User Manual) 
            |-- scripts ---|-- nagmpiexample

3.3. File Sizes

The files require approximately the following disk space:
compiled libraries, libnagmpi.a:     8.9 Mb
                    libnagmpiblas.a: 0.5 Mb
                    libnagfls.a:     0.5 Mb
example program material:            0.9 Mb
documentation files:                 0.1 Mb
licensing materials                 16.1 Mb

4. Library Installation

4.1. Installation

To install all material use the Unix tar utility, e.g.

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

Links to the object libraries libnagmpi.a and libnagfls.a may be placed in a directory, such as /usr/lib, in the default search path of the linker so that linkage is convenient.
The object library libnagmpiblas.a is a subset of the BLAS required by the NAG Parallel Library. It is required only if CXML is not available, in which case a similar link to libnagmpiblas.a should be created.

The script nagmpiexample is intended to provide users with a simple means of access to the example material. It will require some minor edits to reflect the local installation and should be placed in a directory, such as /usr/local/bin, which is on users' execution search paths.

4.2. License Management

The use of the NAG Parallel Library is controlled by the FLEXlm network license management system (FLEXlm is a registered trademark of Globetrotter Software Inc). This release of the NAG Fortran Library uses version 7.0e of FLEXlm. The remainder of this section describes how a FLEXlm license key should be installed to enable the use of the Library. Further details about FLEXlm and how it may be configured to suit your local circumstances are included in the FLEXlm End User Manual and FAQ supplied in the directory fddau03dm/license/htmlman.

For the NAG Parallel Library you will be provided with an uncounted license key for use on a specific machine.

An uncounted license key consists of one FEATURE or INCREMENT line for each product licensed, for example:

FEATURE NAG_FD NAG 3.000 31-dec-2000 0 CBDA2041DC1BC45D2B68 \
               "DAUM," 80896b27

This enables an unlimited number of instances of version 3 of the application NAG_FD until the date specified on the system with hostid 80896b27 only. Note that the line is continued by escaping the newline character with '\'.

You will have to inform NAG of the hostid of the system. To obtain the hostid, locate the FLEXlm utility program 'lmutil' in fddau03dm/license/bin/alpha_u3, and run it with argument 'lmhostid'.

Once you have obtained the license key, store the text of it in a file, say /usr/local/lib/nag/license.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/license.dat
or in the Bourne shell, type:

No other actions are required to install an uncounted license.

4.3. Checking Accessibility

The installation may be tested by using the script nagmpiexample (when logged in as a normal user). The script will copy an example program and its data, compile it, link it with the libraries and run it.

For example, give the command

nagmpiexample f04ebfp
to run the F04EBFP example program. Almost all the example programs have 4 processes. nagmpiexample runs all these processes on the local host.

4.4. Release to Users

The Users' Note (doc/un.html) should be checked and amended as necessary (particularly Sections 2.2 and 4). It can then be made available to users directly, or be absorbed into local access information.

The following material should also be made accessible to users:

other library documentation (see Section 5)

compiled libraries:

libnagmpiblas.a - only if CXML is not available
example program material:

Making the supplied example material directly available to users provides them with easily adaptable templates for their own problems.

4.5. Maintenance Level

The maintenance level of the supplied library can be determined by writing a simple program to call A00AAFP, which prints out details of the implementation, including title and product code, precision used, release, maintenance level and the underlying message passing mechanism (MPI in this case).

5. Documentation

Each NAG Parallel Library site is ordinarily provided with a printed copy of the NAG Parallel Library Manual (or Update). If you require additional copies then please contact NAG.

On-line documentation is also provided, in PDF form, with this implementation. Please see the Readme file on the distribution medium for further information.

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.

(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 please quote your NAG site reference and NAG product code (in this case FDDAU03DM).

(c) NAG Websites

The NAG websites are an information service providing items of interest to users and prospective users of NAG products and services. The information is reviewed and updated regularly and includes implementation availability, descriptions of products, downloadable software, product documentation and technical reports. The NAG websites can be accessed at

or (in North America)

or (in Japan)

(d) NAG Electronic Newsletter

If you would like to be kept up to date with news from NAG you may want to register to receive our electronic newsletter, which will alert you to special offers, announcements about new products or product/service enhancements, case studies and NAG's event diary. To register visit the NAG Ltd website or contact us 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. We have provided a short survey on our website at to enable you to provide this feedback. Alternatively feel free to contact the appropriate NAG Response Centre who will be happy either to record your comments or to send you a printed copy of the survey.

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
Yaesu Nagaoka Building No. 6 
1-9-8 Minato

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