(j3.2006) Assignment, coarrays, and coindexed objects

Bill Long longb
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 7.2.1.2p1(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. 

Cheers,
Bill


>  In In 7.2.1.2p1(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 7.2.1.2p1(3), but not in 7.2.1.2p1(1,8)?
> _______________________________________________
> J3 mailing list
> J3 at mailman.j3-fortran.org
> http://mailman.j3-fortran.org/mailman/listinfo/j3

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 mailing list