Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

You may call me by my name, Wirth, or by my value, Worth. -- Nicklaus Wirth


devel / comp.lang.fortran / “Image” = “Process”?

SubjectAuthor
* “Image” = “Process”?Lawrence D'Oliveiro
+* Re: “Image” = “Process”?Steven G. Kargl
|`- Re: “Image” = “Process”?Lawrence D'Oliveiro
`* Re: “Image” = “Process”?Thomas Koenig
 `* Re: “Image” = “Process”?Lawrence D'Oliveiro
  `- Re: “Image” = “Process”?Thomas Koenig

1
“Image” = “Process”?

<urglhc$25fkj$3@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=3889&group=comp.lang.fortran#3889

  copy link   Newsgroups: comp.lang.fortran
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.lang.fortran
Subject: “Image” = “Process”?
Date: Mon, 26 Feb 2024 00:21:01 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 14
Message-ID: <urglhc$25fkj$3@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 26 Feb 2024 00:21:01 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="ea15bd06c2061660f1136ed37eb9a688";
logging-data="2277011"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+uoHvk9QEutRDiKkbD99pS"
User-Agent: Pan/0.155 (Kherson; fc5a80b8)
Cancel-Lock: sha1:80eC6glsROHt/FSzUZLqMQKB2xI=
 by: Lawrence D'Oliv - Mon, 26 Feb 2024 00:21 UTC

Here’s another bit of terminology the Fortran spec seemed to feel the need
to invent for itself: talking about “images” to refer to running instances
of a program. I figured this either meant “thread” or “process”, but a
clue appears in the 2018 spec, section 11.4, “STOP and ERROR STOP
statements”:

When an image is terminated by a STOP or ERROR STOP statement, its
stop code, if any, is made available in a processor-dependent
manner. If the stop-code is an integer, it is recommended that the
value be used as the process exit status, if the processor
supports that concept.

So an image “terminates”, and returns a process “exit status”; this must
mean that an “image” is equivalent to a “process”.

Re: “Image” = “Process”?

<urgo2k$25q4r$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=3890&group=comp.lang.fortran#3890

  copy link   Newsgroups: comp.lang.fortran
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: sgk@REMOVEtroutmask.apl.washington.edu (Steven G. Kargl)
Newsgroups: comp.lang.fortran
Subject: Re: “Image” = “Process”?
Date: Mon, 26 Feb 2024 01:04:20 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 33
Message-ID: <urgo2k$25q4r$1@dont-email.me>
References: <urglhc$25fkj$3@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 26 Feb 2024 01:04:20 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="5572bce1fd330bd1caea87ba3dee2887";
logging-data="2287771"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18KeG12JrO0wA/mVD/iCWV/"
User-Agent: Pan/0.145 (Duplicitous mercenary valetism; d7e168a
git.gnome.org/pan2)
Cancel-Lock: sha1:FKwH03CKbu85rr94bqSsH0zEM9c=
 by: Steven G. Kargl - Mon, 26 Feb 2024 01:04 UTC

On Mon, 26 Feb 2024 00:21:01 +0000, Lawrence D'Oliveiro wrote:

> Here’s another bit of terminology the Fortran spec seemed to feel the
> need to invent for itself: talking about “images” to refer to running
> instances of a program. I figured this either meant “thread” or
> “process”, but a clue appears in the 2018 spec, section 11.4, “STOP and
> ERROR STOP statements”:
>
> When an image is terminated by a STOP or ERROR STOP statement, its
> stop code, if any, is made available in a processor-dependent
> manner. If the stop-code is an integer, it is recommended that the
> value be used as the process exit status, if the processor supports
> that concept.
>
> So an image “terminates”, and returns a process “exit status”; this must
> mean that an “image” is equivalent to a “process”.

Section 3 of the Fortran standard from 2018 defines
the meaning of technical terms. You'll find

3.80
Image
instance of a Fortran program

An 'instance of a Fortran program' could be a grad student
in an office executing her advisor's Fortran program with
pen and paper.

To get a better understand of 'image' see F2018, 5.3.4 Program
execution.

--
steve

Re: “Image” = “Process”?

