Problems with Socket

Matthew Knepley knepley at gmail.com
Thu Mar 12 08:36:56 CDT 2009


On Thu, Mar 12, 2009 at 8:20 AM, Santolo Felaco <ahuramazda10 at gmail.com>wrote:

> Hi I use Petsc 2.3.1 (I don't use the last version because I work on a
> software developed with this version).
> I tried to used the Petsc socket, but the client and server programs but
> they don't connect (the execution is blocked).
> I am using two examples of Petsc:
> http://www.mcs.anl.gov/petsc/petsc-as/snapshots/petsc-current/src/vec/vec/examples/tutorials/ex42a.c.htmland
>
> http://www.mcs.anl.gov/petsc/petsc-as/snapshots/petsc-current/src/vec/vec/examples/tutorials/ex42.c.html
>
> I tried to execute ex42a on machine and ex42 on other machine, and I
> execute both programs on same machine.


1) It is extremely hard to debug old code. We have made several socket fixes
for new OS/architectures.

2) Make sure you start the server (ex42a) and then the client (ex42)

3) Run using the debugger, -start_in_debugger, and give us a stack trace of
the hang

  Matt


>
> Do you help me? Thanks.
> Bye.
>
-- 
What most experimenters take for granted before they begin their experiments
is infinitely more interesting than any results to which their experiments
lead.
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20090312/d47bf614/attachment.htm>


More information about the petsc-users mailing list