Skip to content
Back to formatted view

Raw Message

Message-ID: <18832.54676.574058.372869@ron.nulle.part>
Date: 2009-02-10T01:17:08Z
From: Dirk Eddelbuettel
Subject: Rmpi Segmentation fault
In-Reply-To: <87499040-8B0D-483B-93D3-BFE3BAD57BB6@cisco.com>

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("libmpi.so.0", RTLD_GLOBAL);
+	dlopen("libmpi.so.0", RTLD_GLOBAL | RTLD_LAZY);
 #endif
 	
 #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.

Dirk

-- 
Three out of two people have difficulties with fractions.