<urh0d3$2b73j$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=3891&group=comp.lang.fortran#3891

  copy link   Newsgroups: comp.lang.fortran
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.lang.fortran
Subject: Re: “Image” = “Process”?
Date: Mon, 26 Feb 2024 03:26:27 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 10
Message-ID: <urh0d3$2b73j$1@dont-email.me>
References: <urglhc$25fkj$3@dont-email.me> <urgo2k$25q4r$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 26 Feb 2024 03:26:27 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="ea15bd06c2061660f1136ed37eb9a688";
logging-data="2464883"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18ow3E6FhnyroQr2JOBse0K"
User-Agent: Pan/0.155 (Kherson; fc5a80b8)
Cancel-Lock: sha1:sUcex0gVNmPR2OmkDY7K9D6F7b8=
 by: Lawrence D'Oliv - Mon, 26 Feb 2024 03:26 UTC

On Mon, 26 Feb 2024 01:04:20 -0000 (UTC), Steven G. Kargl wrote:

> 3.80 Image instance of a Fortran program
>
> An 'instance of a Fortran program' could be a grad student in an office
> executing her advisor's Fortran program with pen and paper.

So what is an “Image instance”, how does that relate to an “instance of a
Fortran program”, or to an “image”? And where does a “process” or “process
exit status” come into this?

Re: “Image” = “Process”?

<urij0d$pjn4$1@newsreader4.netcologne.de>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=3892&group=comp.lang.fortran#3892

  copy link   Newsgroups: comp.lang.fortran
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.swapon.de!newsreader4.netcologne.de!news.netcologne.de!.POSTED.2001-4dd7-d00d-0-4291-bf1-2f12-8227.ipv6dyn.netcologne.de!not-for-mail
From: tkoenig@netcologne.de (Thomas Koenig)
Newsgroups: comp.lang.fortran
Subject: Re: “Image” =
“Process”?
Date: Mon, 26 Feb 2024 17:50:05 -0000 (UTC)
Organization: news.netcologne.de
Distribution: world
Message-ID: <urij0d$pjn4$1@newsreader4.netcologne.de>
References: <urglhc$25fkj$3@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 26 Feb 2024 17:50:05 -0000 (UTC)
Injection-Info: newsreader4.netcologne.de; posting-host="2001-4dd7-d00d-0-4291-bf1-2f12-8227.ipv6dyn.netcologne.de:2001:4dd7:d00d:0:4291:bf1:2f12:8227";
logging-data="839396"; mail-complaints-to="abuse@netcologne.de"
User-Agent: slrn/1.0.3 (Linux)
 by: Thomas Koenig - Mon, 26 Feb 2024 17:50 UTC

Lawrence D'Oliveiro <ldo@nz.invalid> schrieb:
> Here’s another bit of terminology the Fortran spec seemed to feel the need
> to invent for itself: talking about “images” to refer to running instances
> of a program. I figured this either meant “thread” or “process”,

The term is independent of the implementation. Coarrays can be
implemented in a multitude of ways, including threads, processes
or MPI wachamacallits.

And that is the whole point: Implemenations are free to implement
any way they want. Talkling about "threads" on a 1000-node,
24000-core would not make a lot of sense, for example.

>but a
> clue appears in the 2018 spec, section 11.4, “STOP and ERROR STOP
> statements”:
>
> When an image is terminated by a STOP or ERROR STOP statement, its
> stop code, if any, is made available in a processor-dependent
> manner. If the stop-code is an integer, it is recommended that the
> value be used as the process exit status, if the processor
> supports that concept.
>
> So an image “terminates”, and returns a process “exit status”; this must
> mean that an “image” is equivalent to a “process”.

No.

Re: “Image” = “Process”?

<uris3b$2nq9h$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=3893&group=comp.lang.fortran#3893

  copy link   Newsgroups: comp.lang.fortran
