Intel® Fortran Compiler

Developer Guide and Reference

ID 767251
Date 12/12/2025
Public
Document Table of Contents

NOWAIT Clause

Parallel Directive Clause: Specifies that threads may resume execution before the execution of the region completes.

Syntax

NOWAIT [exp]

exp

Is an optional logical expression. If omitted, it is as if .TRUE. was specified.

If exp evaluates to .TRUE. or if it is omitted, this clause removes the synchronization barrier implied at the end of the region. If exp evaluates to false, the NOWAIT clause is ignored as if it had not been specified for the construct it appears on.

NOTE:

NOWAIT can also be specified as a keyword in several OpenMP* END directives, but the keyword form does not allow exp to appear.

At most one NOWAIT clause or keyword can appear in a directive that allows the clause or keyword.

If the NOWAIT clause appears in the beginning directive of a construct, the NOWAIT keyword cannot appear in the end directive of the same construct. If a NOWAIT keyword appears in the END directive of a construct, a NOWAIT clause cannot appear in the matching directive that begins the construct.