Re: Co-Array Fortran
- From: gary.l.scott@xxxxxxxx
- Date: Tue, 30 Oct 2007 16:42:47 -0700
On Oct 30, 6:41 pm, Dan Nagle <danna...@xxxxxxxxxxx> wrote:
Hello,
gary.l.sc...@xxxxxxxx wrote:
I think I understand basically, but not sure why it isn't often
important to know with certainty whether a coarray is local or not.
(performance?) If a coarray COULD be local (more or less), i might
structure the problem differently than if it might be indeterminately
local or remote.
A co-array element is local if and only if either:
There is no [] on the reference
-or-
The value of the index(es) indicates the this image
from walter spector
"a(i) = b(i) + c(i)[np]
The A and B references are local. But C is a coarray, and so would
load values from coarray process 'np'. (Which may or may not be local
-
depending on the value of np.) "
the last sentence seems to imply that with a [np] reference present,
it could denote either a local or remote reference depending on the
value. that superficially seem to conflict.
There are no other cases.
Note that co-arrays are defined in terms of images,
a similar question could be asked in terms of arrays
and cache lines. Both are beyond the standard.
--
Dan Nagle
Purple Sage Computing Solutions, Inc.
.
- Follow-Ups:
- Re: Co-Array Fortran
- From: Walter Spector
- Re: Co-Array Fortran
- From: Richard Maine
- Re: Co-Array Fortran
- From: Dan Nagle
- Re: Co-Array Fortran
- References:
- Co-Array Fortran
- From: gary . l . scott
- Re: Co-Array Fortran
- From: Dan Nagle
- Re: Co-Array Fortran
- From: Gary Scott
- Re: Co-Array Fortran
- From: Walter Spector
- Re: Co-Array Fortran
- From: gary . l . scott
- Re: Co-Array Fortran
- From: Dan Nagle
- Co-Array Fortran
- Prev by Date: Re: Co-Array Fortran
- Next by Date: Re: Co-Array Fortran
- Previous by thread: Re: Co-Array Fortran
- Next by thread: Re: Co-Array Fortran
- Index(es):