From b13813810fabe181bb1f1b81db8bb7049c0c6456 Mon Sep 17 00:00:00 2001 From: Jeff Squyres Date: Sat, 1 Oct 2016 15:22:26 -0700 Subject: [PATCH] usnic: print a helpful message invoke PML error callback The previous message was unhelpful / confusing. Signed-off-by: Jeff Squyres --- opal/mca/btl/usnic/btl_usnic_util.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/opal/mca/btl/usnic/btl_usnic_util.c b/opal/mca/btl/usnic/btl_usnic_util.c index 9c1db480cd..17eeb7650d 100644 --- a/opal/mca/btl/usnic/btl_usnic_util.c +++ b/opal/mca/btl/usnic/btl_usnic_util.c @@ -34,6 +34,8 @@ void opal_btl_usnic_exit(opal_btl_usnic_module_t *module) } /* If we didn't find a PML error callback, just exit. */ if (NULL == module) { + fprintf(stderr, "*** The Open MPI usnic BTL is aborting the MPI job (via exit(3)).\n"); + fflush(stderr); exit(1); } } @@ -47,7 +49,7 @@ void opal_btl_usnic_exit(opal_btl_usnic_module_t *module) module->pml_error_callback(&module->super, MCA_BTL_ERROR_FLAGS_FATAL, (opal_proc_t*) opal_proc_local_get(), - "usnic"); + "The usnic BTL is aborting the MPI job (via PML error callback)."); } /* If the PML error callback returns (or if there wasn't one),