Skip to content

Commit 37766d7

Browse files
committed
mtl/portals4: if frag retry fails, then fail the entire receive
If the a frag cannot be retried because the ni_fail_type is other than PTL_NI_DROPPED, then set the return type and jump to callback_error. This sets MPI_ERROR and completes the receive. Signed-off-by: Todd Kordenbrock <[email protected]>
1 parent 99453e6 commit 37766d7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ompi/mca/mtl/portals4/mtl_portals4_recv.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -340,6 +340,8 @@ ompi_mtl_portals4_rndv_get_frag_progress(ptl_event_t *ev,
340340
mtl_ptl_error(1, "PTL_EVENT_REPLY with ni_fail_type: %s"
341341
" => cannot retry",
342342
name_of_err[ev->ni_fail_type]);
343+
ret = PTL_FAIL;
344+
goto callback_error;
343345
}
344346

345347
opal_timer_t time = opal_timer_base_get_usec() - rndv_get_frag->frag_start_time_usec;

0 commit comments

Comments
 (0)