# PARALLEL MASTER TASKLOOP

OpenMP* Fortran Compiler Directive: (Deprecated, replaced by PARALLEL MASKED TASKLOOP) Creates a PARALLEL construct containing a MASTER TASKLOOP construct, with no Fortran statements in the PARALLEL construct that are not also in the MASTER TASKLOOP construct. This feature is only available for ifx.

## Syntax

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

loop-nest

[!$OMP END PARALLEL MASTER TASKLOOP]

clause | Can be any of the clauses accepted by the PARALLEL or MASTER TASKLOOP directives with identical meanings and restrictions.
loop-nest | Is a nest of DO loops in canonical form.

This combined directive provides a shortcut for specifying a PARALLEL construct with a MASTER TASKLOOP construct nested inside of it. The semantics are identical to a MASTER TASKLOOP construct specified immediately after a PARALLEL construct.

All restrictions for PARALLEL and MASTER TASKLOOP constructs apply to this combined construct.

The PARALLEL MASTER TASKLOOP directive is deprecated; you should use the PARALLEL MASKED TASKLOOP directive.

Parent topic: O to P

## See Also

OpenMP Fortran Compiler Directives
Syntax Rules for Compiler Directives
PARALLEL directive
MASTER TASKLOOP directive

To learn more about canonical form loops, see the OpenMP* specification.