From owner-sc22wg5+sc22wg5-dom9=www.open-std.org@open-std.org  Thu Oct 22 07:05:20 2020
Return-Path: <owner-sc22wg5+sc22wg5-dom9=www.open-std.org@open-std.org>
X-Original-To: sc22wg5-dom9
Delivered-To: sc22wg5-dom9@www.open-std.org
Received: by www.open-std.org (Postfix, from userid 521)
	id D62D4358A2F; Thu, 22 Oct 2020 07:05:20 +0200 (CEST)
Delivered-To: sc22wg5@open-std.org
Received: from nag-j.co.jp (bvdeuz19.secure.ne.jp [180.222.80.19])
	by www.open-std.org (Postfix) with SMTP id AB42D3588A5
	for <sc22wg5@open-std.org>; Thu, 22 Oct 2020 07:05:18 +0200 (CEST)
Received: (qmail 17566 invoked from network); 22 Oct 2020 14:05:15 +0900
Received: from unknown (HELO Maru10) (218.42.159.105)
  by 0 with SMTP; 22 Oct 2020 14:05:15 +0900
From: "Malcolm Cohen" <malcolm@nag-j.co.jp>
To: <sc22wg5@open-std.org>
Subject: WG5 letter ballot (due 24 Oct)
Date: Thu, 22 Oct 2020 14:05:15 +0900
Message-ID: <023f01d6a830$ee061180$ca123480$@nag-j.co.jp>
MIME-Version: 1.0
Content-Type: multipart/alternative;
	boundary="----=_NextPart_000_0240_01D6A87C.5DEDB980"
X-Mailer: Microsoft Outlook 16.0
Thread-Index: AdaoMJZ67MYYbmerS9WQc3k6g5xyQw==
Content-Language: ja
Sender: owner-sc22wg5@open-std.org
Precedence: bulk

This is a multipart message in MIME format.

------=_NextPart_000_0240_01D6A87C.5DEDB980
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

 

The following Fortran 2018 interpretations are being balloted:

 

Yes  No Number   Title

-Y- --- F18/001  ACOSH principal value specification is wrong

-Y- --- F18/002  Internal procedures in generic interface blocks

-Y- --- F18/003  Pointer association of component of non-definable selector

-Y- --- F18/004  Program execution sequence with failed images

-Y- --- F18/005  Does INPUT_UNIT really identify the same unit as *?

-Y- --- F18/006  Connection of INPUT_UNIT on different images

-Y- --- F18/008  Contradictory assumed-rank requirements

-Y- --- F18/009  Bad examples in IEEE_ARITHMETIC functions

-Y- --- F18/010  Categories of pure procedures

-Y- --- F18/011  Categories of elemental procedures

-Y- --- F18/012  Internal procedure in a generic interface

-Y- --- F18/013  TEAM_NUMBER arguments and intrinsic function are ambiguous

-Y- --- F18/014  Type of OPERATION arguments to the REDUCE intrinsic

--- -N- F18/015  Example in C.6.8 is wrong

-Y- --- F18/016  Host association changes in Fortran 2018

-Y- --- F18/017  Final subroutine invocation order

-Y- --- F18/018  Public namelist and private variable

 

 

NO vote for F18/015:

 

Individually these don't really warrant a "no", but together I think they
do. 

 

(1) The formula given in the comment differs from the code for the number of
"spare" images.

(a) The comment should be changed to

! Choose how many images to keep as spares.

(b) The code should be changed, either to something very simple like

images_spare = (NUM_IMAGES()+90)/100

or to the several lines suggested by Anton.

My preference would be for something really simple, but anything reasonable
that resolves the comment/=code dichotomy is fine.

 

(2) The variable "team_number" should be changed to "team_num", or anything
else that is understandable but not the name of a standard intrinsic.

 

(3) The error handling is half-hearted. It should be improved by

(a) following "IF (status == STAT_FAILED_IMAGE) EXIT simulation" (after
CHANGE TEAM) with

IF (status/=0) EXIT outer

 

(b) following "END TEAM (STAT=status) simulation" with

IF (status/=0 .AND. status/=STAT_FAILED_IMAGE) EXIT outer

 

(c) following "SYNC ALL (STAT=status)" (two lines down from (b)) with

IF (status/=0 .AND. status/=STAT_FAILED_IMAGE) EXIT outer

 

Cheers,

-- 

..............Malcolm Cohen, NAG Oxford/Tokyo.

 


------=_NextPart_000_0240_01D6A87C.5DEDB980
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40"><head><meta =
http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii"><meta name=3DGenerator content=3D"Microsoft Word 15 =
(filtered medium)"><style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:"Yu Gothic";
	panose-1:2 11 4 0 0 0 0 0 0 0;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:"Yu Gothic";
	panose-1:2 11 4 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;}
