NAG SILICON GRAPHICS (IRIX 6) DOUBLE PRECISION FLSG620DA User Manual Download Page 3

FLSG620DA Users' Note

http://www.csar.cfs.ac.uk/test/software/maths/nag/mark20...

3 of 10

18/08/2004 12:11

f90 driver.f -lnag_scs -lscs

This links to the NAG library as well as the Silicon Graphics BLAS and LAPACK routines in
SCSL.

Note that the choice of the library linked to can be overridden by specifying the application
binary interface (ABI), that is -n32 or -64, and the instruction set architecture (ISA), that is
-mips3 or -mips4.

Gaining access to the libraries is a simple process, loading the nag module (

module load nag

is the only step that is required.

3.2. Example Programs

The example programs are most easily accessed by the command nagexample, which will
provide you with a copy of an example program (and its data, if any), compile the program and
link it with the library (showing you the compile command so that you can recompile your own
version of the program). Finally, the executable program will be run, presenting its output to
stdout. The example program concerned is specified by the argument to nagexample, e.g.

nagexample c06eaf

will copy the example program and its data into the files c06eafe.f and c06eafe.d in the current
directory and process them to produce the example program results.

In the NAG Fortran Library Manual, routine documents that have been typeset since Mark 12
present the example programs in a generalised form, using bold italicised terms as described in

Section 3.3

.

In other routine documents, the example programs are in single precision and require
modification for use with double precision routines. This conversion can entail:

Changing REAL or COMPLEX type specifications to REAL*8 or COMPLEX*16
Changing certain intrinsic function references, e.g. REAL or FLOAT to DBLE, ALOG to
DLOG, CMPLX to DCMPLX, and so on
Changing real constants to double precision form, e.g. 0.1 or 0.1E0 to 0.1D0

The example programs supplied to a site in machine-readable form have been modified as
necessary so that they are suitable for immediate execution. Note that the distributed example
programs are those used in this implementation and may not correspond exactly with the
programs published in the manual. The distributed example programs should be used in
preference wherever possible.

3.3. Interpretation of Bold Italicised Terms

For this double precision implementation, the bold italicised terms used in the NAG Fortran
Library Manual should be interpreted as:

real

                 - DOUBLE PRECISION (REAL*8)

basic precision

      - double precision

complex

              - COMPLEX*16

additional precision

 - quadruple precision (REAL*16)

machine precision

    - the machine precision, see the value

Summary of Contents for SILICON GRAPHICS (IRIX 6) DOUBLE PRECISION FLSG620DA

Page 1: ...nformation 5 Documentation 6 Support from NAG 7 User Feedback Appendix Contact Addresses 1 Introduction This document is essential reading for every user of the NAG Fortran Library Implementation specified in the title It provides implementation specific detail that augments the information provided in the NAG Fortran Library Manual and Introductory Guide Wherever those manuals refer to the Users ...

Page 2: ...rms for the following combinations of Application Binary Interfaces ABI and Instruction Set Architectures ISA high performance 32 bit n32 mode using mips3 high performance 32 bit n32 mode using mips4 64 bit mode using mips3 64 bit mode using mips4 3 1 Accessing the Library You may link to the NAG Fortran Library in the following manner f77 driver f lnag or f90 driver f lnag where driver f is the u...

Page 3: ... program results In the NAG Fortran Library Manual routine documents that have been typeset since Mark 12 present the example programs in a generalised form using bold italicised terms as described in Section 3 3 In other routine documents the example programs are in single precision and require modification for use with double precision routines This conversion can entail Changing REAL or COMPLEX...

Page 4: ...ers to the LAPACK routine name DGETRF cpotrs ZPOTRS 3 4 Explicit Output from NAG Routines Certain routines produce explicit error messages and advisory messages via output units which either have default values or can be reset by using X04AAF for error messages and X04ABF for advisory messages The default values are given in Section 4 The maximum record lengths of error messages and advisory messa...

Page 5: ... NAG Fortran Library that your program calls directly Often only one USE statement will be required Delete all EXTERNAL statements for NAG Fortran Library routines These are now declared in the module s Delete the type declarations for any NAG Fortran Library functions These are now declared in the module s These changes are illustrated by showing the conversion of the Fortran 77 version of the ex...

Page 6: ...Information Any further information which applies to one or more routines in this implementation is listed below chapter by chapter a D03 The example programs for D03RAF and D03RBF take much longer to run than other examples b F06 F07 and F08 In this implementation calls to the Basic Linear Algebra Subprograms BLAS and linear algebra routines LAPACK can be resolved by calls to SCSL c G02 The value...

Page 7: ... 3 27D 4 IFAIL 5 if abs Z or FNU N 1 1 07D 9 S17DEF IFAIL 2 if imag Z 700 0 IFAIL 3 if abs Z or FNU N 1 3 27D 4 IFAIL 4 if abs Z or FNU N 1 1 07D 9 S17DGF IFAIL 3 if abs Z 1 02D 3 IFAIL 4 if abs Z 1 04D 6 S17DHF IFAIL 3 if abs Z 1 02D 3 IFAIL 4 if abs Z 1 04D 6 S17DLF IFAIL 2 if abs Z 3 93D 305 IFAIL 4 if abs Z or FNU N 1 3 27D 4 IFAIL 5 if abs Z or FNU N 1 1 07D 9 S18ADF IFAIL 2 if 0 0 X 2 23D 30...

Page 8: ...0000000000000 5 62949953421312D 14 X02BBF 2147483647 X02BEF 15 X02DAF FALSE h X04 The default output units for error and advisory messages for those routines which can produce explicit output are both Fortran Unit 6 It is not possible to use the routines X04ACF and X04ADF with the f90 compiler i X05 The finest granularity of wall clock time available on this system is one second so the seventh ele...

Page 9: ... 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 Respon...

Page 10: ...ouse Jordan Hill Road OXFORD OX2 8DR NAG Ltd Response Centre United Kingdom email infodesk nag co uk Tel 44 0 1865 511245 Tel 44 0 1865 311744 Fax 44 0 1865 310139 Fax 44 0 1865 311755 NAG Inc 1400 Opus Place Suite 200 Downers Grove IL 60515 5702 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 2346 NAG GmbH Schleißheimerstra...

Reviews: