From f05dee0435f0ecdce590a3a75410e37e03fa0bac Mon Sep 17 00:00:00 2001 From: Galen Shipman Date: Mon, 5 Jun 2006 21:23:45 +0000 Subject: [PATCH] add help file to explain why things went south.. This commit was SVN r10209. --- ompi/mca/btl/openib/Makefile.am | 2 ++ ompi/mca/btl/openib/btl_openib_component.c | 5 +++++ 2 files changed, 7 insertions(+) diff --git a/ompi/mca/btl/openib/Makefile.am b/ompi/mca/btl/openib/Makefile.am index 780411149a..d323f1cd18 100644 --- a/ompi/mca/btl/openib/Makefile.am +++ b/ompi/mca/btl/openib/Makefile.am @@ -22,6 +22,8 @@ AM_CPPFLAGS=$(btl_openib_CPPFLAGS) +dist_pkgdata_DATA=help-mpi-btl-openib.txt + sources = \ btl_openib.c \ btl_openib.h \ diff --git a/ompi/mca/btl/openib/btl_openib_component.c b/ompi/mca/btl/openib/btl_openib_component.c index 7e663070d2..90fa9ede08 100644 --- a/ompi/mca/btl/openib/btl_openib_component.c +++ b/ompi/mca/btl/openib/btl_openib_component.c @@ -23,6 +23,7 @@ #include "opal/util/if.h" #include "opal/util/argv.h" #include "opal/util/output.h" +#include "opal/util/show_help.h" #include "ompi/proc/proc.h" #include "ompi/mca/pml/pml.h" #include "ompi/mca/btl/btl.h" @@ -876,6 +877,10 @@ int mca_btl_openib_component_progress() BTL_PEER_ERROR(remote_proc, ("error polling HP CQ with status %s status number %d for wr_id %llu opcode %d\n", mca_btl_openib_component_status_to_string(wc.status), wc.status, wc.wr_id, wc.opcode)); + if(wc.status == IBV_WC_RETRY_EXC_ERR) { + opal_show_help("help-mpi-btl-openib.txt", "btl_openib:retry-exceeded", true); + } + return OMPI_ERROR; }