Merge pull request #7866 from tkordenbrock/topic/master/portals4.fix-inappropriate-use-of-abort
portals4: fix inappropriate use of abort() in mtl-portals4 and coll-portals4 components
Этот коммит содержится в:
Коммит
4358e75a75
@ -761,7 +761,7 @@ portals4_progress(void)
|
||||
}
|
||||
else if (PTL_EQ_DROPPED == ret) {
|
||||
opal_output(ompi_coll_base_framework.framework_output, "Flow control situation without recovery (EQ_DROPPED)\n");
|
||||
abort();
|
||||
ompi_rte_abort(ret, "coll-portals4: Flow control situation without recovery (EQ_DROPPED)");
|
||||
}
|
||||
else {
|
||||
opal_output(ompi_coll_base_framework.framework_output, "Error returned from PtlEQGet: %d", ret);
|
||||
|
@ -523,7 +523,7 @@ ompi_mtl_portals4_progress(void)
|
||||
if (OMPI_SUCCESS != ret) {
|
||||
opal_output(ompi_mtl_base_framework.framework_output,
|
||||
"Error returned from target event callback: %d", ret);
|
||||
abort();
|
||||
ompi_rte_abort(ret, "mtl-portals4: Error returned from target event callback");
|
||||
}
|
||||
}
|
||||
break;
|
||||
@ -535,7 +535,7 @@ ompi_mtl_portals4_progress(void)
|
||||
if (OMPI_SUCCESS != ret) {
|
||||
opal_output(ompi_mtl_base_framework.framework_output,
|
||||
"Error returned from target event callback: %d", ret);
|
||||
abort();
|
||||
ompi_rte_abort(ret, "mtl-portals4: Error returned from target event callback");
|
||||
}
|
||||
}
|
||||
break;
|
||||
@ -550,12 +550,12 @@ ompi_mtl_portals4_progress(void)
|
||||
opal_output_verbose(1, ompi_mtl_base_framework.framework_output,
|
||||
"%s:%d: flowctl_trigger() failed: %d\n",
|
||||
__FILE__, __LINE__, ret);
|
||||
abort();
|
||||
ompi_rte_abort(ret, "mtl-portals4: Flow control failed (PT_DISABLED)");
|
||||
}
|
||||
#else
|
||||
opal_output(ompi_mtl_base_framework.framework_output,
|
||||
"Flow control situation without recovery (PT_DISABLED)");
|
||||
abort();
|
||||
ompi_rte_abort(ret, "mtl-portals4: Flow control situation without recovery (PT_DISABLED)");
|
||||
#endif
|
||||
break;
|
||||
|
||||
@ -573,7 +573,7 @@ ompi_mtl_portals4_progress(void)
|
||||
opal_output(ompi_mtl_base_framework.framework_output,
|
||||
"Flow control situation without recovery (EQ_DROPPED): %d",
|
||||
which);
|
||||
abort();
|
||||
ompi_rte_abort(ret, "mtl-portals4: Flow control situation without recovery (EQ_DROPPED)");
|
||||
} else {
|
||||
opal_output(ompi_mtl_base_framework.framework_output,
|
||||
"Error returned from PtlEQGet: %d", ret);
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user