PDONE (TU*X only)

Compaq Fortran Parallel Compiler Directive: Is an executable statement that terminates the current parallel DO loop.

Syntax

c$PAR PDONE

c
Is one of the following: C (or c), !, or * (see Syntax Rules for Parallel Directives).

Rules and Behavior

The PDONE directive terminates the current parallel DO loop early, without completing any iterations that have not yet been assigned to a thread. Any iterations that have already been assigned to a thread are completed.

PDONE directives are permitted only within the lexical extent of a PDO or PARALLEL DO construct.

When the scheduling type is STATIC or INTERLEAVED, a PDONE directive has no effect because all iterations are assigned before execution of the parallel DO loop begins.

See Also: Parallel Directives for Tru64 UNIX Systems, Compaq Fortran Parallel Compiler Directives (TU*X only), OpenMP Fortran API Compiler Directives (TU*X only)