1
1

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
Этот коммит содержится в:
Todd Kordenbrock 2020-06-30 08:46:03 -05:00 коммит произвёл GitHub
родитель 868eee31c1 04b94637dd
Коммит 4358e75a75
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
2 изменённых файлов: 6 добавлений и 6 удалений

Просмотреть файл

@ -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);