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

NAG Library Routine Document

A00ACF

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

A00ACF provides a convenient means of checking the availability of a valid licence key on licence-managed implementations before starting computations that will use NAG Library routines. In particular, the use of this function is highly recommended in programs that call NAG Library routines within multithreaded sections (e.g., OpenMP parallel regions). The function need only be called once, before the start of the first multithreaded section.

2  Specification

FUNCTION A00ACF ( )
LOGICAL A00ACF

3  Description

A00ACF returns the logical value .TRUE. if a valid licence is found, otherwise .FALSE. is returned.
On non licence-managed implementations, .TRUE. is always returned.

4  References

None.

5  Parameters

None.

6  Error Indicators and Warnings

None.

7  Accuracy

Not applicable.

8  Parallelism and Performance

Not applicable.

9  Further Comments

None.

10  Example

This example prints an appropriate message depending upon the value returned by A00ACF.

10.1  Program Text

Program Text (a00acfe.f90)

10.2  Program Data

None.

10.3  Program Results

Program Results (a00acfe.r)


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

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