Re: Co-Array Fortran
- From: nospam@xxxxxxxxxxxxx (Richard Maine)
- Date: Tue, 30 Oct 2007 17:08:25 -0700
<gary.l.scott@xxxxxxxx> wrote:
On Oct 30, 6:41 pm, Dan Nagle <danna...@xxxxxxxxxxx> wrote:
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.
I don't see the conflict, In fact, it sounds to me as though Dan and
Walter are saying exactly the same thing in slightly different words.
The words aren't even very different.
Walter's "depending on the value of np"
corresponds to Dan's "The value of the index(es) indicates"
and both match with my prior understanding.
I don't see what you are getting at with this whole line of question.
The notation clearly distinguishes cases which are guaranteed to be
local from those that might be remote. As a programmer, you can choose
to force locality as appropriate. What more is it you could be asking
for? You can't so easily force non-locality, as the code might be run in
an environment where there isn't any such option. Co-array codes can
perfectly well be run on single-processor systems.
It sort of sounds like you might be asking for a second level of
distinction, where something might be local to the same machine, but not
in the same process. Perhaps I'm not hearing it right. But if that's
what you want, that would be a whole additional level of complication.
--
Richard Maine | Good judgement comes from experience;
email: last name at domain . net | experience comes from bad judgement.
domain: summertriangle | -- Mark Twain
.
- Follow-Ups:
- Re: Co-Array Fortran
- From: gary . l . scott
- 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
- Re: Co-Array Fortran
- From: gary . l . scott
- 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):
Relevant Pages
|
|