Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: Re: [OMPI users] Open MPI 1.3 segfault on amd64 with Rmpi
From: Dirk Eddelbuettel (edd_at_[hidden])
Date: 2009-02-09 20:14:48

To bring closure to this thread, we found that the following simple patch to
Rmpi/src/Rmpi.c fixes the problem:

--- rmpi-0.5-6.orig/src/Rmpi.c
+++ rmpi-0.5-6/src/Rmpi.c
@@ -63,7 +63,7 @@
         else {
 #ifdef OPENMPI
- dlopen("", RTLD_GLOBAL);
+ dlopen("", RTLD_GLOBAL | RTLD_LAZY);
 #ifndef MPI2

The fix has been applied to Debian's package and should also be forthcoming
in future releases of Rmpi. Big thanks to Jeff Squyres for patient help with
the debugging.


Three out of two people have difficulties with fractions.