Mikael Morin wrote:
On Saturday 16 July 2011 17:25:36 Tobias Burnus wrote:
integer, save :: A[4:6, 7:*]
is a scalar variable on each image, but it has a coarank of 2 with
lcobound(A) == [4, 7] and ucobound(A, dim=1) == 7.
ucobound(A, dim=1) == 6 ? Otherwise I'm even more confused.
Sorry
On 07/16/2011 06:43 PM, Mikael Morin wrote:
Well, the current implementation supports effectively only a single
image - for -fcoarray=single on purpose and for -fcoarray=lib because it
has not yet been implemented.
Later, one has to add some function call for "scalar[]"
while "scalar" itself is
On Saturday 16 July 2011 17:25:36 Tobias Burnus wrote:
> Mikael Morin wrote:
> > let me understand one thing about coarray scalars: despite their name,
> > they are arrays, right?
>
> Yes and no. In terms of the language, they are scalars - but they have a
> codimension, e.g.
> integer, save
On Sat, Jul 16, 2011 at 05:25:36PM +0200, Tobias Burnus wrote:
>
> PS: I should document somewhere how coarrays are implemented internally.
gcc/gcc4x/gcc/fortran/gfc-internals.texi
:-)
--
Steve
Mikael Morin wrote:
let me understand one thing about coarray scalars: despite their name, they
are arrays, right?
Yes and no. In terms of the language, they are scalars - but they have a
codimension, e.g.
integer, save :: A[4:6, 7:*]
is a scalar variable on each image, but it has a coara
On Monday 11 July 2011 09:49:20 Tobias Burnus wrote:
> On 07/10/2011 09:56 PM, Tobias Burnus wrote:
> > This patch implemented the trans*.c part of allocatable scalar
> > coarrays; contrary to noncoarray allocatable scalars, they have
> > cobounds and thus use an array descriptor.
>
> I found a te
Sorry for pinging again, but the patch is large enough to block a bit my
progress ...
Other pending patches - which should be quickly reviewable::
- http://gcc.gnu.org/ml/fortran/2011-07/msg00170.html
- http://gcc.gnu.org/ml/fortran/2011-07/msg00142.html
Tobias
Tobias Burnus wrote:
*ping*
htt
*ping*
http://gcc.gnu.org/ml/fortran/2011-07/msg00106.html
On 07/11/2011 09:49 AM, Tobias Burnus wrote:
On 07/10/2011 09:56 PM, Tobias Burnus wrote:
This patch implemented the trans*.c part of allocatable scalar
coarrays; contrary to noncoarray allocatable scalars, they have
cobounds and thus
On 07/10/2011 09:56 PM, Tobias Burnus wrote:
This patch implemented the trans*.c part of allocatable scalar
coarrays; contrary to noncoarray allocatable scalars, they have
cobounds and thus use an array descriptor.
I found a test case (part of Reinhold Bader's fortran_tests), which gave
an IC