NAG Library for SMP & Multicore, Mark 22


Fujitsu SPARC64 VII, Solaris 10, Fujitsu Fortran, Double Precision

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 Library for SMP & Multicore. It is available together with the Users' Note (un.html) on the distribution medium.

Your attention is drawn to the terms and conditions of the Software License regarding the use of NAG software. Requests for information about the availability of other implementations must be referred to NAG.

2. Implementation Provided

2.1. Applicability

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

hardware:          Fujitsu SPARC64 VII systems (Solaris 10) and compatible
operating system:  SunOS 5.10 (Solaris 10) and compatible
Fortran compiler:  Fujitsu Fortran Compiler Driver Version 8.0 and compatible
Vendor library:    Fujitsu Scientific Subroutine Library "SSL II" (FJSVssl2 v6.0) and compatible

2.2. Derivation

This implementation was produced at Fujitsu Technical Computing Facility, Paris, France (by NAG Ltd. staff) on the computing system detailed below:

hardware:          Fujitsu PRIMEPOWER 850
operating system:  SunOS 5.10 (Solaris 10) Generic_125100-10
Fortran compiler:  Fujitsu Fortran Compiler Driver Version 8.0 
Vendor library:    Fujitsu Scientific Subroutine Library "SSL II" (FJSVssl2 v6.0)
Compiler options:  -KSPARC64VII -KV9FMADD -X9 -fw -Kdalign -Kthreadsafe -KOMP

Each routine in the NAG Library for SMP & Multicore, Mark 22, was compiled with the highest level of optimization that enabled the functionality provided by the library to be verified and validated. Most routines in the library were compiled with optimization flags -Kfast,nomfunc ; some routines will have been compiled with a lower level of optimization when necessary.

In this implementation:

The library has been tested with SSL II (FJSVssl2 v6.0).

2.3. Post Release Information

Please check the following URL:

for details of any new information related to the applicability or usage of this implementation.

3. Distribution Medium

The software is ordinarily distributed in tar format on CD or DVD as appropriate.

3.1. Contents

