Skip to content

Commit 99453e6

Browse files
plesntkordenbrock
authored andcommitted
mtl/portals4: get retransmission REPLY code
Signed-off-by: Todd Kordenbrock <[email protected]>
1 parent 06b15ce commit 99453e6

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

ompi/mca/mtl/portals4/mtl_portals4_recv.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -336,6 +336,12 @@ ompi_mtl_portals4_rndv_get_frag_progress(ptl_event_t *ev,
336336
"%s:%d: PTL_EVENT_REPLY with ni_fail_type: %d",
337337
__FILE__, __LINE__, ev->ni_fail_type);
338338

339+
if (OPAL_UNLIKELY(ev->ni_fail_type != PTL_NI_DROPPED)) {
340+
mtl_ptl_error(1, "PTL_EVENT_REPLY with ni_fail_type: %s"
341+
" => cannot retry",
342+
name_of_err[ev->ni_fail_type]);
343+
}
344+
339345
opal_timer_t time = opal_timer_base_get_usec() - rndv_get_frag->frag_start_time_usec;
340346
if (time > (unsigned int) ompi_mtl_portals4.get_retransmit_timeout) {
341347
mtl_ptl_error(1, "timeout retrying GET");

0 commit comments

Comments
 (0)