You may use valgrind to help you detect the error. <br><br>--From a stander-by :)<br><br><br><div class="gmail_quote">2011/1/1 Xiao Li <span dir="ltr"><<a href="mailto:shinelee.thewise@gmail.com">shinelee.thewise@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div>Hi MPICH2 community,</div><div><br></div><div>I am now learning MPI programming. My code is something like this:</div>
<div><div><br></div><div><div>MPI_Init(&argc,&argv);</div><div>MPI_Comm_size(MPI_COMM_WORLD,&numprocs);</div>
<div>MPI_Comm_rank(MPI_COMM_WORLD,&rank);</div><div><br></div><div>if(rank != 0)</div><div>{</div></div><div> //workers do something here</div><div> // no other MPI runtiness are used</div><div>}</div><div>MPI_Finalize();</div>
</div><div><br></div><div>I start 14 processes on four machines to run this programs. However, my programs seems halt on MPI_Finalize(). I check the log and find these error information.</div><div><br></div><div>[03:5784]......ERROR:result command received but the wait_list is empty.</div>
<div>[03:5784]....ERROR:unable to handle the command: "cmd=result src=0 dest=3 tag=32 cmd_tag=21 ctx_key=1 result=SUCCESS "</div><div>[03:5784]..ERROR:error closing the unknown context socket: Error = -1</div><div>
<br></div><div>May I know what does these error information mean?</div><div><br></div><div>cheers</div><div>Xiao</div>
<br>_______________________________________________<br>
mpich-discuss mailing list<br>
<a href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a><br>
<a href="https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss" target="_blank">https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div>Rui Wang</div><div><div><div>Key Laboratory of Computing Systems and Architecture,</div><div>Institute of Computing technology,</div><div>Chinese Academy of Science,</div>
Beijing, P.R.China</div></div><br>