Le 12/09/2012 17:57, Jeff Squyres a écrit :
> Here's the r numbers with notable MX changes recently:
>
> https://svn.open-mpi.org/trac/ompi/changeset/26698

Reverting this one fixes the problem.
And adding --mca mtl ^mx to the command works too (Doug, can you try that?)

The problem is that the MTL component calls ompi_common_mx_initialize()
only once in component_init() but it calls finalize() twice: once in
component_close() and once in ompi_mtl_mx_finalize(). The attached patch
seems to work.

Signed-off-by: Brice Goglin <brice.gog...@inria.fr>

Brice

diff --git a/ompi/mca/mtl/mx/mtl_mx.c b/ompi/mca/mtl/mx/mtl_mx.c
index c3e92f3..2c07cc9 100644
--- a/ompi/mca/mtl/mx/mtl_mx.c
+++ b/ompi/mca/mtl/mx/mtl_mx.c
@@ -151,7 +151,7 @@ ompi_mtl_mx_finalize(struct mca_mtl_base_module_t* mtl) {
         return OMPI_ERROR;
     }

-    return ompi_common_mx_finalize();
+    return OMPI_SUCCESS;

 }

Reply via email to