Intel® Fortran Compiler Classic and Intel® Fortran Compiler Developer Guide and Reference

ID 767251
Date 3/31/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

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.

See Also