[R] Setting up workers with Rmpi: SOLVED for Ubuntu

2017-03-18 Thread Erin Hodgess
Hello! I found the answer in a very fine book by Prof. Norm Matloff. There is a section on Rmpi on this exact topic for Linux on pages 192-193. So I followed those instructions, and I'm set. Thanks though! -- Erin Hodgess Associate Professor Department of Mathematical and Statistics Universi

[R] Setting up workers with Rmpi

2017-03-18 Thread Erin Hodgess
Hello! I'm trying to run a very simple test with Rmpi via the mpirun function outside of R. Here is the script file: Es-MacBook-Pro:~ emhodgess$ cat bb.in library(Rmpi) x <- 5 mpi.remote.exec(rnorm(x)) mpi.finalize() And here is the output: Es-MacBook-Pro:~ emhodgess$ mpirun -np 4 Rscr