Skip to content
Prev 1874 / 2152 Next

Running Rmpi/OpenMPI issues

On 26 Mar, 2014, at 11:14 am, Ross Boylan <ross at biostat.ucsf.edu> wrote:

            
Thanks Ross,

I managed to get it up running by copying the Rprofile from the Rmpi package into ~/.Rprofile and by calling:
$ mpirun -np4 -H host1,host2,host3,host4 R ?-no-save < ~/test_rmpi.R

Here?s my R script:
library(Rmpi)
library(boot)

mpi.remote.exec(mpi.get.processor.name())
mpi.close.Rslaves()
mpi.quit()

But I didn?t try with Snow.