Package: r-cran-rmpi
Version: 0.6-3-1
Severity: serious
Control: tag -1 patch
Rmpi should dlopen libmpi.so.1 in addition to libmpi.so.0, otherwise
Rmpi is useless without having libopenmpi-dev installed (which provides
libmpi.so).
The following trivial patch fixes this:
--- rmpi-0.6-3.orig/src/Rmpi.c
+++ rmpi-0.6-3/src/Rmpi.c
@@ -69,7 +69,8 @@
#ifndef MAC
#ifdef OPENMPI
- if (!dlopen("libmpi.so.0", RTLD_GLOBAL | RTLD_LAZY)
+ if (!dlopen("libmpi.so.1", RTLD_GLOBAL | RTLD_LAZY)
+ && !dlopen("libmpi.so.0", RTLD_GLOBAL | RTLD_LAZY)
&& !dlopen("libmpi.so", RTLD_GLOBAL | RTLD_LAZY)){
//&& !dlopen("libmpi.dylib", RTLD_GLOBAL | RTLD_LAZY)
//&& !dlopen("libmpi.1.dylib", RTLD_GLOBAL | RTLD_LAZY)) {
--
Don Armstrong http://www.donarmstrong.com
Where I sleep at night, is this important compared to what I read
during the day? What do you think defines me? Where I slept or what I
did all day?
-- Thomas Van Orden of Van Orden v. Perry
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]