A00ADF (PDF version)
A00 Chapter Contents
A00 Chapter Introduction
NAG Library Manual

NAG Library Routine Document

A00ADF

Note:  before using this routine, please read the Users' Note for your implementation to check the interpretation of bold italicised terms and other implementation-dependent details.

+ Contents

    1  Purpose
    7  Accuracy

1  Purpose

A00ADF prints information about the version of the NAG Library in use.

2  Specification

SUBROUTINE A00ADF ( IMPL, PREC, PCODE, MKMAJ, MKMIN, HDWARE, OPSYS, FCOMP, VEND, LICVAL)
INTEGER  MKMAJ, MKMIN
LOGICAL  LICVAL
CHARACTER(*)  IMPL, PREC, PCODE, HDWARE, OPSYS, FCOMP, VEND

3  Description

The NAG Library is available for use on a number of different computer systems. For each distinct system an implementation of the library is prepared and this implementation is given a unique code. The specifics that define the implementation are: the working precision, the major and minor marks of the NAG Library, the target hardware and operating system, the compiler used, and the vendor library (if any) that is also required to be linked. A00ADF may be called to return, in separate parameters, these specific details of the NAG Library implementation that is being used; it also returns whether a valid licence has been found for this implementation. This differs from A00AAF which simply outputs the collected information in a readable form directly to the current advisory message unit (see X04ABF).

4  References

None.

5  Parameters

1:     IMPL – CHARACTER(*)Output
Note: it is recommended that IMPL be at least 57 characters in length.
On exit: the implementation title which usually lists the target platform, operating system and compiler.
2:     PREC – CHARACTER(*)Output
Note: it is recommended that PREC be at least 57 characters in length.
On exit: the working or basic precision of the implementation. Some routines may perform operations in reduced precision or additional precision, but the great majority will perform all operations in basic precision. See Section 4.4 in the Essential Introduction for definitions of these precisions.
3:     PCODE – CHARACTER(*)Output
Note: it is recommended that PCODE be at least 20 characters in length.
On exit: the product code for the NAG Library implementation that is being used. The code has a discernible structure, but it is not necessary to know the details of this structure. The product code can be used to differentiate between individual product licence codes.
4:     MKMAJ – INTEGEROutput
On exit: the major mark of the NAG Library implementation that is being used.
5:     MKMIN – INTEGEROutput
On exit: the minor mark of the NAG Library implementation that is being used.
6:     HDWARE – CHARACTER(*)Output
Note: it is recommended that HDWARE be at least 64 characters in length.
On exit: the target hardware for the NAG Library implementation that is being used.
7:     OPSYS – CHARACTER(*)Output
Note: it is recommended that OPSYS be at least 64 characters in length.
On exit: the target operating system for the NAG Library implementation that is being used.
8:     FCOMP – CHARACTER(*)Output
Note: it is recommended that FCOMP be at least 64 characters in length.
On exit: the compiler used to build the NAG Library implementation that is being used.
9:     VEND – CHARACTER(*)Output
Note: it is recommended that VEND be at least 64 characters in length.
On exit: the subsidiary library, if any, that must be linked with the NAG Library implementation that is being used. If the implementation does not require a subsidiary library then the string
 '(self-contained)' 
will be returned in VEND.
10:   LICVAL – LOGICALOutput
On exit: specifies whether or not a valid licence has been found for the NAG Library implementation that is being used.

6  Error Indicators and Warnings

None.

7  Accuracy

Not applicable.

8  Further Comments

None.

9  Example

This example makes a call of A00ADF, collects information on the NAG Library implementation that is being used and prints it out in a form that is similar to the output obtained by a call to A00AAF. Additionally the time is also printed in a readable form. The output from running this example program provides information that is very useful when contacting NAG with a support query.

9.1  Program Text

Program Text (a00adfe.f90)

9.2  Program Data

None.

9.3  Program Results

Program Results (a00adfe.r)


A00ADF (PDF version)
A00 Chapter Contents
A00 Chapter Introduction
NAG Library Manual

© The Numerical Algorithms Group Ltd, Oxford, UK. 2012