NAG Parallel Library, Release 3


IA64 (Itanium 2), 64-bit Linux, Intel Fortran. SGI MPT

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:         Intel Itanium 2 (IA64) systems and compatible
operating system: 64-bit Linux 
Fortran compiler: Intel Fortran Itanium Compiler Version 9.1 or compatible
MPI:              SGI MPT 1.13 or compatible

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 The Leibniz Computing Centre (Leibniz-Rechenzentrum, LRZ) on the computing system detailed below:

hardware:         SGI Altix 3700 Bx2
operating system: SUSE LINUX Enterprise Server 9 (ia64)
                  with SGI ProPack 4SP3 for Linux
Fortran compiler: Intel(R) Fortran Itanium(R) Compiler for Itanium(R)-based applications
                  Version 9.1    Build 20060818 Package ID: l_fc_c_9.1.037
compiler options: -fPIC -auto -O4
C compiler:       Intel(R) C Itanium(R) Compiler for Itanium(R)-based applications
                  Version 9.1    Build 20060818 Package ID: l_cc_c_9.1.043
compiler options: -DAdd_ -O
MPI:              SGI MPT 1.13
BLAS:             Intel Math Kernel Library (MKL) 9.0 Cluster Edition for Linux Beta

Two archive libraries are supplied, libnagmpi.a and libnagmpi_sup.a.

The supplied archive library libnagmpi.a includes the Fortran MPI version of the Basic Linear Algebra Communication Subprograms (BLACS v1.1, with patch03 dated February 24, 2000). Both libraries were compiled with full optimization (-O4).

This implementation has been tested using the Basic Linear Algebra Subprograms (BLAS) provided in Intel(R) Math Kernel Library 9.0 for Linux.

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
            |-- libnagmpi_sup.a
fdl6403ds --|
            |              |-- source ---|-- *e.f
            |-- examples --|-- data -----|-- *e.d
            |              |-- results --|-- *e.r
            |-- scripts ---|-- nagmpiexample

3.3. File Sizes

The files require approximately the following disk space:
compiled libraries, libnagmpi.a:    10.6 Mb
                    libnagmpi_sup.a  0.7 Mb
example program material:            1.5 Mb
documentation files:                 0.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 libnagmpi_sup.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 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.

The installer should ensure that the users' environment is set up so that they can compile, link and execute (with the mpif77 and mpirun commands provided by SGI MPT) an MPI Fortran program that calls the Intel(R) Math Kernel Library. This is usually accomplished by setting the relevant environment variables (PATH and LD_LIBRARY_PATH) to the correct values in a script that gets executed at shell startup time. Alternatively, the installer may use the ldconfig(8) program to configure the run-time dynamic linker so that compiler run-time libraries and MKL libraries are accessible but this may be too inflexible for users who might want to use different versions of these libraries. If one relies on the LD_LIBRARY_PATH environment variable, it is imperative that it is set at shell startup time otherwise mpirun will fail, with a typical message "error while loading shared libraries".

4.2. 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 uses mpirun (provided by the SGI MPT package) to run the processes.

4.3. 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:

example program material:

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

4.4. 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

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 (in this case FDL6403DS).

(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 that NAG's products and services evolve, and yourideas 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