Skip to content

Commit c8b5aa7

Browse files
committed
ulfm: Do not try to send a fin fragment to a dead process
Signed-off-by: Aurelien Bouteiller <bouteill@icl.utk.edu>
1 parent 3cfed5e commit c8b5aa7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

ompi/mca/pml/ob1/pml_ob1_sendreq.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1274,6 +1274,11 @@ static void mca_pml_ob1_send_request_put_frag_failed (mca_pml_ob1_rdma_frag_t *f
12741274
opal_list_append(&mca_pml_ob1.rdma_pending, (opal_list_item_t*)frag);
12751275
OPAL_THREAD_UNLOCK(&mca_pml_ob1.lock);
12761276
} else {
1277+
#if OPAL_ENABLE_FT
1278+
if(!ompi_proc_is_active(sendreq->req_send.req_base.req_proc)) {
1279+
return;
1280+
}
1281+
#endif /* OPAL_ENABLE_FT */
12771282
/* tell receiver to deregister memory */
12781283
mca_pml_ob1_send_fin (sendreq->req_send.req_base.req_proc, bml_btl,
12791284
frag->rdma_hdr.hdr_rdma.hdr_frag, 0, MCA_BTL_NO_ORDER,

0 commit comments

Comments
 (0)