2c736873bb
The problem was caused by a bad ordering between the restart of the ORTE level tcp connections (in the OOB - out-of-band communication) and the Open MPI level tcp connections (BTLs). Before this commit ORTE would shutdown and restart the OOB completely before the OMPI level restarted its tcp connections. What would happen is that a socket descriptor used by the OMPI level on checkpoint was assigned to the ORTE level on restart. But the OMPI level had no knowledge that the socket descriptor it was previously using has been recycled so it closed it on restart. This caused the ORTE level to break as the newly created socket descriptor was closed without its knowledge. The fix is to have the OMPI level shutdown tcp connections, allow the ORTE level to restart, and then allow the OMPi level to restart its connections. This seems obvious, and I'm surprised that this bug has not cropped up sooner. I'm confident that this specific problem has been fixed with this commit. Thanks to Eric Roman and Tamer El Sayed for their help in identifying this problem, and patience while I was fixing it. * Add a new state {{{OPAL_CRS_RESTART_PRE}}}. This state identifies when we are on the down slope of the INC (finalize-like) which is useful when you want to close, but not reopen a component set for fear of interfering with a lower level. * Use this new state in OMPI level coordination. Here we want to make sure to play well with both the OMPI/BTL/TCP and ORTE/OOB/TCP components. * Update ft_event functions in PML and BML to handle the new restart state. * Add an additional flag to the error output in OOB/TCP so we can see what the socket descriptor was on failure as this can be helpful in debugging. This commit was SVN r18276. |
||
---|---|---|
.. | ||
configure.params | ||
Makefile.am | ||
pml_ob1_comm.c | ||
pml_ob1_comm.h | ||
pml_ob1_component.c | ||
pml_ob1_component.h | ||
pml_ob1_endpoint.c | ||
pml_ob1_endpoint.h | ||
pml_ob1_hdr.h | ||
pml_ob1_iprobe.c | ||
pml_ob1_irecv.c | ||
pml_ob1_isend.c | ||
pml_ob1_progress.c | ||
pml_ob1_rdma.c | ||
pml_ob1_rdma.h | ||
pml_ob1_rdmafrag.c | ||
pml_ob1_rdmafrag.h | ||
pml_ob1_recvfrag.c | ||
pml_ob1_recvfrag.h | ||
pml_ob1_recvreq.c | ||
pml_ob1_recvreq.h | ||
pml_ob1_sendreq.c | ||
pml_ob1_sendreq.h | ||
pml_ob1_start.c | ||
pml_ob1.c | ||
pml_ob1.h | ||
post_configure.sh |