Skip to content

Commit b138138

Browse files
committed
usnic: print a helpful message invoke PML error callback
The previous message was unhelpful / confusing. Signed-off-by: Jeff Squyres <[email protected]>
1 parent 7601e78 commit b138138

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

opal/mca/btl/usnic/btl_usnic_util.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ void opal_btl_usnic_exit(opal_btl_usnic_module_t *module)
3434
}
3535
/* If we didn't find a PML error callback, just exit. */
3636
if (NULL == module) {
37+
fprintf(stderr, "*** The Open MPI usnic BTL is aborting the MPI job (via exit(3)).\n");
38+
fflush(stderr);
3739
exit(1);
3840
}
3941
}
@@ -47,7 +49,7 @@ void opal_btl_usnic_exit(opal_btl_usnic_module_t *module)
4749
module->pml_error_callback(&module->super,
4850
MCA_BTL_ERROR_FLAGS_FATAL,
4951
(opal_proc_t*) opal_proc_local_get(),
50-
"usnic");
52+
"The usnic BTL is aborting the MPI job (via PML error callback).");
5153
}
5254

5355
/* If the PML error callback returns (or if there wasn't one),

0 commit comments

Comments
 (0)