Hello all,

I'm having trouble loading in the Rmpi library after error-less
installation.  I've spent quite a while combing the listservs and have not
found a solution that fixes my problem, so would appreciate any help!

The problem is that when loading in the Rmpi library, I get the following
error:

> library(Rmpi)
Error in dyn.load(file, DLLpath = DLLpath, ...) :
  unable to load shared library
'/ifshome/jstein/R/x86_64-unknown-linux-gnu-library/2.9/Rmpi/libs/Rmpi.so':
  /opt/mpich2/gnu/lib/libmpich.so.1.1: undefined symbol: shm_open
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
'/ifshome/jstein/R/x86_64-unknown-linux-gnu-library/2.9/Rmpi/libs/Rmpi.so'
was not loaded

Other postings have suggested to look for unlinked libraries via the ldd
command, and there do not appear to be any:

%  R CMD ldd ~/R/x86_64-unknown-linux-gnu-library/2.9//Rmpi/libs/Rmpi.so
        /lib64/libutil-2.5.so (0x00002b7dd2206000)
        libmpich.so.1.1 => /opt/mpich2/gnu/lib/libmpich.so.1.1
(0x00002b7dd2409000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00002b7dd2706000)
        libR.so => /usr/local/R-2.9.2_64bit/lib64/R/lib/libR.so
(0x00002b7dd2920000)
        libc.so.6 => /lib64/libc.so.6 (0x00002b7dd2e48000)
        /lib64/ld-linux-x86-64.so.2 (0x0000003067600000)
        libRblas.so => /usr/local/R-2.9.2_64bit/lib64/R/lib/libRblas.so
(0x00002b7dd319c000)
        libgfortran.so.1 => /usr/lib64/libgfortran.so.1 (0x00002b7dd33ca000)
        libm.so.6 => /lib64/libm.so.6 (0x00002b7dd3661000)
        libreadline.so.5 => /usr/local/lib/libreadline.so.5
(0x00002b7dd38e5000)
        libncurses.so.5 => /usr/lib64/libncurses.so.5 (0x00002b7dd3a22000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00002b7dd3c7f000)

% ldd libmpich.so.1.1
        /lib64/libutil-2.5.so (0x00002b413d524000)
        libc.so.6 => /lib64/libc.so.6 (0x00002b413d73c000)
        /lib64/ld-linux-x86-64.so.2 (0x0000003067600000)

There was a posting here that looked similar (
http://www.hpccommunity.org/f71/r-r-mpi-264/), but gave an error for openpty
instead of shm_open.

I'm stuck at this point, but if anyone has any suggestions I would very much
appreciate the help!

Thanks,
Jason

	[[alternative HTML version deleted]]

