<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jan 23, 2013 at 2:44 PM, Dave Goodell <span dir="ltr"><<a href="mailto:goodell@mcs.anl.gov" target="_blank">goodell@mcs.anl.gov</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div id=":g0">Hmm… it looks like we aren't poking NBC progress properly when a "test" or "iprobe" routine is called. MPIDI_CH3i_Progress_test is missing a call to MPIDU_Sched_progress: <a href="http://git.mpich.org/mpich.git/blob/refs/heads/master:/src/mpid/ch3/channels/sock/src/ch3_progress.c#l51" target="_blank">http://git.mpich.org/mpich.git/blob/refs/heads/master:/src/mpid/ch3/channels/sock/src/ch3_progress.c#l51</a></div>
</blockquote><div><br></div><div style>The attached code demonstrates this. With ch3:sock, it completes with MPI_Wait, but not with MPI_Test.</div><div style><br></div><div style><div>$ ~/usr/mpich-sock/bin/mpicc ibarrier.c -o ibarrier</div>
<div>$ mpirun.hydra -n 2 ./ibarrier </div><div>[0] MPI_Test: 0</div><div>[1] MPI_Test: 0</div><div>[0] MPI_Test: 1</div>
<div>[1] MPI_Test: 1</div><div>[0] MPI_Test: 2</div><div>[1] MPI_Test: 2</div><div style>...</div></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div id=":g0"><br>
<br>
I'm surprised this isn't caught by the "coll/nonblock3" test, although we may just be making too much progress some other way, or we may not have enough coverage of the test itself in that test: <a href="http://git.mpich.org/mpich.git/blob/refs/heads/master:/test/mpi/coll/nonblocking3.c" target="_blank">http://git.mpich.org/mpich.git/blob/refs/heads/master:/test/mpi/coll/nonblocking3.c</a><br>
<br>
A modest test case would be very helpful.<br>
<div class="im"></div></div></blockquote></div><br><br></div></div>