<div dir="ltr">The old stuff could be deprecated because all existing compilers that I know of support user-defined types.  I assume that "deprecated" means that it still exists in libraries for legacy apps but is no longer really defined in the standard.<div><br></div><div>-craig</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Dec 8, 2015 at 9:19 AM, Craig Rasmusen <span dir="ltr"><<a href="mailto:rasmus@cas.uoregon.edu" target="_blank">rasmus@cas.uoregon.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Fortran is a modern language?  Wut...<div><br></div><div>Actually seems like a simple and good change.  For example, could define:</div><div><br></div><div>MPI_REAL_INT and MPI_INTEGER_INT</div><div><br></div><div>However, I'm not sure what would be in the structs (user-defined types).  I'll have to ask Squyres what the text following</div><div><br></div><div>"The datatype MPI_FLOAT_INT is as if defined by the following sequence of instructions"<br></div><div><br></div><div>means.</div><div><br></div><div>-craig</div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Mon, Dec 7, 2015 at 4:20 PM, Jeff Hammond <span dir="ltr"><<a href="mailto:jeff.science@gmail.com" target="_blank">jeff.science@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">I have a reasonable understanding of why the legacy Fortran bindings use 2REAL, 2DOUBLE_PRECISION and 2INTEGER with {MAX,MIN}LOC reductions.<div><br></div><div>Doesn't modern Fortran provide a way to create struct-like things along the lines of C, such that more appropriate pair types could be used for these?</div><div><br></div><div>The relevant text is section 5.9.4 of MPI 3.1.</div><span><font color="#888888"><div><br></div><div>Jeff</div><div><div><br></div>-- <br><div>Jeff Hammond<br><a href="mailto:jeff.science@gmail.com" target="_blank">jeff.science@gmail.com</a><br><a href="http://jeffhammond.github.io/" target="_blank">http://jeffhammond.github.io/</a></div>
</div></font></span></div>
<br></div></div>_______________________________________________<br>
mpiwg-fortran mailing list<br>
<a href="mailto:mpiwg-fortran@lists.mpi-forum.org" target="_blank">mpiwg-fortran@lists.mpi-forum.org</a><br>
<a href="http://lists.mpi-forum.org/mailman/listinfo.cgi/mpiwg-fortran" rel="noreferrer" target="_blank">http://lists.mpi-forum.org/mailman/listinfo.cgi/mpiwg-fortran</a><br></blockquote></div><br></div>
</blockquote></div><br></div>