span.17
	{mso-style-type:personal-compose;
	font-family:"Calibri",sans-serif;
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri",sans-serif;}
@page WordSection1
	{size:612.0pt 792.0pt;
	margin:99.25pt 3.0cm 3.0cm 3.0cm;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DEN-GB =
link=3D"#0563C1" vlink=3D"#954F72" style=3D'word-wrap:break-word'><div =
class=3DWordSection1><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p =
class=3DMsoNormal>The following Fortran 2018 interpretations are being =
balloted:<o:p></o:p></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p =
class=3DMsoNormal>Yes&nbsp; No Number&nbsp;&nbsp; Title<o:p></o:p></p><p =
class=3DMsoNormal>-Y- --- F18/001&nbsp; ACOSH principal value =
specification is wrong<o:p></o:p></p><p class=3DMsoNormal>-Y- --- =
F18/002&nbsp; Internal procedures in generic interface =
blocks<o:p></o:p></p><p class=3DMsoNormal>-Y- --- F18/003&nbsp; Pointer =
association of component of non-definable selector<o:p></o:p></p><p =
class=3DMsoNormal>-Y- --- F18/004&nbsp; Program execution sequence with =
failed images<o:p></o:p></p><p class=3DMsoNormal>-Y- --- F18/005&nbsp; =
Does INPUT_UNIT really identify the same unit as *?<o:p></o:p></p><p =
class=3DMsoNormal>-Y- --- F18/006&nbsp; Connection of INPUT_UNIT on =
different images<o:p></o:p></p><p class=3DMsoNormal>-Y- --- =
F18/008&nbsp; Contradictory assumed-rank requirements<o:p></o:p></p><p =
class=3DMsoNormal>-Y- --- F18/009&nbsp; Bad examples in IEEE_ARITHMETIC =
functions<o:p></o:p></p><p class=3DMsoNormal>-Y- --- F18/010&nbsp; =
Categories of pure procedures<o:p></o:p></p><p class=3DMsoNormal>-Y- --- =
F18/011&nbsp; Categories of elemental procedures<o:p></o:p></p><p =
class=3DMsoNormal>-Y- --- F18/012&nbsp; Internal procedure in a generic =
interface<o:p></o:p></p><p class=3DMsoNormal>-Y- --- F18/013&nbsp; =
TEAM_NUMBER arguments and intrinsic function are =
ambiguous<o:p></o:p></p><p class=3DMsoNormal>-Y- --- F18/014&nbsp; Type =
of OPERATION arguments to the REDUCE intrinsic<o:p></o:p></p><p =
class=3DMsoNormal>--- -N- F18/015&nbsp; Example in C.6.8 is =
wrong<o:p></o:p></p><p class=3DMsoNormal>-Y- --- F18/016&nbsp; Host =
association changes in Fortran 2018<o:p></o:p></p><p =
class=3DMsoNormal>-Y- --- F18/017&nbsp; Final subroutine invocation =
order<o:p></o:p></p><p class=3DMsoNormal>-Y- --- F18/018&nbsp; Public =
namelist and private variable<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>NO vote for =
F18/015:<o:p></o:p></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p =
class=3DMsoNormal>Individually these don&#8217;t really warrant a =
&#8220;no&#8221;, but together I think they do. <o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>(1) The =
formula given in the comment differs from the code for the number of =
&#8220;spare&#8221; images.<o:p></o:p></p><p class=3DMsoNormal>(a) The =
comment should be changed to<o:p></o:p></p><p class=3DMsoNormal><span =
style=3D'font-size:12.0pt;color:black'>! Choose how many images to keep =
as spares.<o:p></o:p></span></p><p class=3DMsoNormal>(b) The code should =
be changed, either to something very simple like<o:p></o:p></p><p =
class=3DMsoNormal>images_spare =3D =
(NUM_IMAGES()+90)/100<o:p></o:p></p><p class=3DMsoNormal>or to the =
several lines suggested by Anton.<o:p></o:p></p><p class=3DMsoNormal>My =
preference would be for something really simple, but anything reasonable =
that resolves the comment/=3Dcode dichotomy is fine.<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>(2) The =
variable &#8220;team_number&#8221; should be changed to =
&#8220;team_num&#8221;, or anything else that is understandable but not =
the name of a standard intrinsic.<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>(3) The =
error handling is half-hearted. It should be improved =
by<o:p></o:p></p><p class=3DMsoNormal>(a) following &#8220;IF (status =
=3D=3D STAT_FAILED_IMAGE) EXIT simulation&#8221; (after CHANGE TEAM) =
with<o:p></o:p></p><p class=3DMsoNormal>IF (status/=3D0) EXIT =
outer<o:p></o:p></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p =
class=3DMsoNormal>(b) following &#8220;END TEAM (STAT=3Dstatus) =
simulation&#8221; with<o:p></o:p></p><p class=3DMsoNormal><span =
style=3D'font-size:12.0pt;color:black'>IF (status/=3D0 .AND. =
status/=3DSTAT_FAILED_IMAGE) EXIT outer<o:p></o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'font-size:12.0pt;color:black'><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoNormal><span style=3D'font-size:12.0pt;color:black'>(c) =
following &#8220;SYNC ALL (STAT=3Dstatus)&#8221; (two lines down from =
(b)) with<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:12.0pt;color:black'>IF (status/=3D0 .AND. =
status/=3DSTAT_FAILED_IMAGE) EXIT outer<o:p></o:p></span></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p =
class=3DMsoNormal>Cheers,<o:p></o:p></p><p class=3DMsoNormal =
style=3D'text-align:justify;text-justify:inter-ideograph'><span =
lang=3DEN-US style=3D'font-size:10.5pt'>-- </span><span =
style=3D'font-size:10.5pt'><o:p></o:p></span></p><p class=3DMsoNormal =
style=3D'text-align:justify;text-justify:inter-ideograph'><span =
lang=3DEN-US style=3D'font-size:10.5pt'>..............Malcolm Cohen, NAG =
Oxford/Tokyo.</span><span =
style=3D'font-size:10.5pt'><o:p></o:p></span></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p></div></body></html>
------=_NextPart_000_0240_01D6A87C.5DEDB980--

