INSTANCE (TU*X only)
Compaq Fortran Parallel Compiler Directive: Specifies
the availability of named common blocks.
Syntax
- c$PAR INSTANCE { SINGLE |
PARALLEL } /cb/[, /cb/] ...
- c
Is one of the following: C (or c), !, or * (see
Syntax Rules for Parallel Directives).
- cb
Is the name of the common block. The slashes are required.
Rules and Behavior
The keywords are described as follows:
- SINGLE - Specifies that there will be a single
instance of the named common blocks. This implies that all threads share the
same copy, and assignments to the constituent items in the common
blocks occurring in one thread affect the values of those items
in the same named common blocks in other threads.
- PARALLEL - This is the same as specifying the
OpenMP Fortran API THREADPRIVATE directive.
INSTANCE SINGLE is the default for named common blocks.
See Also: Parallel Directives for Tru64 UNIX Systems,
Compaq Fortran Parallel Compiler Directives (TU*X only),
OpenMP Fortran API Compiler Directives (TU*X only)