usnic: re-indent some show_help code
Nothing too substantial here, but two of the messages moved from "libfabric API failed" to "internal error during init", just to be a bit more descriptive.
Этот коммит содержится в:
родитель
1b836d784c
Коммит
51583789fb
@ -263,13 +263,13 @@ add_procs_reap_fi_av_inserts(opal_btl_usnic_module_t *module,
|
|||||||
interface. */
|
interface. */
|
||||||
else {
|
else {
|
||||||
opal_show_help("help-mpi-btl-usnic.txt",
|
opal_show_help("help-mpi-btl-usnic.txt",
|
||||||
"libfabric API failed",
|
"libfabric API failed",
|
||||||
true,
|
true,
|
||||||
opal_process_info.nodename,
|
opal_process_info.nodename,
|
||||||
module->fabric_info->fabric_attr->name,
|
module->fabric_info->fabric_attr->name,
|
||||||
"async insertion result", __FILE__, __LINE__,
|
"async insertion result", __FILE__, __LINE__,
|
||||||
err_entry.err,
|
err_entry.err,
|
||||||
"Failed to insert address to AV");
|
"Failed to insert address to AV");
|
||||||
ret = OPAL_ERR_OUT_OF_RESOURCE;
|
ret = OPAL_ERR_OUT_OF_RESOURCE;
|
||||||
error_occurred = true;
|
error_occurred = true;
|
||||||
/* we can't break here, need to finish reaping all inserts */
|
/* we can't break here, need to finish reaping all inserts */
|
||||||
@ -278,13 +278,13 @@ add_procs_reap_fi_av_inserts(opal_btl_usnic_module_t *module,
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
opal_show_help("help-mpi-btl-usnic.txt",
|
opal_show_help("help-mpi-btl-usnic.txt",
|
||||||
"libfabric API failed",
|
"internal error during init",
|
||||||
true,
|
true,
|
||||||
opal_process_info.nodename,
|
opal_process_info.nodename,
|
||||||
module->fabric_info->fabric_attr->name,
|
module->fabric_info->fabric_attr->name,
|
||||||
"fi_eq_readerr()", __FILE__, __LINE__,
|
"fi_eq_readerr()", __FILE__, __LINE__,
|
||||||
ret,
|
ret,
|
||||||
"Failed to insert address to AV");
|
"Returned != sizeof(err_entry)");
|
||||||
ret = OPAL_ERR_OUT_OF_RESOURCE;
|
ret = OPAL_ERR_OUT_OF_RESOURCE;
|
||||||
error_occurred = true;
|
error_occurred = true;
|
||||||
/* we can't break here, need to finish reaping all inserts */
|
/* we can't break here, need to finish reaping all inserts */
|
||||||
@ -295,13 +295,13 @@ add_procs_reap_fi_av_inserts(opal_btl_usnic_module_t *module,
|
|||||||
/* Some kind of error from fi_eq_sread */
|
/* Some kind of error from fi_eq_sread */
|
||||||
else {
|
else {
|
||||||
opal_show_help("help-mpi-btl-usnic.txt",
|
opal_show_help("help-mpi-btl-usnic.txt",
|
||||||
"libfabric API failed",
|
"internal error during init",
|
||||||
true,
|
true,
|
||||||
opal_process_info.nodename,
|
opal_process_info.nodename,
|
||||||
module->fabric_info->fabric_attr->name,
|
module->fabric_info->fabric_attr->name,
|
||||||
"fi_eq_sread()", __FILE__, __LINE__,
|
"fi_eq_sread()", __FILE__, __LINE__,
|
||||||
ret,
|
ret,
|
||||||
"Failed to insert address to AV");
|
"Returned != (sizeof(entry) or -FI_EAVAIL)");
|
||||||
ret = OPAL_ERR_OUT_OF_RESOURCE;
|
ret = OPAL_ERR_OUT_OF_RESOURCE;
|
||||||
error_occurred = true;
|
error_occurred = true;
|
||||||
/* we can't break here, need to finish reaping all inserts */
|
/* we can't break here, need to finish reaping all inserts */
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user