Skip to content
Prev 1265 / 2152 Next

Rmpi installation with openmpi (on local directory)

R cannot find libmpi.so in /usr/lib64/openmpi/1.4-gcc/lib. You have to
tell R where to find it. There are two ways to do it:

1. Modify the env var LD_LIBRARY_PATH to include
/usr/lib64/openmpi/1.4-gcc/lib.
2. Modify R in R/bin to add a line (at third line) like
LD_LIBRARY_PATH=/usr/lib64/openmpi/1.4-gcc/lib

Recompile Rmpi or load Rmpi to see if this works.

Hao
Rodney Sparapani wrote: