Visible to Intel only — GUID: GUID-EDCD27DE-A1C4-46DA-A4CB-0D420AF6B0E3
Visible to Intel only — GUID: GUID-EDCD27DE-A1C4-46DA-A4CB-0D420AF6B0E3
PARALLEL MASTER
OpenMP* Fortran Compiler Directive: (Deprecated; see PARALLEL MASKED) Creates a PARALLEL construct containing a MASTER construct, with no Fortran statements in the PARALLEL construct that are not also in the MASTER construct.
Syntax
!$OMP PARALLEL MASTER [clause[[,] clause]... ]
loosely-structured-block
!$OMP END PARALLEL MASTER
-or-
!$OMP PARALLEL MASTER [clause[[,] clause]... ]
strictly-structured-block
[!$OMP END PARALLEL MASTER]
clause |
Can be any of the clauses accepted by the PARALLEL or MASTER directives with identical meanings and restrictions. |
loosely-structured-block |
Is a structured block (section) of statements or constructs. You cannot branch into or out of the block. |
strictly-structured-block |
Is a Fortran BLOCK construct. You cannot branch into or out of the BLOCK construct. |
This combined directive provides a shortcut for specifying a PARALLEL construct with a MASTER construct nested inside of it. The semantics are identical to a MASTER construct specified immediately after a PARALLEL construct; the only Fortran statements in the construct are inside block.
All restrictions for PARALLEL and MASTER constructs apply to this combined construct.
The PARALLEL MASTER directive is deprecated; you should use the PARALLEL MASKED directive.