<div dir="ltr"><div dir="ltr"><div>The polymorphic C front-end (i.e. macros) can be bypassed by talking a pointer to the underlying function [1].  This is the desired behavior for backward compatibility.  I agree that this could be surprising to users and it must be clearly documented.</div><div><br></div><div>In the case where the user is not bypassing the C polymorphic front-end and the compiler does not support _Generic, we can either detect or prevent silent truncation using one of the approaches that I posted.</div><div><br></div><div> ~Jim.<br></div><div></div></div><div><br></div>[1] The C preprocessor only invokes a function-like macro if the macro name is followed by (.  So, &MPI_Send takes the pointer of the function even though there is a function-like macro with the same name.<div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Aug 8, 2019 at 6:51 AM HOLMES Daniel <<a href="mailto:d.holmes@epcc.ed.ac.uk">d.holmes@epcc.ed.ac.uk</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">



<div style="overflow-wrap: break-word;">
Hi Jim,
<div><br>
</div>
<div>Are we sure the function pointer “worked" in your example? It silently truncated the large value, because the function pointer bypasses the redirection macro.</div>
<div>
<div>
<div dir="auto" style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none">
<div dir="auto" style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none">
<div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<br class="gmail-m_6763120690821657656Apple-interchange-newline">
Cheers,</div>
<div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
Dan.</div>
<div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
—<br>
Dr Daniel Holmes PhD<br>
Architect (HPC Research)<br>
<a href="mailto:d.holmes@epcc.ed.ac.uk" target="_blank">d.holmes@epcc.ed.ac.uk</a><br>
Phone: +44 (0) 131 651 3465<br>
Mobile: +44 (0) 7940 524 088<br>
Address: Room 2.09, Bayes Centre, 47 Potterrow, Central Area, Edinburgh, EH8 9BT</div>
<div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
—</div>
<div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336.</div>
<div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
—</div>
</div>
</div>
</div>
</div>
<div><br>
<blockquote type="cite">
<div>On 7 Aug 2019, at 22:00, Jim Dinan via mpi-forum <<a href="mailto:mpi-forum@lists.mpi-forum.org" target="_blank">mpi-forum@lists.mpi-forum.org</a>> wrote:</div>
<br class="gmail-m_6763120690821657656Apple-interchange-newline">
<div>
<div dir="ltr">Even simpler than this, we could just forward all calls to the MPI_Count interface (see below).  The int count argument should type convert to MPI_Count without issue.  Note that it still needs to be a function-like macro so that function
 pointers work.
<div><br>
</div>
<div>Don't give up yet!  :D</div>
<div><br>
</div>
<div> ~Jim.</div>
<div><br>
</div>
<div style="margin:0px;font-style:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:"Menlo for Powerline";color:rgb(94,220,255);background-color:rgb(0,0,0)">
<span class="gmail-m_6763120690821657656gmail-s1" style="font-variant-ligatures:no-common-ligatures">#include
</span><span class="gmail-m_6763120690821657656gmail-s2" style="font-variant-ligatures:no-common-ligatures;color:rgb(251,0,255)"><stdio.h></span></div>
<p class="gmail-m_6763120690821657656gmail-p2" style="margin:0px;font:14px "Menlo for Powerline";color:rgb(242,242,242);background-color:rgb(0,0,0);min-height:16px">
<span class="gmail-m_6763120690821657656gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-m_6763120690821657656gmail-Apple-converted-space">  </span></span><br class="gmail-m_6763120690821657656webkit-block-placeholder">
</p>
<div style="margin:0px;font-style:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:"Menlo for Powerline";color:rgb(242,242,242);background-color:rgb(0,0,0)">
<span class="gmail-m_6763120690821657656gmail-s3" style="font-variant-ligatures:no-common-ligatures;color:rgb(126,255,165)">typedef</span><span class="gmail-m_6763120690821657656gmail-s1" style="font-variant-ligatures:no-common-ligatures">
</span><span class="gmail-m_6763120690821657656gmail-s3" style="font-variant-ligatures:no-common-ligatures;color:rgb(126,255,165)">int</span><span class="gmail-m_6763120690821657656gmail-s1" style="font-variant-ligatures:no-common-ligatures"> MPI_Datatype;</span></div>
<div style="margin:0px;font-style:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:"Menlo for Powerline";color:rgb(242,242,242);background-color:rgb(0,0,0)">
<span class="gmail-m_6763120690821657656gmail-s3" style="font-variant-ligatures:no-common-ligatures;color:rgb(126,255,165)">typedef</span><span class="gmail-m_6763120690821657656gmail-s1" style="font-variant-ligatures:no-common-ligatures">
</span><span class="gmail-m_6763120690821657656gmail-s3" style="font-variant-ligatures:no-common-ligatures;color:rgb(126,255,165)">int</span><span class="gmail-m_6763120690821657656gmail-s1" style="font-variant-ligatures:no-common-ligatures"> MPI_Comm;</span></div>
<div style="margin:0px;font-style:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:"Menlo for Powerline";color:rgb(242,242,242);background-color:rgb(0,0,0);min-height:16px">
<span class="gmail-m_6763120690821657656gmail-s1" style="font-variant-ligatures:no-common-ligatures"></span><br>
</div>
<div style="margin:0px;font-style:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:"Menlo for Powerline";color:rgb(242,242,242);background-color:rgb(0,0,0)">
<span class="gmail-m_6763120690821657656gmail-s3" style="font-variant-ligatures:no-common-ligatures;color:rgb(126,255,165)">int</span><span class="gmail-m_6763120690821657656gmail-s1" style="font-variant-ligatures:no-common-ligatures"> MPI_Send(</span><span class="gmail-m_6763120690821657656gmail-s3" style="font-variant-ligatures:no-common-ligatures;color:rgb(126,255,165)">const</span><span class="gmail-m_6763120690821657656gmail-s1" style="font-variant-ligatures:no-common-ligatures">
</span><span class="gmail-m_6763120690821657656gmail-s3" style="font-variant-ligatures:no-common-ligatures;color:rgb(126,255,165)">void</span><span class="gmail-m_6763120690821657656gmail-s1" style="font-variant-ligatures:no-common-ligatures">* buf,
</span><span class="gmail-m_6763120690821657656gmail-s3" style="font-variant-ligatures:no-common-ligatures;color:rgb(126,255,165)">int</span><span class="gmail-m_6763120690821657656gmail-s1" style="font-variant-ligatures:no-common-ligatures"> count, MPI_Datatype datatype,
</span><span class="gmail-m_6763120690821657656gmail-s3" style="font-variant-ligatures:no-common-ligatures;color:rgb(126,255,165)">int</span><span class="gmail-m_6763120690821657656gmail-s1" style="font-variant-ligatures:no-common-ligatures"> dest,</span></div>
<div style="margin:0px;font-style:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:"Menlo for Powerline";color:rgb(242,242,242);background-color:rgb(0,0,0)">
<span class="gmail-m_6763120690821657656gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-m_6763120690821657656gmail-Apple-converted-space">            
</span></span><span class="gmail-m_6763120690821657656gmail-s3" style="font-variant-ligatures:no-common-ligatures;color:rgb(126,255,165)">int</span><span class="gmail-m_6763120690821657656gmail-s1" style="font-variant-ligatures:no-common-ligatures"> tag, MPI_Comm comm)</span></div>
<div style="margin:0px;font-style:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:"Menlo for Powerline";color:rgb(242,242,242);background-color:rgb(0,0,0)">
<span class="gmail-m_6763120690821657656gmail-s1" style="font-variant-ligatures:no-common-ligatures">{</span></div>
<div style="margin:0px;font-style:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:"Menlo for Powerline";color:rgb(242,242,242);background-color:rgb(0,0,0)">
<span class="gmail-m_6763120690821657656gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-m_6763120690821657656gmail-Apple-converted-space">   
</span>printf(</span><span class="gmail-m_6763120690821657656gmail-s2" style="font-variant-ligatures:no-common-ligatures;color:rgb(251,0,255)">"MPI_Send(count =
</span><span class="gmail-m_6763120690821657656gmail-s4" style="font-variant-ligatures:no-common-ligatures;color:rgb(254,212,213)">%d</span><span class="gmail-m_6763120690821657656gmail-s2" style="font-variant-ligatures:no-common-ligatures;color:rgb(251,0,255)">)</span><span class="gmail-m_6763120690821657656gmail-s4" style="font-variant-ligatures:no-common-ligatures;color:rgb(254,212,213)">\n</span><span class="gmail-m_6763120690821657656gmail-s2" style="font-variant-ligatures:no-common-ligatures;color:rgb(251,0,255)">"</span><span class="gmail-m_6763120690821657656gmail-s1" style="font-variant-ligatures:no-common-ligatures">,
 count);</span></div>
<div style="margin:0px;font-style:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:"Menlo for Powerline";color:rgb(242,242,242);background-color:rgb(0,0,0)">
<span class="gmail-m_6763120690821657656gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-m_6763120690821657656gmail-Apple-converted-space">   
</span></span><span class="gmail-m_6763120690821657656gmail-s5" style="font-variant-ligatures:no-common-ligatures;color:rgb(232,235,20)">return</span><span class="gmail-m_6763120690821657656gmail-s1" style="font-variant-ligatures:no-common-ligatures">
</span><span class="gmail-m_6763120690821657656gmail-s2" style="font-variant-ligatures:no-common-ligatures;color:rgb(251,0,255)">0</span><span class="gmail-m_6763120690821657656gmail-s1" style="font-variant-ligatures:no-common-ligatures">;</span></div>
<div style="margin:0px;font-style:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:"Menlo for Powerline";color:rgb(242,242,242);background-color:rgb(0,0,0)">
<span class="gmail-m_6763120690821657656gmail-s1" style="font-variant-ligatures:no-common-ligatures">}</span></div>
<div style="margin:0px;font-style:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:"Menlo for Powerline";color:rgb(242,242,242);background-color:rgb(0,0,0);min-height:16px">
<span class="gmail-m_6763120690821657656gmail-s1" style="font-variant-ligatures:no-common-ligatures"></span><br>
</div>
<div style="margin:0px;font-style:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:"Menlo for Powerline";color:rgb(242,242,242);background-color:rgb(0,0,0)">
<span class="gmail-m_6763120690821657656gmail-s3" style="font-variant-ligatures:no-common-ligatures;color:rgb(126,255,165)">int</span><span class="gmail-m_6763120690821657656gmail-s1" style="font-variant-ligatures:no-common-ligatures"> MPI_Send_x(</span><span class="gmail-m_6763120690821657656gmail-s3" style="font-variant-ligatures:no-common-ligatures;color:rgb(126,255,165)">const</span><span class="gmail-m_6763120690821657656gmail-s1" style="font-variant-ligatures:no-common-ligatures">
</span><span class="gmail-m_6763120690821657656gmail-s3" style="font-variant-ligatures:no-common-ligatures;color:rgb(126,255,165)">void</span><span class="gmail-m_6763120690821657656gmail-s1" style="font-variant-ligatures:no-common-ligatures">* buf,
</span><span class="gmail-m_6763120690821657656gmail-s3" style="font-variant-ligatures:no-common-ligatures;color:rgb(126,255,165)">long</span><span class="gmail-m_6763120690821657656gmail-s1" style="font-variant-ligatures:no-common-ligatures">
</span><span class="gmail-m_6763120690821657656gmail-s3" style="font-variant-ligatures:no-common-ligatures;color:rgb(126,255,165)">long</span><span class="gmail-m_6763120690821657656gmail-s1" style="font-variant-ligatures:no-common-ligatures"> count, MPI_Datatype datatype,
</span><span class="gmail-m_6763120690821657656gmail-s3" style="font-variant-ligatures:no-common-ligatures;color:rgb(126,255,165)">int</span><span class="gmail-m_6763120690821657656gmail-s1" style="font-variant-ligatures:no-common-ligatures"> dest,</span></div>
<div style="margin:0px;font-style:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:"Menlo for Powerline";color:rgb(242,242,242);background-color:rgb(0,0,0)">
<span class="gmail-m_6763120690821657656gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-m_6763120690821657656gmail-Apple-converted-space">              
</span></span><span class="gmail-m_6763120690821657656gmail-s3" style="font-variant-ligatures:no-common-ligatures;color:rgb(126,255,165)">int</span><span class="gmail-m_6763120690821657656gmail-s1" style="font-variant-ligatures:no-common-ligatures"> tag, MPI_Comm comm)</span></div>
<div style="margin:0px;font-style:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:"Menlo for Powerline";color:rgb(242,242,242);background-color:rgb(0,0,0)">
<span class="gmail-m_6763120690821657656gmail-s1" style="font-variant-ligatures:no-common-ligatures">{</span></div>
<div style="margin:0px;font-style:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:"Menlo for Powerline";color:rgb(251,0,255);background-color:rgb(0,0,0)">
<span class="gmail-m_6763120690821657656gmail-s6" style="font-variant-ligatures:no-common-ligatures;color:rgb(242,242,242)"><span class="gmail-m_6763120690821657656gmail-Apple-converted-space">   
</span>printf(</span><span class="gmail-m_6763120690821657656gmail-s1" style="font-variant-ligatures:no-common-ligatures">"MPI_Send_x(count =
</span><span class="gmail-m_6763120690821657656gmail-s4" style="font-variant-ligatures:no-common-ligatures;color:rgb(254,212,213)">%lld</span><span class="gmail-m_6763120690821657656gmail-s1" style="font-variant-ligatures:no-common-ligatures">)</span><span class="gmail-m_6763120690821657656gmail-s4" style="font-variant-ligatures:no-common-ligatures;color:rgb(254,212,213)">\n</span><span class="gmail-m_6763120690821657656gmail-s1" style="font-variant-ligatures:no-common-ligatures">"</span><span class="gmail-m_6763120690821657656gmail-s6" style="font-variant-ligatures:no-common-ligatures;color:rgb(242,242,242)">,
 count);</span></div>
