NAG FL Interface
x06xaf (using_​threaded_​impl)

1 Purpose

x06xaf returns 1 when using a multithreaded implementation of the NAG Library and 0 otherwise.

2 Specification

Fortran Interface
Function x06xaf ( )
Integer :: x06xaf
C Header Interface
#include <nag.h>
Integer  x06xaf_ ()
The routine may be called by the names x06xaf or nagf_omp_using_threaded_impl.

3 Description

x06xaf can be used to determine whether you are using a serial or multithreaded implementation of the NAG Library. In particular, with this information the behaviour of the other routines in this chapter can be predicted, as described in the X06 Chapter Introduction.
The routine returns 1 when a multithreaded implementation of the Library is being used and 0 if a serial implementation is being used.

4 References

None.

5 Arguments

None.

6 Error Indicators and Warnings

None.

7 Accuracy

Not applicable.

8 Parallelism and Performance

x06xaf is not threaded in any implementation.

9 Further Comments

None.

10 Example

None.