The following shows the directory/file organization of the implementation materials as they will be installed.
            |- doc -|- in.html  (Installer's Note, (this document))
            |       |- un.html  (Users' Note)
            |       |
            |- lib -|- libnagsmp.a  (static library requiring
            |       |                vendor BLAS/LAPACK)
fsfsv22dc  -|
            |- nag_interface_blocks -|- *
            |            |- source --|- ??????e.f
            |- examples -|- data ----|- ??????e.d
            |            |- results -|- ??????e.r
            |- scripts -|- nagsmp_example

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

nagdoc_fl22 -|- index.html
             |- examples -|- baseresults -|- ??????*.r
             |            |- source      -|- ??????*.f
             |            |- data        -|- ??????*.d
             |- html  -|- FRONTMATTER -|- manconts.html  (main HTML index)
             |         |               |- *.html         (foreword & copyright)
             |         |
             |         |- [A00-X05] -|- *conts.html  (chapter contents)
             |         |
             |         |- GENINT -|- *.html  (general introductory material)
             |         |
             |         |- INDEXES -|- GAMS -|- gams.html  (GAMS index)
             |         |           |        |- *.html     (GAMS files)
             |         |           |
             |         |           |- KWIC -|- kwic.html  (KWIC index)
             |         |                    |- *.html     (KWIC files)
             |         |
             |         |- styles -|- libdoc.css  (main CSS stylesheet)
             |- pdf   -|- FRONTMATTER -|- manconts.pdf  (NAG copyright and main
             |         |               |                 pdf page)
             |         |               |- foreword.pdf
             |         |
             |         |- [A00-X05] -|- *conts.pdf    (chapter contents)
             |         |             |- *intro.pdf    (chapter introduction)
             |         |             |- *f.pdf        (routine documents)
             |         |
             |         |- GENINT -|- *.pdf  (general introductory material)
             |         |
             |         |- INDEXES -|- *.pdf (bookmarked file containing links
             |         |                     to kwic.xml and gams.xml)
             |         |
             |         |- INUNs -|- usersnote.pdf (implementation specific note)
             |- xhtml -|- FRONTMATTER -|- manconts.xml  (main XHTML index)
                       |               |- *.xml         (foreword & copyright)
                       |- [A00-X05] -|- *conts.xml  (chapter contents)
                       |- figures -|- *.png  (figures and plotfiles)
                       |- GENINT -|- *.xml  (general introductory material)
                       |- INDEXES -|- GAMS -|- gams.xml  (GAMS index)
                       |           |        |- *.xml     (GAMS files)
                       |           |
                       |           |- KWIC -|- kwic.xml  (KWIC index)
                       |                    |- *.xml     (KWIC files)
                       |- styles -|- libdoc.css      (main CSS stylesheet)

3.2. File Sizes

The files require approximately the following disk space:
  Library software:  62 MB
  Library Manual:   296 MB

4. Installation

4.1. Installation of Library Software and Manual

If you have been given the Library materials as a tar gzip file (fsfsv22dc.tgz), cd to the directory where the file is located and extract the installation materials using the following commands:
gunzip fsfsv22dc.tgz
tar xvf fsfsv22dc.tar
This will extract the files, fs22.tar, lic_agr.txt, in.html and un.html.

If you have downloaded the Library Manual as a tar gzip file (mk22_doc.tgz) run the command

gunzip mk22_doc.tgz
to extract the file mk22_doc.tar.

4.1.1. Installation using install script

You can install the materials by executing the Bourne Shell script in a command window as:
If you are logged in as root then by default, the materials will be installed in /opt/NAG/ or /usr/local/NAG/ depending on your system. However you may choose a different location. In this document we refer to the directory /opt/NAG/fsfsv22dc or /usr/local/NAG/fsfsv22dc as [INSTALL_DIR]. This convention is also used in the Users' Note (un.html).

The directory [INSTALL_DIR]/scripts contains a script to show how to use the library provided with this implementation. See Users' Note, Example Programs. Subsequent to the installation, if the installer moves the library to some other location then this script must be changed to reflect that fact.

To simplify access to the library you may wish to create a symbolic link in a system location such as /usr/lib/sparcv9 pointing at the installed library. It would then be in the default search path of the linker during the link phase.

The install script can install the Library Manual in the same location as the NAG Library material or at some other location of your choice.

You may wish to move the Library Manual to the same location as that for other NAG products. You are encouraged to make it readily available to users.

4.2. Release to Users

The Users' Note (doc/un.html) should be checked and amended as necessary (particularly Sections 3.1, 3.3 and 5). Advice on accessing the library (see Users' Note, Section 3.1) can be checked by running a few example programs following that advice; a suitable sample would be D01AUF, E04UCA and F07ADF. The installation can also be tested using the script nagsmp_example. (see Users' Note, Section 3.3). The Users' Note (doc/un.html) should then be made available to users directly, or be absorbed into local access information.

The following material should also be made accessible to users:

documentation files:

The nagdoc_fl22 directory contains the Library Manual.

compiled libraries:

interface block files:
example program material:

Note that the example material has been adapted, if necessary, from that published in the Library Manual, so that programs are suitable for execution with this implementation with no further changes (but see Section 3.3 of the Users' Note for comments about possible differences in results obtained). Making the example material directly available to users provides them with easily adaptable templates for their own problems.

4.3. Further Information

4.3.1. Maintenance Level

The maintenance level of the Library can be determined by compiling and executing the example that calls A00AAF, or you could call the script nagsmp_example with the arguments a00aaf 1. See Users' Note, Section 3.3. This example prints out details of the implementation, including title and product code, compiler and precision used, mark and maintenance level.

5. Support from NAG

(a) Contact with NAG

Queries concerning this document or the implementation generally should be directed to NAG 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 or account number and NAG product code (in this case FSFSV22DC).

(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 announcements about new products or product/service enhancements, technical tips, 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

6. User Feedback

Many factors influence the way that 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

801 Warrenville Road
Suite 185
Lisle, IL  60532-4332                   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