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

ID 767251
Date 3/22/2024
Public

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

Document Table of Contents

Deferred-Coshape Coarrays

A deferred-coshape(allocatable) coarray has cobounds that are determined by allocation or argument association.

An allocatable coarray has the ALLOCATABLE attribute and a deferred-coshape specification.

A deferred-coshape specification is indicated by a colon (:).

The corank of an allocatable coarray is equal to the number of colons in its deferred-coshape specification.

The cobounds of an unallocated allocatable coarray are undefined. No part of such a coarray can be referenced or defined; however, the coarray may appear as an argument to an intrinsic inquiry function.

The cobounds of an allocated allocatable coarray are those specified when the coarray is allocated.

The cobounds of an allocatable coarray are unaffected by any subsequent redefinition or undefinition of the variables on which the cobounds' expressions depend.

See Also