NAG FL Interface
x06xaf (using_​threaded_​impl)

Settings help

FL Name Style:

FL Specification Language:

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


5 Arguments


6 Error Indicators and Warnings


7 Accuracy

Not applicable.

8 Parallelism and Performance

Background information to multithreading can be found in the Multithreading documentation.
x06xaf is not threaded in any implementation.

9 Further Comments


10 Example