[mpich-discuss] Client hangs if server dies in dynamic process management

Hirak Roy hirak_roy at mentor.com
Sun Nov 16 22:44:23 CST 2014


Hi All,

Here is my sample program. I am using channel sock of mpich-3.0.4.

I am running it as
 > mpiexec -n 1 ./server.out
 > mpiexec -n 1 ./client.out

Here my client program (client.c) hangs in MPI_Finalize.
There is an assert in the server.c where server exits.

There is no way to detect that in client.
Even if we detect that using some timeout strategy, the client hangs in 
the finalize step.
Could you please suggest what is going wrong here or is this a bug in 
sock channel?

Thanks,
Hirak
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20141117/81de9415/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: client.c
Type: text/x-csrc
Size: 1337 bytes
Desc: not available
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20141117/81de9415/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: server.c
Type: text/x-csrc
Size: 1268 bytes
Desc: not available
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20141117/81de9415/attachment-0001.bin>


More information about the discuss mailing list