[R] problem with mpiexec and Rmpi

Erin Hodgess erinm.hodgess at gmail.com
Tue Jul 1 21:03:49 CEST 2008


Dear R People:

I'm having some trouble with mpiexec and Rmpi.

I would like to be able to pass in the number of "children" via the
mpiexec command (from the command line).

this is in SUSE10.1, with R-2.7.1

Here are my files:
 cat eb.R
library(Rmpi)
mpi.remote.exec(paste("i am",mpi.comm.rank(),"of",mpi.comm.size()))
mpi.quit()
hodgesse at erinstoy:~/Desktop/R-2.7.1/bin> cat e.in
source("eb.R")

hodgesse at erinstoy:~/Desktop/R-2.7.1/bin> mpiexec -n 3 ./R --no-save -q
-f e.in >e.out
Error in mpi.remote.exec(paste("i am", mpi.comm.rank(), "of",
mpi.comm.size())) :
  It seems no slaves running.
Calls: source -> eval.with.vis -> eval.with.vis -> mpi.remote.exec
Error in mpi.remote.exec(paste("i am", mpi.comm.rank(), "of",
mpi.comm.size())) :
  It seems no slaves running.
Calls: source -> eval.with.vis -> eval.with.vis -> mpi.remote.exec
Error in mpi.remote.exec(paste("i am", mpi.comm.rank(), "of",
mpi.comm.size())) :
  It seems no slaves running.
Calls: source -> eval.with.vis -> eval.with.vis -> mpi.remote.exec
hodgesse at erinstoy:~/Desktop/R-2.7.1/bin>

Does anyone have any suggestions, please?  The scary part:  I can get
this to work on Windows but not on SUSE10.1

thanks in advance,
Sincerely,
Erin


Erin Hodgess
Associate Professor
Department of Computer and Mathematical Sciences
University of Houston - Downtown
mailto: erinm.hodgess at gmail.com



More information about the R-help mailing list