(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,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 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, but not in,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