<div style="margin:0px;font-style:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:"Menlo for Powerline";color:rgb(242,242,242);background-color:rgb(0,0,0)">
<span class="gmail-m_6763120690821657656gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-m_6763120690821657656gmail-Apple-converted-space">   
</span></span><span class="gmail-m_6763120690821657656gmail-s5" style="font-variant-ligatures:no-common-ligatures;color:rgb(232,235,20)">return</span><span class="gmail-m_6763120690821657656gmail-s1" style="font-variant-ligatures:no-common-ligatures">
</span><span class="gmail-m_6763120690821657656gmail-s2" style="font-variant-ligatures:no-common-ligatures;color:rgb(251,0,255)">0</span><span class="gmail-m_6763120690821657656gmail-s1" style="font-variant-ligatures:no-common-ligatures">;</span></div>
<div style="margin:0px;font-style:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:"Menlo for Powerline";color:rgb(242,242,242);background-color:rgb(0,0,0)">
<span class="gmail-m_6763120690821657656gmail-s1" style="font-variant-ligatures:no-common-ligatures">}</span></div>
<div style="margin:0px;font-style:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:"Menlo for Powerline";color:rgb(242,242,242);background-color:rgb(0,0,0);min-height:16px">
<span class="gmail-m_6763120690821657656gmail-s1" style="font-variant-ligatures:no-common-ligatures"></span><br>
</div>
<div style="margin:0px;font-style:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:"Menlo for Powerline";color:rgb(94,220,255);background-color:rgb(0,0,0)">
<span class="gmail-m_6763120690821657656gmail-s1" style="font-variant-ligatures:no-common-ligatures">#define MPI_Send(buf, count, datatype, dest, tag, comm) MPI_Send_x(buf, count, datatype, dest, tag, comm)</span></div>
<div style="margin:0px;font-style:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:"Menlo for Powerline";color:rgb(242,242,242);background-color:rgb(0,0,0);min-height:16px">
<span class="gmail-m_6763120690821657656gmail-s1" style="font-variant-ligatures:no-common-ligatures"></span><br>
</div>
<div style="margin:0px;font-style:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:"Menlo for Powerline";color:rgb(242,242,242);background-color:rgb(0,0,0)">
<span class="gmail-m_6763120690821657656gmail-s3" style="font-variant-ligatures:no-common-ligatures;color:rgb(126,255,165)">int</span><span class="gmail-m_6763120690821657656gmail-s1" style="font-variant-ligatures:no-common-ligatures"> main(</span><span class="gmail-m_6763120690821657656gmail-s3" style="font-variant-ligatures:no-common-ligatures;color:rgb(126,255,165)">int</span><span class="gmail-m_6763120690821657656gmail-s1" style="font-variant-ligatures:no-common-ligatures">
 argc, </span><span class="gmail-m_6763120690821657656gmail-s3" style="font-variant-ligatures:no-common-ligatures;color:rgb(126,255,165)">char</span><span class="gmail-m_6763120690821657656gmail-s1" style="font-variant-ligatures:no-common-ligatures"> *argv[]) {</span></div>
<div style="margin:0px;font-style:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:"Menlo for Powerline";color:rgb(44,238,235);background-color:rgb(0,0,0)">
<span class="gmail-m_6763120690821657656gmail-s6" style="font-variant-ligatures:no-common-ligatures;color:rgb(242,242,242)"><span class="gmail-m_6763120690821657656gmail-Apple-converted-space">   
</span></span><span class="gmail-m_6763120690821657656gmail-s1" style="font-variant-ligatures:no-common-ligatures">/* 8589934592LL == 2^33 */</span></div>
<div style="margin:0px;font-style:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:"Menlo for Powerline";color:rgb(242,242,242);background-color:rgb(0,0,0)">
<span class="gmail-m_6763120690821657656gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-m_6763120690821657656gmail-Apple-converted-space">   
</span></span><span class="gmail-m_6763120690821657656gmail-s3" style="font-variant-ligatures:no-common-ligatures;color:rgb(126,255,165)">long</span><span class="gmail-m_6763120690821657656gmail-s1" style="font-variant-ligatures:no-common-ligatures">
</span><span class="gmail-m_6763120690821657656gmail-s3" style="font-variant-ligatures:no-common-ligatures;color:rgb(126,255,165)">long</span><span class="gmail-m_6763120690821657656gmail-s1" style="font-variant-ligatures:no-common-ligatures"> i =
</span><span class="gmail-m_6763120690821657656gmail-s2" style="font-variant-ligatures:no-common-ligatures;color:rgb(251,0,255)">8589934592LL</span><span class="gmail-m_6763120690821657656gmail-s1" style="font-variant-ligatures:no-common-ligatures"> +
</span><span class="gmail-m_6763120690821657656gmail-s2" style="font-variant-ligatures:no-common-ligatures;color:rgb(251,0,255)">11</span><span class="gmail-m_6763120690821657656gmail-s1" style="font-variant-ligatures:no-common-ligatures">;</span></div>
<div style="margin:0px;font-style:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:"Menlo for Powerline";color:rgb(242,242,242);background-color:rgb(0,0,0)">
<span class="gmail-m_6763120690821657656gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-m_6763120690821657656gmail-Apple-converted-space">   
</span></span><span class="gmail-m_6763120690821657656gmail-s3" style="font-variant-ligatures:no-common-ligatures;color:rgb(126,255,165)">int</span><span class="gmail-m_6763120690821657656gmail-s1" style="font-variant-ligatures:no-common-ligatures"> ret;</span></div>
<div style="margin:0px;font-style:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:"Menlo for Powerline";color:rgb(242,242,242);background-color:rgb(0,0,0)">
<span class="gmail-m_6763120690821657656gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-m_6763120690821657656gmail-Apple-converted-space">   
</span></span><span class="gmail-m_6763120690821657656gmail-s3" style="font-variant-ligatures:no-common-ligatures;color:rgb(126,255,165)">int</span><span class="gmail-m_6763120690821657656gmail-s1" style="font-variant-ligatures:no-common-ligatures"> (*snd_ptr)(</span><span class="gmail-m_6763120690821657656gmail-s3" style="font-variant-ligatures:no-common-ligatures;color:rgb(126,255,165)">const</span><span class="gmail-m_6763120690821657656gmail-s1" style="font-variant-ligatures:no-common-ligatures">
</span><span class="gmail-m_6763120690821657656gmail-s3" style="font-variant-ligatures:no-common-ligatures;color:rgb(126,255,165)">void</span><span class="gmail-m_6763120690821657656gmail-s1" style="font-variant-ligatures:no-common-ligatures">*,
</span><span class="gmail-m_6763120690821657656gmail-s3" style="font-variant-ligatures:no-common-ligatures;color:rgb(126,255,165)">int</span><span class="gmail-m_6763120690821657656gmail-s1" style="font-variant-ligatures:no-common-ligatures">, MPI_Datatype,
</span><span class="gmail-m_6763120690821657656gmail-s3" style="font-variant-ligatures:no-common-ligatures;color:rgb(126,255,165)">int</span><span class="gmail-m_6763120690821657656gmail-s1" style="font-variant-ligatures:no-common-ligatures">,
</span><span class="gmail-m_6763120690821657656gmail-s3" style="font-variant-ligatures:no-common-ligatures;color:rgb(126,255,165)">int</span><span class="gmail-m_6763120690821657656gmail-s1" style="font-variant-ligatures:no-common-ligatures">, MPI_Comm) = &MPI_Send;</span></div>
<div style="margin:0px;font-style:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:"Menlo for Powerline";color:rgb(242,242,242);background-color:rgb(0,0,0)">
<span class="gmail-m_6763120690821657656gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-m_6763120690821657656gmail-Apple-converted-space">   
</span>ret = MPI_Send(</span><span class="gmail-m_6763120690821657656gmail-s2" style="font-variant-ligatures:no-common-ligatures;color:rgb(251,0,255)">NULL</span><span class="gmail-m_6763120690821657656gmail-s1" style="font-variant-ligatures:no-common-ligatures">, i,
</span><span class="gmail-m_6763120690821657656gmail-s2" style="font-variant-ligatures:no-common-ligatures;color:rgb(251,0,255)">0</span><span class="gmail-m_6763120690821657656gmail-s1" style="font-variant-ligatures:no-common-ligatures">,
</span><span class="gmail-m_6763120690821657656gmail-s2" style="font-variant-ligatures:no-common-ligatures;color:rgb(251,0,255)">0</span><span class="gmail-m_6763120690821657656gmail-s1" style="font-variant-ligatures:no-common-ligatures">,
</span><span class="gmail-m_6763120690821657656gmail-s2" style="font-variant-ligatures:no-common-ligatures;color:rgb(251,0,255)">0</span><span class="gmail-m_6763120690821657656gmail-s1" style="font-variant-ligatures:no-common-ligatures">,
</span><span class="gmail-m_6763120690821657656gmail-s2" style="font-variant-ligatures:no-common-ligatures;color:rgb(251,0,255)">0</span><span class="gmail-m_6763120690821657656gmail-s1" style="font-variant-ligatures:no-common-ligatures">);</span></div>
<div style="margin:0px;font-style:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:"Menlo for Powerline";color:rgb(242,242,242);background-color:rgb(0,0,0)">
<span class="gmail-m_6763120690821657656gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-m_6763120690821657656gmail-Apple-converted-space">   
</span>ret = MPI_Send(</span><span class="gmail-m_6763120690821657656gmail-s2" style="font-variant-ligatures:no-common-ligatures;color:rgb(251,0,255)">NULL</span><span class="gmail-m_6763120690821657656gmail-s1" style="font-variant-ligatures:no-common-ligatures">,
</span><span class="gmail-m_6763120690821657656gmail-s2" style="font-variant-ligatures:no-common-ligatures;color:rgb(251,0,255)">5</span><span class="gmail-m_6763120690821657656gmail-s1" style="font-variant-ligatures:no-common-ligatures">,
</span><span class="gmail-m_6763120690821657656gmail-s2" style="font-variant-ligatures:no-common-ligatures;color:rgb(251,0,255)">0</span><span class="gmail-m_6763120690821657656gmail-s1" style="font-variant-ligatures:no-common-ligatures">,
</span><span class="gmail-m_6763120690821657656gmail-s2" style="font-variant-ligatures:no-common-ligatures;color:rgb(251,0,255)">0</span><span class="gmail-m_6763120690821657656gmail-s1" style="font-variant-ligatures:no-common-ligatures">,
</span><span class="gmail-m_6763120690821657656gmail-s2" style="font-variant-ligatures:no-common-ligatures;color:rgb(251,0,255)">0</span><span class="gmail-m_6763120690821657656gmail-s1" style="font-variant-ligatures:no-common-ligatures">,
</span><span class="gmail-m_6763120690821657656gmail-s2" style="font-variant-ligatures:no-common-ligatures;color:rgb(251,0,255)">0</span><span class="gmail-m_6763120690821657656gmail-s1" style="font-variant-ligatures:no-common-ligatures">);</span></div>
<div style="margin:0px;font-style:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:"Menlo for Powerline";color:rgb(242,242,242);background-color:rgb(0,0,0)">
<span class="gmail-m_6763120690821657656gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-m_6763120690821657656gmail-Apple-converted-space">   
</span>ret = (*snd_ptr)(</span><span class="gmail-m_6763120690821657656gmail-s2" style="font-variant-ligatures:no-common-ligatures;color:rgb(251,0,255)">NULL</span><span class="gmail-m_6763120690821657656gmail-s1" style="font-variant-ligatures:no-common-ligatures">, i,
</span><span class="gmail-m_6763120690821657656gmail-s2" style="font-variant-ligatures:no-common-ligatures;color:rgb(251,0,255)">0</span><span class="gmail-m_6763120690821657656gmail-s1" style="font-variant-ligatures:no-common-ligatures">,
</span><span class="gmail-m_6763120690821657656gmail-s2" style="font-variant-ligatures:no-common-ligatures;color:rgb(251,0,255)">0</span><span class="gmail-m_6763120690821657656gmail-s1" style="font-variant-ligatures:no-common-ligatures">,
</span><span class="gmail-m_6763120690821657656gmail-s2" style="font-variant-ligatures:no-common-ligatures;color:rgb(251,0,255)">0</span><span class="gmail-m_6763120690821657656gmail-s1" style="font-variant-ligatures:no-common-ligatures">,
</span><span class="gmail-m_6763120690821657656gmail-s2" style="font-variant-ligatures:no-common-ligatures;color:rgb(251,0,255)">0</span><span class="gmail-m_6763120690821657656gmail-s1" style="font-variant-ligatures:no-common-ligatures">);</span></div>
<div style="margin:0px;font-style:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:"Menlo for Powerline";color:rgb(242,242,242);background-color:rgb(0,0,0)">
<span class="gmail-m_6763120690821657656gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-m_6763120690821657656gmail-Apple-converted-space">   
</span>ret = (*snd_ptr)(</span><span class="gmail-m_6763120690821657656gmail-s2" style="font-variant-ligatures:no-common-ligatures;color:rgb(251,0,255)">NULL</span><span class="gmail-m_6763120690821657656gmail-s1" style="font-variant-ligatures:no-common-ligatures">,
</span><span class="gmail-m_6763120690821657656gmail-s2" style="font-variant-ligatures:no-common-ligatures;color:rgb(251,0,255)">5</span><span class="gmail-m_6763120690821657656gmail-s1" style="font-variant-ligatures:no-common-ligatures">,
</span><span class="gmail-m_6763120690821657656gmail-s2" style="font-variant-ligatures:no-common-ligatures;color:rgb(251,0,255)">0</span><span class="gmail-m_6763120690821657656gmail-s1" style="font-variant-ligatures:no-common-ligatures">,
</span><span class="gmail-m_6763120690821657656gmail-s2" style="font-variant-ligatures:no-common-ligatures;color:rgb(251,0,255)">0</span><span class="gmail-m_6763120690821657656gmail-s1" style="font-variant-ligatures:no-common-ligatures">,
</span><span class="gmail-m_6763120690821657656gmail-s2" style="font-variant-ligatures:no-common-ligatures;color:rgb(251,0,255)">0</span><span class="gmail-m_6763120690821657656gmail-s1" style="font-variant-ligatures:no-common-ligatures">,
</span><span class="gmail-m_6763120690821657656gmail-s2" style="font-variant-ligatures:no-common-ligatures;color:rgb(251,0,255)">0</span><span class="gmail-m_6763120690821657656gmail-s1" style="font-variant-ligatures:no-common-ligatures">);</span></div>
<div style="margin:0px;font-style:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:"Menlo for Powerline";color:rgb(242,242,242);background-color:rgb(0,0,0)">
<span class="gmail-m_6763120690821657656gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-m_6763120690821657656gmail-Apple-converted-space">   
</span></span><span class="gmail-m_6763120690821657656gmail-s5" style="font-variant-ligatures:no-common-ligatures;color:rgb(232,235,20)">return</span><span class="gmail-m_6763120690821657656gmail-s1" style="font-variant-ligatures:no-common-ligatures">
</span><span class="gmail-m_6763120690821657656gmail-s2" style="font-variant-ligatures:no-common-ligatures;color:rgb(251,0,255)">0</span><span class="gmail-m_6763120690821657656gmail-s1" style="font-variant-ligatures:no-common-ligatures">;</span></div>
<p class="gmail-m_6763120690821657656gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:"Menlo for Powerline";color:rgb(94,220,255);background-color:rgb(0,0,0)">
</p>
<div style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:"Menlo for Powerline";color:rgb(242,242,242);background-color:rgb(0,0,0)">
<span class="gmail-m_6763120690821657656gmail-s1" style="font-variant-ligatures:no-common-ligatures">}</span></div>
 
