Skip to content
Prev 331 / 2152 Next

Rmpi and OpenMPI

Rmpi may not be installed properly. During installation, check if you get
the flags -DMPI2 and -DOPENMPI. The first flag indicates MPI 2 is
supported. The second flag indicates that Rmpi finds OPENMPI mpi.

In your case, probably -DMPI2 is missed and MPICH is chosen. Try install
Rmpi with --configure-args=--with-mpi=/mpipath. Make sure to modify R to
include a line at beginning like
LD_LIBRARY_PATH=/usr/lib64/OMPI/gnu/

Hao
Arash Fard wrote: