Skip to content

install package Rmpi

3 messages · Sanja JANKOVIC, Bjørn-Helge Mevik, Kasper Daniel Hansen

#
Hi,

I am trying to install the package Rmpi on the HPC of my university.

I am getting this error message:

configure: error: Unknown type of mpi: use --with-Rmpi-type or RMPI_TYPE to specify it
ERROR: configuration failed for package 'Rmpi'
* removing '/mnt/gaiagpfs/users/homedirs/sjankovic/R/x86_64-pc-linux-gnu-library/3.4/Rmpi'

Thanks for your answer!

Best,

Sanja
#
Sanja JANKOVIC <sanja.jankovic at uni.lu> writes:
Presumably, the cluster has some type of MPI implementation Rmp config
didn't detect.  Which type of MPI are you using, and where (which path)
is it installed?  (If you don't know, the support people at your cluster
will know.)
#
Here is how you set it as an options in R; this code sets a configure
option for the Rmpi package.

options(configure.args = c(Rmpi = "--with-Rmpi-type=OPENMPI"))

Now, the value (in my case OPENMPI) depends on your system. It was
surprisingly hard to figure out the possible values in Rmpi, I think I had
to read the configure script or something - unfortunately I forgot where to
find it. It was much harder than expected though.

On Thu, Nov 16, 2017 at 7:45 AM, Bj?rn-Helge Mevik <b.h.mevik at usit.uio.no>
wrote: