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

ID 767251
Date 11/07/2023
Public

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

Document Table of Contents

MASTER TASKLOOP

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

Syntax

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

   loop-nest

[!$OMP END MASTER TASKLOOP]

clause

Can be any of the clauses accepted by the MASTER or 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 MASTER construct with a TASKLOOP construct nested inside of it. The semantics are identical to a TASKLOOP construct specified immediately after a MASTER construct.

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

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

See Also