[J3] Termination of execution
Bill Long
longb at cray.com
Tue Jan 15 11:40:59 EST 2019
> On Jan 14, 2019, at 11:53 PM, Malcolm Cohen via J3 <j3 at mailman.j3-fortran.org> wrote:
>
> Hi folks,
>
> According to the standard, “Termination of execution of the program occurs when all images have terminated execution.”
Intersting point. Is this solved by inserting “nonfailed” between “all” and “images”? Or do we also need to append “, or all images have failed” at the end of the sentence, to catch that end case? We don’t want a program that has all images failed to continue to “hang around” waiting for something to happen ( probably reaching an externally set time limit for the job, or the user’s resource allocation expiring).
Cheers,
Bill
>
> This sentence was fine for F2008, but does not seem to have been updated to take image failure into account. So if any image executes a FAIL IMAGE statement, the program can never terminate.
>
> Somehow this doesn’t seem right.
>
> Cheers,
> --
> ..............Malcolm Cohen, NAG Oxford/Tokyo.
Bill Long longb at cray.com
Principal Engineer, Fortran Technical Support & voice: 651-605-9024
Bioinformatics Software Development fax: 651-605-9143
Cray Inc./ 2131 Lindau Lane/ Suite 1000/ Bloomington, MN 55425
More information about the J3
mailing list