<div dir="ltr"><div class="gmail_default" style="font-family:comic sans ms,sans-serif;color:#38761d">There seems to be some ambiguity in the standard with respect to usage of the MPI_DATATYPE_NULL variable.</div><div class="gmail_default" style="font-family:comic sans ms,sans-serif;color:#38761d">It would seem to me that if an MPI routine such as MPI_Send or MPI_ALLTOALLW has a data count argument of 0</div><div class="gmail_default" style="font-family:comic sans ms,sans-serif;color:#38761d">then MPI_DATATYPE_NULL should be an acceptable value for the datatype.   Here is a discussion from several years</div><div class="gmail_default" style="font-family:comic sans ms,sans-serif;color:#38761d">ago with openmpi developers.  It references a discussion in the standards forum but I can no longer find it.</div><div class="gmail_default" style="font-family:comic sans ms,sans-serif;color:#38761d"><span id="gmail-init_selection"><br></span></div><div class="gmail_default" style="font-family:comic sans ms,sans-serif;color:#38761d"><span id="gmail-init_selection"><a href="http://lists.mpi-forum.org/mpi-forum/2016/01/3152.php">http://lists.mpi-forum.org/mpi-forum/2016/01/3152.php</a></span></div><div><br></div><div><div style="font-family:comic sans ms,sans-serif;color:rgb(56,118,29)" class="gmail_default">Would it be possibly to clarify this case in the next iteration of the standard?</div><br></div><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div><div>Jim Edwards<br><br></div><font size="1">CESM Software Engineer<br></font></div><font size="1">National Center for Atmospheric Research<br></font></div><font size="1">Boulder, CO</font> <br></div></div></div>