
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, 
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'
> 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@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
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.

John Joseph

-----Original Message-----
From: Dirk Eddelbuettel [mailto:edd@debian.org]
Sent: Thu 11/18/2010 3:09 PM
To: John Joseph
Cc: r-sig-hpc@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@debian.org | http://dirk.eddelbuettel.com



	[[alternative HTML version deleted]]

