From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 114923 invoked by alias); 24 Nov 2015 19:41:10 -0000 Mailing-List: contact fortran-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: fortran-owner@gcc.gnu.org Received: (qmail 114906 invoked by uid 89); 24 Nov 2015 19:41:10 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-wm0-f50.google.com Received: from mail-wm0-f50.google.com (HELO mail-wm0-f50.google.com) (74.125.82.50) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Tue, 24 Nov 2015 19:41:08 +0000 Received: by wmuu63 with SMTP id u63so110843494wmu.0 for ; Tue, 24 Nov 2015 11:41:06 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:message-id:to:subject:cc:reply-to :in-reply-to; bh=06wn49IgRzEqCBbLFPUCMX8QXdV3F28eSQl1vmM0MRQ=; b=Z0tusOBRie9qYaI+m3lZ+ZrMUrCQWqW+KJVVKkla1PtEV4wrGQNuVQfovqS8C2BjyP aKFX4Kpr0kxJUuzTduQbv1dWMvuxVDH4675zlaR3X8VJEK5x4K7Y9wGmIG+RH3ttDyv0 W+QY36GaKtHU67V6AYaCJkjXIx/osTfHM4grFc3FTSR1+eHf7XvFU1KsW8kUn3kdoRJK xalkVwqQaqIC0ZVXFoPIWYLeC6xql9a2a2xgitNZbe4nuM0sMJMlFNKK73l9T0XtPh0L aAV4H64yUZn6tjMM/e2buHMe6XRaqjVaYuah0PnutOO1iz3o0O6AG429pRV+o4LGWv7t MMwQ== X-Gm-Message-State: ALoCoQm8HKJorsldA3Rub5DLAV8yVssxySw0crP+ZQNcRY96H7WAsABIamcnSEB5mPYHLOkqAf7y X-Received: by 10.28.136.149 with SMTP id k143mr120829wmd.57.1448394065925; Tue, 24 Nov 2015 11:41:05 -0800 (PST) Received: from mech-as222.men.bris.ac.uk (mech-as222.men.bris.ac.uk. [137.222.170.4]) by smtp.gmail.com with ESMTPSA id an7sm19681557wjc.44.2015.11.24.11.41.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 24 Nov 2015 11:41:05 -0800 (PST) Date: Tue, 24 Nov 2015 19:41:00 -0000 X-Google-Original-Date: Tue, 24 Nov 2015 19:41:04 GMT Received: from mech-as222.men.bris.ac.uk (localhost [127.0.0.1]) by mech-as222.men.bris.ac.uk (8.15.2/8.15.2) with ESMTP id tAOJf4tE099888; Tue, 24 Nov 2015 19:41:04 GMT (envelope-from mexas@mech-as222.men.bris.ac.uk) Received: (from mexas@localhost) by mech-as222.men.bris.ac.uk (8.15.2/8.15.2/Submit) id tAOJf4fM099887; Tue, 24 Nov 2015 19:41:04 GMT (envelope-from mexas) From: Anton Shterenlikht Message-Id: <201511241941.tAOJf4fM099887@mech-as222.men.bris.ac.uk> To: mexas@bris.ac.uk, sgk@troutmask.apl.washington.edu Subject: Re: 5.1 - coindexed access to a pointer or allocatable component of the coindexed coarray at (1) is not yet supported Cc: fortran@gcc.gnu.org Reply-To: mexas@bris.ac.uk In-Reply-To: <20151124180802.GA67225@troutmask.apl.washington.edu> X-IsSubscribed: yes X-SW-Source: 2015-11/txt/msg00159.txt.bz2 >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