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. This feature is only available for ifx.

Syntax

!$OMP PARALLEL MASTER [clause[[,] clause]... ]

   block

!$OMP END PARALLEL MASTER

clause

Can be any of the clauses accepted by the PARALLEL or MASTER directives with identical meanings and restrictions.

block

Is one or more Fortran statements and/or constructs.

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.

See Also