<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><div><br></div><div>Jeff</div><div><div><br></div>-- <br><div class="gmail_signature">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></div>