Path: i2pn2.org!rocksolid2!news.neodome.net!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.lang.fortran
Subject: Re: “Image” = “Process”?
Date: Mon, 26 Feb 2024 20:25:16 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 21
Message-ID: <uris3b$2nq9h$1@dont-email.me>
References: <urglhc$25fkj$3@dont-email.me>
<urij0d$pjn4$1@newsreader4.netcologne.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 26 Feb 2024 20:25:16 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="ea15bd06c2061660f1136ed37eb9a688";
logging-data="2877745"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18ZNNbYnfgTcRnRVgGSF1RY"
User-Agent: Pan/0.155 (Kherson; fc5a80b8)
Cancel-Lock: sha1:eJl8RFvRs0cBx0U7aOLvlR8KDqo=
 by: Lawrence D'Oliv - Mon, 26 Feb 2024 20:25 UTC

On Mon, 26 Feb 2024 17:50:05 -0000 (UTC), Thomas Koenig wrote:

> Lawrence D'Oliveiro <ldo@nz.invalid> schrieb:
>
>> but a clue appears in the 2018 spec, section 11.4, “STOP and ERROR STOP
>> statements”:
>>
>> When an image is terminated by a STOP or ERROR STOP statement, its
>> stop code, if any, is made available in a processor-dependent
>> manner. If the stop-code is an integer, it is recommended that the
>> value be used as the process exit status, if the processor supports
>> that concept.
>>
>> So an image “terminates”, and returns a process “exit status”; this
>> must mean that an “image” is equivalent to a “process”.
>
> No.

But a process can only have one exit status, and an image can only have
one stop code. If there is not a 1:1 correspondence between them, then
what?

Re: “Image” = “Process”?

<urivkc$psto$1@newsreader4.netcologne.de>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=3894&group=comp.lang.fortran#3894

  copy link   Newsgroups: comp.lang.fortran
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!.POSTED.2001-4dd7-d00d-0-4291-bf1-2f12-8227.ipv6dyn.netcologne.de!not-for-mail
From: tkoenig@netcologne.de (Thomas Koenig)
Newsgroups: comp.lang.fortran
Subject: Re: “Image” =
“Process”?
Date: Mon, 26 Feb 2024 21:25:32 -0000 (UTC)
Organization: news.netcologne.de
Distribution: world
Message-ID: <urivkc$psto$1@newsreader4.netcologne.de>
References: <urglhc$25fkj$3@dont-email.me>
<urij0d$pjn4$1@newsreader4.netcologne.de> <uris3b$2nq9h$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 26 Feb 2024 21:25:32 -0000 (UTC)
Injection-Info: newsreader4.netcologne.de; posting-host="2001-4dd7-d00d-0-4291-bf1-2f12-8227.ipv6dyn.netcologne.de:2001:4dd7:d00d:0:4291:bf1:2f12:8227";
logging-data="848824"; mail-complaints-to="abuse@netcologne.de"
User-Agent: slrn/1.0.3 (Linux)
 by: Thomas Koenig - Mon, 26 Feb 2024 21:25 UTC

Lawrence D'Oliveiro <ldo@nz.invalid> schrieb:
> On Mon, 26 Feb 2024 17:50:05 -0000 (UTC), Thomas Koenig wrote:
>
>> Lawrence D'Oliveiro <ldo@nz.invalid> schrieb:
>>
>>> but a clue appears in the 2018 spec, section 11.4, “STOP and ERROR STOP
>>> statements”:
>>>
>>> When an image is terminated by a STOP or ERROR STOP statement, its
>>> stop code, if any, is made available in a processor-dependent
>>> manner. If the stop-code is an integer, it is recommended that the
>>> value be used as the process exit status, if the processor supports
>>> that concept.
>>>
>>> So an image “terminates”, and returns a process “exit status”; this
>>> must mean that an “image” is equivalent to a “process”.
>>
>> No.
>
> But a process can only have one exit status, and an image can only have
> one stop code. If there is not a 1:1 correspondence between them, then
> what?

The answer is in the standard: "processor-dependent", so an
implementation is free to do whatever its writers feel like doing.
It could write to standard error, it could return an exit code,
or it could send a carrier pigeon (which would require the right
operational hardware) or an e-mail.

You're making the mistake of trying to fit a single concept to
something that is deliberately left as processor-dependent in the
standard. It doesn't fit (as I explained in the part you snipped).

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor