Skip to content
Prev 1517 / 2152 Next

Install Rmpi as a user of HPC

semra yalcin <semra.yalcin at gmail.com> writes:
(OpenMPI 1.2.8 is quite old.  I think the current version is 1.6.1.)

I've just installed Rmpi on our cluster, running Rocks 6.0 (based on
CentOS 6.2).  We have installed OpenMPI in
/cluster/software/VERSIONS/openmpi-1.6.1.

I did the following to install Rmpi:

Make sure the following variables are set before installing Rmpi or
using it later on:

Add /cluster/software/VERSIONS/openmpi-1.6.1/bin to $PATH
Add /cluster/software/VERSIONS/openmpi-1.6.1/lib to $LD_LIBRARY_PATH
Add /cluster/software/VERSIONS/openmpi-1.6.1/share/man to $MANPATH
Add /cluster/software/VERSIONS/openmpi-1.6.1/include to $CPATH

(We use the Modules package for this.)

Then I started R and installed Rmpi with

install.packages("Rmpi", configure.args = "--with-mpi=/cluster/software/VERSIONS/openmpi-1.6.1")
Message-ID: <s3smx0f1ye6.fsf@slagelg.uio.no>
In-Reply-To: <CABX-FmroAQ3TsLsgRW1mEKftRR8Nkp=12ZB8wqy7sgdrXqTQ4A@mail.gmail.com> (semra yalcin's message of "Fri\, 21 Sep 2012 20\:23\:06 +0300")