[R] Rmpi Segmentation fault
Dirk Eddelbuettel
edd at debian.org
Tue Feb 10 02:17:08 CET 2009
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.
More information about the R-help
mailing list