[R-sig-hpc] Plain: Error loading Rmpi

Brian G. Peterson brian at braverock.com
Thu Dec 10 13:52:26 CET 2009

sebastian.rohrer at basf.com wrote:
> Dear List,
> I get the following error when trying to load Rmpi:
>> library(Rmpi)
> Error in dyn.load(file, DLLpath = DLLpath, ...) :
>   unable to load shared library 
> '/programs/R/R-2.10.0/lib64/R/library/Rmpi/libs/Rmpi.so':
>   liblam.so.0: cannot open shared object file: No such file or directory
> Error in library(Rmpi) : .First.lib failed for 'Rmpi'
> Error in dyn.unload(file.path(libpath, "libs", paste("Rmpi", 
> .Platform$dynlib.ext,  :
>   dynamic/shared library 
> '/programs/R/R-2.10.0/lib64/R/library/Rmpi/libs/Rmpi.so' was not loaded
> Unfortunately, I dont't have a clue what could be the problem. Can anybody 
> give me a hint?
Find a copy of Dirk's excellent introduction to high performance 
computing with R.

Make sure your MPI installation works outside of R using a simple MPI 
test program.

Make sure Rmpi is compiled against your running MPI version (there's 
lots of information on this in the list archives for this list)


    - Brian

Brian G. Peterson
Ph: 773-459-4973
IM: bgpbraverock

More information about the R-sig-hpc mailing list