(Re-adding bug submitter Don and bug tracking email box) On 11 March 2014 at 09:21, Hao Yu wrote: | Hi Dir, | | I had .so and .so.0 already there. It is easy to add .so.1. Also | libmpi.dylib for MAC is not necessary. It will be removed.
Sounds good, and thanks for the prompt reply. I'll catch the new Rmpi when it hits CRAN Dirk | Thanks, | | Hao | | Dirk Eddelbuettel wrote: | > | > Dear Hao, | > | > Here is a fresh, and good looking, bug report from a fellow Debianer and R | > user. Can you take a look? Based on my Debian testing system we want .1 | > whereas Ubuntu still has .0 -- so the suggest pairing below makes a lot of | > sense (Thanks, Don!) | > | > Dirk | > | > On 10 March 2014 at 14:45, Don Armstrong wrote: | > | 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 | > | > -- | > Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com | > | | | -- | Department of Statistics & Actuarial Sciences | Office Phone#:(519)-661-3622 | Fax Phone#:(519)-661-3813 | The University of Western Ontario | London, Ontario N6A 5B7 | http://www.stats.uwo.ca/yu -- Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org