Developer Guide and Reference

ID 767251
Date 10/31/2024
Public
Document Table of Contents

Established Coarrays

An established coarray is a coarray that is accessible using an image selector. The following can be said about coarrays:

  • Nonallocatable coarrays that have the SAVE attribute are established in the initial team.

  • Allocated allocatable coarrays are established in the team that allocates them. Unallocated allocatable coarrays are not established.

  • An associating entity that appears in a coarray association in a CHANGE TEAM statement is a coarray that is established in the team that becomes the current team after the CHANGE TEAM statement has been executed.

  • A coarray that is established a team in which a CHANGE TEAM statement is executed is established in the team that executes the CHANGE TEAM statement.

  • A nonallocatable coarray that is an associating entity in an ASSOCIATE, SELECT RANK, or SELECT TYPE construct is established in the team that executes that construct.

  • Nonallocatable coarrays that are dummy arguments are established in the team that invokes the procedure. A nonallocatable dummy argument coarray is not established in any ancestor team even if the corresponding actual argument is established in one or more of the ancestor teams.