NAG Library Routine Document
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.
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.
6 Error Indicators and Warnings
This example prints an appropriate message depending upon the value returned by A00ACF.
9.1 Program Text
Program Text (a00acfe.f90)
9.2 Program Data
9.3 Program Results
Program Results (a00acfe.r)