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 18:26: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?
>> 
>
>Need a compilable piece of code to test.

I get the same on FreeBSD with gcc6-devel-6.0.0.s20151108,
so probaly not, but I'd be grateful if you could double check.

Sorry I haven't had the time to reduce to a single file.
Please use these 4 files:

http://sourceforge.net/p/cgpack/code/HEAD/tree/head/cgca_m1co.f90
http://sourceforge.net/p/cgpack/code/HEAD/tree/head/cgca_m2lnklst.f90
http://sourceforge.net/p/cgpack/code/HEAD/tree/head/cgca_m2geom.f90
http://sourceforge.net/p/cgpack/code/HEAD/tree/head/cgca_m3pfem.f90

Then e.g.

gfortran6 -c -fcoarray=lib cgca_m1co.f90 cgca_m2lnklst.f90 cgca_m2geom.f90 cgca_m3pfem.f90

Thank you

Anton



More information about the Fortran mailing list