Re: Co-Array Fortran



<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
.



Relevant Pages

  • Re: OO question
    ... not the entry already exists, I want to set-up some aspects of my object ... and make changes to it later depending on some condition. ... Anything you can do to a normal hash, you can do to an object. ... out of a reference to a scalar, an array, a filehandle, or pretty much ...
    (perl.beginners)
  • Re: Really weird COBOL behavior
    ... > of elements of the array and that the DEPENDING ON clause was simply to ... That applies not just to the direct reference to the table ... That standard also clarifies the combination of ODO and RECORD ...
    (comp.lang.cobol)
  • If statement referencing a VBA Form
    ... Can you use a field to reference a selection made on a VBA form? ... Depending on whether the Grantor is a person or company there are two ... On my vba form there are option buttons - individualor company. ...
    (microsoft.public.word.vba.general)
  • Re: Access VB and Serial Communication
    ... The following articles may be ... a good reference, depending on your exact needs. ...
    (microsoft.public.access.modulesdaovba)
  • Re: firefox error on page refreshing
    ... colored border on them depending on if they are selected or mouse ... or exists at the time) a reference to an element with the ID ... you are reading the id off an element and then using that to ...
    (comp.lang.javascript)