<div>
<div style="margin:0px;font-style:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:"Menlo for Powerline";color:rgb(242,242,242);background-color:rgb(0,0,0)">
<span class="gmail-m_6763120690821657656gmail-s1" style="font-variant-ligatures:no-common-ligatures">MPI_Send_x(count = 8589934603)</span></div>
<div style="margin:0px;font-style:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:"Menlo for Powerline";color:rgb(242,242,242);background-color:rgb(0,0,0)">
<span class="gmail-m_6763120690821657656gmail-s1" style="font-variant-ligatures:no-common-ligatures">MPI_Send_x(count = 5)</span></div>
<div style="margin:0px;font-style:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:"Menlo for Powerline";color:rgb(242,242,242);background-color:rgb(0,0,0)">
<span class="gmail-m_6763120690821657656gmail-s1" style="font-variant-ligatures:no-common-ligatures">MPI_Send(count = 11)</span></div>
<p class="gmail-m_6763120690821657656gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:"Menlo for Powerline";color:rgb(242,242,242);background-color:rgb(0,0,0)">
</p>
<div style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:"Menlo for Powerline";color:rgb(242,242,242);background-color:rgb(0,0,0)">
<span class="gmail-m_6763120690821657656gmail-s1" style="font-variant-ligatures:no-common-ligatures">MPI_Send(count = 5)</span></div>
</div>
</div>
_______________________________________________<br>
mpi-forum mailing list<br>
<a href="mailto:mpi-forum@lists.mpi-forum.org" target="_blank">mpi-forum@lists.mpi-forum.org</a><br>
<a href="https://lists.mpi-forum.org/mailman/listinfo/mpi-forum" target="_blank">https://lists.mpi-forum.org/mailman/listinfo/mpi-forum</a><br>
</div>
</blockquote>
</div>
<br>
</div>
</div>

</blockquote></div></div></div>