(j3.2006) Assignment, coarrays, and coindexed objects
Thu May 14 18:30:48 EDT 2015
On May 14, 2015, at 4:16 PM, Van Snyder <van.snyder at jpl.nasa.gov> wrote:
> In 18.104.22.168p1(1,3,8) a variable is not permitted to be allocatable if it
> is a coarray.
Not so. Allocatable coarrays are common. The point of that text is to exclude allocatable coarrays from the automatic reallocation on assignment feature. Without that exclusion, whole array assignments to a coarray could turn into global syncs, which would be a disaster.
> In In 22.214.171.124p1(3) it's also prohibited to be a coindexed
> object. I presume the latter is to cover the case of an allocatable
> subobject of a coarray. Why do we care about allocatable subobjects of
> coarrays in 126.96.36.199p1(3), but not in 188.8.131.52p1(1,8)?
> J3 mailing list
> J3 at mailman.j3-fortran.org
Bill Long longb at cray.com
Fortran Technical Support & voice: 651-605-9024
Bioinformatics Software Development fax: 651-605-9142
Cray Inc./ Cray Plaza, Suite 210/ 380 Jackson St./ St. Paul, MN 55101
More information about the J3