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

FLSG620DA Users' Note

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

4 of 10

18/08/2004 12:11

                       returned by X02AJF in 

Section 4

                          

Thus a parameter described as 

real

 should be declared as DOUBLE PRECISION in your

program. If a routine accumulates an inner product in 

additional precision

, it is using software 

to simulate quadruple precision.

In routine documents that have been newly typeset since Mark 12 additional bold italicised
terms are used in the published example programs and they must be interpreted as follows:

real

 as an intrinsic function name - DBLE

imag

                               - DIMAG

cmplx

                              - DCMPLX

conjg

                              - DCONJG

e

 in constants, e.g. 1.0

e

-4        - D, e.g. 1.0D-4

e

 in formats, e.g. 

e

12.4           - D, e.g. D12.4

All references to routines in Chapter F07 - Linear Equations (LAPACK) and Chapter F08 -
Least-squares and Eigenvalue Problems (LAPACK) use the LAPACK name, not the NAG
F07/F08 name. The LAPACK name is precision dependent, and hence the name appears in a
bold italicised typeface.

The typeset examples use the single precision form of the LAPACK name. To convert this name
to its double precision form, change the first character either from S to D or C to Z as
appropriate.
For example:

sgetrf

 refers 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 messages (including carriage control characters) are 80 characters,
except where otherwise specified. These routines are potentially not thread safe and in general
output is not recommended in a multithreaded environment.

3.5. Interface Blocks

The NAG Fortran Library Interface Blocks define the type and arguments of each user callable
NAG Fortran Library routine. These are not essential to calling the NAG Fortran Library from
Fortran 90 programs. Their purpose is to allow the Fortran 90 compiler to check that NAG
Fortran Library routines are called correctly. The interface blocks enable the compiler to check
that:

(a) Subroutines are called as such
(b) Functions are declared with the right type
(c) The correct number of arguments are passed
(d) All arguments match in type and structure

These interface blocks have been generated automatically by analysing the source code for the
NAG Fortran Library. As a consequence, and because these files have been thoroughly tested,

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: