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).
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.
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
(
For further details, refer to other documentation supplied or contact NAG (see Section 6).
|-- 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)
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
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.sofor 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/man3or
cd doc mv nag_c_un.z /usr/local/man/cat3
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.
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.
The following material should also be made accessible to users:
compiled libraries:
libnagc.a libnagc.soinclude files:
include/*.hexample program material:
examples/source/??????e.c examples/data/??????e.d examples/results/??????e.r scripts/nagexamplelibrary documentation files:
doc/callspdf 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.
On-line documentation is provided, in PDF form, with this implementation. Further information is contained in the Readme file on the distribution medium.
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).
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
http://www.nag.com/ (in North America)
or
http://www.nag-j.co.jp/ (in Japan)
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]