<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Yes, but every time the MPI Forum breaks backwards compatibility, an angel loses its wings, so we can’t fix design flaws like this. Everyone must suffer forever.<div class=""><br class=""></div><div class="">More seriously, Lisandro pointer out that we’d need allocate and deallocate functions for status if they were handles to hidden state, so we can’t just fix this by making Status opaque.</div><div class=""><br class=""></div><div class="">I guess we have no choice but to standardize the MPI_Status object size and layout.<br class=""><div class=""><div class=""><br class=""></div><div class="">Jeff</div><div class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 21Nov 2022, at 2:43 PM, Skjellum, Anthony <<a href="mailto:tony-skjellum@utc.edu" class="">tony-skjellum@utc.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" class="">
<div dir="auto" class="">
It should be an opaque object :-) <br class="">
<br class="">
<div dir="ltr" class="">Anthony Skjellum, PhD
<div class="">
<div class="">205-807-4968</div>
<div class=""><br class="">
</div>
</div>
</div>
<div dir="ltr" class=""><br class="">
On Nov 21, 2022, at 7:29 AM, Jeff Hammond via mpi-forum <<a href="mailto:mpi-forum@lists.mpi-forum.org" class="">mpi-forum@lists.mpi-forum.org</a>> wrote:<br class="">
<br class="">
</div>
<div dir="ltr" class="">
<div dir="ltr" class="">I assume that MPI_Status is not opaque because somebody asserted that function call overhead was too much for some use cases. Was there more to it than this?
<div class=""><br class="">
</div>
<div class="">Why does the standard say there is an opaque part for elements and cancelled, but not make those visible? The lack of consistency here doesn't make a lot of sense to me.</div>
<div class="">
<div class=""><br class="">
</div>
<div class="">MPI_Status not being opaque was a horrible mistake but I would like to be less mad about it by learning what possible reasons for it existed in 1995.</div>
<div class=""><br class="">
</div>
<div class="">Thanks,</div>
<div class=""><br class="">
</div>
<div class="">Jeff <br clear="all" class="">
<div class=""><br class="">
</div>
-- <br class="">
<div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">Jeff Hammond<br class="">
<a href="mailto:jeff.science@gmail.com" target="_blank" class="">jeff.science@gmail.com</a><br class="">
<a href="https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fjeffhammond.github.io%2F&data=05%7C01%7Ctony-skjellum%40utc.edu%7Cf1d5f0680d544ee0772408dacbbc0e58%7C515813d9717d45dd9eca9aa19c09d6f9%7C0%7C0%7C638046305807053236%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=qWvXenIAdNgUWL74kx0UX%2ByQj6uApmpMFmPCi3aqjH0%3D&reserved=0" originalsrc="http://jeffhammond.github.io/" shash="ckSuEpwMOw5QrCvZe1HwdaAWnrK1nJXla3Vn3Eitz439uRVMnJKPilTq2QE/2PW4lsFz0zedbvHkXUFpyX9V5TxBt1c6KHCKYvOxdeqJ5fthZv4OtdaehCLJ1AwiipK9qmhnBROn4a3YrN364uum3FaEuCUPUI+7mSFGOENKiww=" target="_blank" class="">http://jeffhammond.github.io/</a></div>
</div>
</div>
</div>
<span class="">_______________________________________________</span><br class="">
<span class="">mpi-forum mailing list</span><br class="">
<span class=""><a href="mailto:mpi-forum@lists.mpi-forum.org" class="">mpi-forum@lists.mpi-forum.org</a></span><br class="">
<span class=""><a href="https://lists.mpi-forum.org/mailman/listinfo/mpi-forum" class="">https://lists.mpi-forum.org/mailman/listinfo/mpi-forum</a></span><br class="">
</div>
</div>
</div></blockquote></div><br class=""></div></div></div></body></html>