5.1 - coindexed access to a pointer or allocatable component of the coindexed coarray at (1) is not yet supported

Anton Shterenlikht mexas@bris.ac.uk
Tue Nov 24 19:41:00 GMT 2015


>From sgk@troutmask.apl.washington.edu Tue Nov 24 18:12:36 2015
>
>On Tue, Nov 24, 2015 at 09:21:19AM -0800, Anton Shterenlikht wrote:
>> 
>> With GCC 5.1 and OpenCoarrays 1.2.0
>> I get:
>> 
>>   cgca_pfem_integrity[ lcentr(i)%image ] % i( lcentr(i)%elnum ) =       &
>>  1
>> Error: Sorry, coindexed access to a pointer or allocatable component of the coindexed coarray at (1) is not yet supported
>> 
>> Is this supported in later versions?

I tried to work around the problem by:

type rca
  real( kind=cgca_pfem_iwp ), allocatable :: r(:,:)
end type rca
  type( rca ) :: cgca_pfem_centroid_tmp[*], tmp

! identical allocation for tmp%r and cgca_pfem_centroid_tmp[...]%r

  tmp = cgca_pfem_centroid_tmp[ img_curr ]

This also does not work:


   tmp = cgca_pfem_centroid_tmp[ img_curr ]
        1
Error: Sorry, coindexed coarray at (1) with allocatable component is not yet supported


Thanks

Anton



More information about the Fortran mailing list