NAG C Library, Mark 6

CLSG606DA

Silicon Graphics (IRIX 6)

Installer's Note



Contents


1. Introduction

This document is essential reading for whoever is responsible for the installation of the NAG C 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 C 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 C Library that is considered suitable for operation on the computer systems detailed below:

hardware:         Silicon Graphics MIPS III or MIPS IV machines
operating system: IRIX 6.5 or compatible
C compiler:       SGI MIPSpro C/C++ version 7.3 and compatible

For information about implementations of the NAG C 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:         Silicon Graphics Origin 2000 (R10000)
operating system: IRIX 6.5
C compiler:       SGI MIPSpro C/C++ version 7.3
compiler options: -n32 -mips3 (for MIPS III ISA / n32 ABI)
                  -n32 -mips4 (for MIPS  IV ISA / n32 ABI)
                  -64  -mips3 (for MIPS III ISA / n64 ABI)
                  -64  -mips4 (for MIPS  IV ISA / n64 ABI)

The entire NAG C Library, Mark 6, was compiled with level 2 optimization (-O2 -OPT:Olimit=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 library materials as they will be installed.
                      |-- in.html
                      |-- un.html
            |-- doc --|-- nag_c_un.[3|z]
            |         |-- calls
            |
            |-- lib[32|64] --|-- mips[3|4] --|-- *
clsg606da --|
            |-- include --|-- *.h
            |
            |              |-- source ---|-- ??????e.c
            |-- examples --|-- data -----|-- ??????e.d
            |              |-- results --|-- ??????e.r
            |
            |-- scripts ---|-- nagexample

The library directories (lib32/mips3, lib32/mips4, lib64/mips3 and lib64/mips4) each contain the following files:

libnag.a  - archive library
libnag.so - shareable library

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

         |-- Images --|-- *.gif
         |
         |                   |-- mark6.html  (main index)
         |                   |
NAGdoc --|                   |-- genint --|-- *.html  (introductory material)
         |        |-- html --|
         |        |          |-- [A00-X02]_cl??.html  (chapter indexes)
         |-- cl --|
                  |         |-- genint --|-- *.pdf  (introductory material)
                  |-- pdf --|
                            |-- indexes --|-- *.pdf  (KWIC and GAMS)
                            |
                            |-- [A00-X02] --|-- *.pdf  (chapter and function
                                                        files)

3.3. File Sizes

The files require approximately the following disk space:
each archive library:        12.9-16.0 Mb
each shareable library:       7.4- 7.9 Mb
include files:                1.0 Mb
example program material:     2.2 Mb
library documentation files:  0.2 Mb
PDF documentation files:     30.5 Mb

4. Installation

4.1. Library Installation

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

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

The installer should decide on which of the four archive and corresponding shareable libraries should be installed. To install, use the Unix tar utility to read documentation, compiled libraries, include files and examples, e.g.

cd /opt
tar xvf /cdrom/cl06.tar clsg606da/doc clsg606da/lib32/mips4 clsg606da/include \
                        clsg606da/examples clsg606da/scripts/nagexample

for the MIPS IV / n32 libraries.

It is advisable that the libraries are kept in the installed directory, /opt/clsg606da, and appropriate symbolic links 'libnagc.a' and 'libnagc.so' made to them from the appropriate system library directories where the linker (ld) will find them, e.g.

ln -s /opt/clsg606da/lib32/mips4/libnagc.c /usr/lib32/mips4/libnagc.a
ln -s /opt/clsg606da/lib32/mips4/libnagc.so /usr/lib32/mips4/libnagc.so
for the MIPS IV / n32 libraries.

For the MIPS III / n32 libraries the appropriate directory is /usr/lib32/mips3, for the MIPS III and MIPS IV / n64 libraries the appropriate directories are /usr/lib64/mips3 and /usr/lib64/mips4 respectively.

The include files 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 script nagexample refers to the local directory containing the example programs. The file should be copied to (for example) /usr/local/bin, modified to reflect the local installation, and its protection set to world execute.

The man page, which directs users to the HTML form of the Users' Note, is provided as an nroff source file and also as a packed, pre-formatted file for systems without the Documentor's Work Bench software option. The relevant file belongs in section 3 of man. It should be moved to a directory in the man search path, e.g.

either

cd doc
mv nag_c_un.3 /usr/local/man/man3
or
cd doc
mv nag_c_un.z /usr/local/man/cat3

4.2. PDF Documentation Installation

To install the PDF documentation material, use the Unix tar utility, e.g.
tar xvf /cdrom/pdf.tar
(assuming the CD-ROM has been mounted as /cdrom).

You may wish to move the PDF documentation files to the same location as that for other NAG products. You are encouraged to make them readily available to users, but in such a way that they are not generally accessible from outside your site.

4.3. Checking Accessibility

The installer should ensure that the advice given to users in Section 3.1 of the Users' Note (doc/un.html) is suitable for the installation. This can be done by running a few example programs following that advice; a suitable sample would be a02bac, g05ffc and s17akc. The installation can also be tested using the script nagexample.

The specific library used by the linker depends on the compilation options, if any, specified by the user and on the system processor. On systems such as the Silicon Graphics Power Indigo2, based on a R8000 processor, the default, if the SGI_ABI environment variable has not been set, is 64-bit and MIPS IV. On systems such as the Silicon Graphics Origin 2000, based on a R1000 processor, the default, if the SGI_ABI environment variable has not been set, is high performance 32-bit (-n32) and MIPS IV.

4.4. Release to Users

The Users' Note (doc/un.html) should be checked and amended as necessary (particularly Section 3.1). 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:

compiled libraries:

libnagc.a
libnagc.so
include files:
include/*.h
example program material:
examples/source/??????e.c
examples/data/??????e.d
examples/results/??????e.r
scripts/nagexample
library documentation files:
doc/calls
pdf documentation files

Note that the example material has been adapted, if necessary, from that printed in the NAG C Library Manual, so that programs are suitable for execution with this implementation with no further changes. Making the 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 library can be determined by writing a simple program to call function a00aac, which prints out details of the implementation, including title and product code, compiler and precision used, mark and maintenance level.

5. Documentation

Each supported NAG C Library site is currently provided with a printed copy of the NAG C Library Manual (or Update). Additional copies are available for purchase; please refer to the NAG documentation order form (available on the NAG websites, see Section 6 (c)) for details of current prices.

On-line documentation is provided, in PDF form, with this implementation. Further information is contained in the Readme file on the distribution medium.

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

(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

http://www.nag.co.uk/

or

http://www.nag.com/ (in North America)

or

http://www.nag-j.co.jp/ (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 one of our websites or contact us at nagnews@nag.co.uk.

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 www.nag.co.uk/local/feedback 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

NAG Ltd
Wilkinson House
Jordan Hill Road
OXFORD  OX2 8DR                         NAG Ltd Response Centre
United Kingdom                          email: support@nag.co.uk
 
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: infodesk@nag.com
 
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
Chuo-ku
Tokyo
Japan
email: help@nag-j.co.jp

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

[NP3562/IN]