[R-sig-hpc] Unable to install Rmpi under Leopard with MPICH2 installed

Blanchette, Marco MAB at stowers.org
Sat Jan 31 22:01:38 CET 2009

Dear list,

Because one of the application we use do not run under lam-mpi, I just migrated from lam-mpi 7.1.2 to MPICH2 1.0.8. I have been struggling to reinstall Rmpi with the new 64 bit R deployment [R 2.8.1 Patched (2009-01-29)] on a Mac Pro running Mac OSX 10.5.5 (leopard). Snow builds and runs correctly, however Rmpi give the following error after installation (either from the repository or from a local install):
> library(Rmpi)
Error in dyn.load(file, DLLpath = DLLpath, ...) :
  unable to load shared library '/Users/mab/Library/R/2.8/library/Rmpi/libs/x86_64/Rmpi.so':
  dlopen(/Users/mab/Library/R/2.8/library/Rmpi/libs/x86_64/Rmpi.so, 6): Library not loaded: /usr//lib/libmpi.0.dylib
  Referenced from: /Users/mab/Library/R/2.8/library/Rmpi/libs/x86_64/Rmpi.so
  Reason: image not found
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 '/Users/mab/Library/R/2.8/library/Rmpi/libs/Rmpi.so' was not loaded

MPICH2 (the mpirun, mpiexec and mpicc) is install under /usr/local/bin and the libaries are under /usr/local/lib. Is the standard R CMD INSTALL Rmpi is suppose to guess the correct configuration? Do I need to have MPICH2 compile in 64bit? I use to be able to run Rmpi with lam-mpi no problem under the 64 bit R 2.8.0.

Your help will be greatly appreciated.


Marco Blanchette, Ph.D.
Assistant Investigator
Stowers Institute for Medical Research
1000 East 50th St.

Kansas City, MO 64110

Tel: 816-926-4071
Cell: 816-726-8419
Fax: 816-926-2018

More information about the R-sig-hpc mailing list