An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-sig-hpc/attachments/20101118/2870ba84/attachment.pl>
trouble installing Rmpi
7 messages · John Joseph, Dirk Eddelbuettel, Kevin.Buckley at ecs.vuw.ac.nz
On 18 November 2010 at 14:48, John Joseph wrote:
| I am new to Linux and parallel processing, and am having trouble installing Rmpi. [...] | I am using Ubuntu 10.04. | | I would greatly appreciate any help you can give. Try sudo apt-get install r-cran-rmpi which should also install Open MPI. LAM is deprecated in favour of Open MPI. Dirk
Dirk Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com
An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-sig-hpc/attachments/20101119/0798b017/attachment.pl>
On 19 November 2010 at 07:07, John Joseph wrote:
|
| Thanks, Dirk.
|
| I appreciate this advice. I didn't even know R packages could be loaded that
| way,
| so that's a good lesson for me. I'm such a newbie. Anyway, when I tried it,
Maybe you should do a little more reading rather than random compiling.
We are here (and on r-sig-debian) to help. There are list archives. There
are HOWTO. There are even (excellent) manuals for R (though they do not cover
dpkg and apt-get).
| Rmpi seemed to get installed propoerly (no warnings or error messages). But,
| then
| when I went into R, and typed library(Rmpi), this is what I get:
|
| > library(Rmpi)
| Error in dyn.load(file, DLLpath = DLLpath, ...) :
| unable to load shared library '/home/john/R/i486-pc-linux-gnu-library/2.11/
| Rmpi/libs/Rmpi.so':
| liblam.so.4: cannot open shared object file: No such file or directory
| Error in library(Rmpi) : .First.lib failed for 'Rmpi'
Your local Rmpi shadows and hides the one I suggested.
In short, *I* would uninstall all the local packages and do (as per my last
email)
sudo apt-get install r-cran-rmpi
| > q()
| Save workspace image? [y/n/c]: n
| Warning message:
| .Last.lib failed in detach() for 'Rmpi', details:
| call: dyn.unload(file.path(libpath, "libs", paste("Rmpi",
| .Platform$dynlib.ext,
| error: dynamic/shared library '/home/john/R/i486-pc-linux-gnu-library/2.11/
| Rmpi/libs/Rmpi.so' was not loaded
| john at john-desktop:~$
|
|
| Prior to that I had tried several other times without success. I learned that
| I probably shouldn't have
| installed openMPI 1.4.3 over the earlier version, 1.4.2, that came with my
| Ubuntu 10.04. So, after some
For Pete's sake, why do you think you need to *build* Open MPI?
I suggested to install a pre-built, tested, working binary.
| research, I think I correctly uninstalled it with "make uninstall" command at
| the build tree. Didn't seem to
| help. I tried a few other things with no luck. Do you think there's some
| simple solution? Thanks for your help.
There is a simple solution. Use the *package* via the *package management
system* of your *Linux distribution*.
You don't have to use those. If and when you know better you can always
replace those, but currently I believe you are better served with the
prebuilt ones.
Hope this helps, Dirk
|
| John Joseph
|
| -----Original Message-----
| From: Dirk Eddelbuettel [mailto:edd at debian.org]
| Sent: Thu 11/18/2010 3:09 PM
| To: John Joseph
| Cc: r-sig-hpc at r-project.org
| Subject: Re: [R-sig-hpc] trouble installing Rmpi
|
|
| On 18 November 2010 at 14:48, John Joseph wrote:
| | I am new to Linux and parallel processing, and am having trouble installing | Rmpi. | [...] | | I am using Ubuntu 10.04. | | | | I would greatly appreciate any help you can give. | | Try | | sudo apt-get install r-cran-rmpi | | which should also install Open MPI. LAM is deprecated in favour of Open MPI. | | Dirk | | -- | Dirk Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com | | |
Dirk Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com
3 days later
An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-sig-hpc/attachments/20101122/5978ca3c/attachment.pl>
Well, I discovered MPICH2 can be used to run Rmpi in Windows. So I switched back to Windows and now have Rmpi running fine in Windows, and so I'll probably stay with Windows for my present project to avoid further delays. But, again, thanks for your help. John Joseph
Hey John, a brief note explaining what you had to do to get that windows/MPICH2/R/Rmpi stack going would be worth posting here for those who come afterwards. Even if your experience is: installed R, installed ,MPICH2 and Rmpi just reconciled the bits it needed, it is as least a confirmation of that process from someone who has actually got it going.
Kevin M. Buckley Room: CO327 School of Engineering and Phone: +64 4 463 5971 Computer Science Victoria University of Wellington New Zealand
An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-sig-hpc/attachments/20101122/f1c2dacf/attachment.pl>