From 05046e8ad224c328c95773befc6c8c4d86324aec Mon Sep 17 00:00:00 2001 From: Brian Barrett Date: Wed, 14 Jun 2006 19:07:38 +0000 Subject: [PATCH] if MX isn't running on some hosts, but is on others, we were blocking in the modex receive waiting for the non-running procs to publish their contact information. Publish their (lack of) contact information. This commit was SVN r10355. --- ompi/mca/btl/mx/btl_mx_component.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ompi/mca/btl/mx/btl_mx_component.c b/ompi/mca/btl/mx/btl_mx_component.c index e0ab22c390..43f7fab586 100644 --- a/ompi/mca/btl/mx/btl_mx_component.c +++ b/ompi/mca/btl/mx/btl_mx_component.c @@ -232,6 +232,8 @@ mca_btl_base_module_t** mca_btl_mx_component_init(int *num_btl_modules, if (enable_progress_threads) { opal_output( 0, "mca_btl_mx_component_init: progress threads requested but not supported"); + mca_pml_base_modex_send(&mca_btl_mx_component.super.btl_version, + NULL, 0); return NULL; } @@ -247,6 +249,8 @@ mca_btl_base_module_t** mca_btl_mx_component_init(int *num_btl_modules, if( MX_SUCCESS != (status = mx_init()) ) { opal_output( 0, "mca_btl_mx_component_init: mx_init() failed with status = %d (%s)\n", status, mx_strerror(status) ); + mca_pml_base_modex_send(&mca_btl_mx_component.super.btl_version, + NULL, 0); return NULL; }