On Thu, Mar 12, 2009 at 8:20 AM, Santolo Felaco <span dir="ltr">&lt;<a href="mailto:ahuramazda10@gmail.com">ahuramazda10@gmail.com</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi I use Petsc 2.3.1 (I don&#39;t use the last version because I work on a software developed with this version). <br>I tried to used the Petsc socket, but the client and server programs but they don&#39;t connect (the execution is blocked).<br>

I am using two examples of Petsc: <a href="http://www.mcs.anl.gov/petsc/petsc-as/snapshots/petsc-current/src/vec/vec/examples/tutorials/ex42a.c.html" target="_blank">http://www.mcs.anl.gov/petsc/petsc-as/snapshots/petsc-current/src/vec/vec/examples/tutorials/ex42a.c.html</a> and<br>

<a href="http://www.mcs.anl.gov/petsc/petsc-as/snapshots/petsc-current/src/vec/vec/examples/tutorials/ex42.c.html" target="_blank">http://www.mcs.anl.gov/petsc/petsc-as/snapshots/petsc-current/src/vec/vec/examples/tutorials/ex42.c.html</a> <br>

<br>I tried to execute ex42a on machine and ex42 on other machine, and I execute both programs on same machine.</blockquote><div><br>1) It is extremely hard to debug old code. We have made several socket fixes for new OS/architectures.<br>
<br>2) Make sure you start the server (ex42a) and then the client (ex42)<br><br>3) Run using the debugger, -start_in_debugger, and give us a stack trace of the hang<br><br>  Matt<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>Do you help me? Thanks.<br>Bye.<br>
</blockquote></div>-- <br>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>-- Norbert Wiener<br>