[R] installing Rmpi

Jon Savian worknit at gmail.com
Thu Oct 27 22:04:05 CEST 2005


I've installed R on my RHEL3 cluster and I am trying to get Rmpi to
work properly.

R is installed using the following
./configure --prefix=/home/apps/R-2.2.0

I installed snow using
R CMD INSTALL /home/apps/snow

And finaly Rmpi
R CMD INSTALL /home/apps/Rmpi --configure-args=--with-mpi=/path/to/lam

There were no errors or warnings upon installation.  However when i
perform the test below i get an error message

R> library(snow)
R> cl <- makeCluster(2)

Rmpi version: 0.4-9
        Rmpi is an interface (wrapper) to MPI APIs
        with interactive R slave functionalities.
        See `library (help=Rmpi)' for details.
Error in dyn.load(x, as.logical(local), as.logical(now)) :
        unable to load shared library
  libmpi.so.0: cannot open shared object file: No such file or directory
Error in dyn.unload(x) : dynamic/shared library
'/home/apps/R-2.2.0/lib/R/library/Rmpi/libs/Rmpi.so' was not loaded
Error in makeMPIcluster(spec, ...) : the `Rmpi' package is needed for
MPI clusters.

The Rmpi.so exists and the permissions are fine.  I also did a
lamboot, and its running in the backround fine as well.  Any


More information about the R-help mailing list