<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1" style="word-wrap:break-word">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Hi,<br>
<br>
MPI 3.0 Page 555, Lines 28-40 clearly requests a Fortran PMPI interface.<br>
<br>
"This requires, in C and Fortran, an alternate entry point name, with the prefi?x PMPI_ for<br>
each MPI function in each provided language binding and language support method."<br>
<br>
Thus goal 1 and 4 is violated.<br>
<br>
Items 2 and 3 of the strawman proposal define implementation details.<br>
The MPI standard doesn't define implementation details.<br>
For example, NEC MPI is never calling the C MPI_Test function in the Fortran MPI_Test function<br>
(which is implemented in C). Both items would hurt goal 2 for me.<br>
<br>
Hubert<br>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div style="direction: ltr;" id="divRpF522268"><font color="#000000" face="Tahoma" size="2"><b>From:</b> Craig Rasmussen [rasmus@cas.uoregon.edu]<br>
<b>Sent:</b> Friday, March 22, 2013 4:29 PM<br>
<b>To:</b> MPI-3 Fortran working group<br>
<b>Cc:</b> Martin Schulz; Bill Long; Hubert Ritzdorf<br>
<b>Subject:</b> Re: [MPI3 Fortran] [Mpi-comments] MPI 3.0: Fortran 2008 interface - issue with the LOGICAL kind<br>
</font><br>
</div>
<div></div>
<div>
<div>
<div>Bill Long, Jeff Squyres, and I had a phone conversation yesterday and came up with a straw man proposal.  We believe it fixes the LOGICAL argument problem while satisfying three major goals:</div>
<div><br>
</div>
<div>1. Backwards compatibility.</div>
<div>2. Flexibility so that efficient implementations can be produced on a variety of hardware.</div>
<div>3. Not dramatically increase the complexity for the tools community.</div>
<div>4. Ensure that the changes won't be seen by ordinary Fortran MPI users.</div>
<div><br>
</div>
<div>The straw man proposal is:</div>
<div><br>
</div>
<div>1. Remove the current binding names for MPI functions with LOGICAL dummy arguments (.  This must be done because these interfaces break the Fortran standard.</div>
<div>2. Replace the current binding names for MPI functions with LOGICAL dummy arguments with a different name and replacing LOGICAL type with default INTEGER arguments.  The name must be changed so as to not conflict with the current name with LOGICAL arguments.
  For example, the binding name "MPI_Test_f08" will be replaced by "MPI_Test_int_f08" (exact replacement name open for discussion).  The Fortran implementation of the function MPI_Test must call MPI_Test_int_f08 as soon as possible for the tools implementers.</div>
<div>3. Implementation of the Fortran PMPI calling convention will be made optional (we think it already it).  If an MPI implementer doesn't provide the MPI_F08 binding names, then it must call the C MPI implementation in a thin Fortran wrapper so that the
 tools implementers can intercept the call in C.  An MPI implementation shall not provide/call both the MPI_F08 binding name and the C name.</div>
<div><br>
</div>
<div>Option 2 allows some MPI vendors to implement MPI functions entirely within Fortran (using the MPI_f08 binding names), if this is more efficient.</div>
<div><br>
</div>
<div>Option 3 allows some MPI implementations to place Fortran wrappers inside modules where they may be inlined by the compiler for efficiency.</div>
<div><br>
</div>
<div style="word-wrap:break-word">
<div><span class="Apple-style-span" style="border-collapse:separate; font-family:Helvetica; font-style:normal; font-variant:normal; font-weight:normal; letter-spacing:normal; line-height:normal; orphans:2; text-indent:0px; text-transform:none; white-space:normal; widows:2; word-spacing:0px; font-size:medium"><span class="Apple-style-span" style="border-collapse:separate; font-family:Helvetica; font-style:normal; font-variant:normal; font-weight:normal; letter-spacing:normal; line-height:normal; orphans:2; text-indent:0px; text-transform:none; white-space:normal; widows:2; word-spacing:0px; font-size:medium">
<div style="word-wrap:break-word">
<div>Craig Rasmussen</div>
<div>CAS Scientific Programmer</div>
<div><a href="mailto:rasmus@cas.uoregon.edu" target="_blank">rasmus@cas.uoregon.edu</a></div>
<div><br>
</div>
</div>
</span></span></div>
</div>
</div>
<br>
<br>
<br>
<font style="background-color:#ffffff">
<p align="center"><font style="background-color:#ffffff">Click <a href="https://www.mailcontrol.com/sr/ScYsd3zUlOTGX2PQPOmvUlvAwUAcTfZnJtM7jRgdQaMz36cVAT1FTYeUUzO+ssbqtdPdym6uvpgc91rCvtNOsA==" target="_blank">
here</a> to report this email as spam.</font></p>
</font></div>
</div>
</div>
</body>
</html>