NAG FL Interface
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.
The routine may be called by the names a00acf or nagf_info_licence.
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.
Error Indicators and Warnings
Parallelism and Performance
This example prints an appropriate message depending upon the value returned by a00acf.