Skip to content
Prev 485 / 2152 Next

difficulty spawning Rslaves

This might not provide any useful info, but just in case: when running
Rmpi, a bunch of log files are temporarily created in the current
working directory. Sometimes, they contain a little bit more info than
"process in local group is dead".

And a couple of other checks:

1. After installing release 7.1.2, you of course recompiled Rmpi
against the new versions?


2. Before running R, do your usual lamboot routine and then:

2.1. lamexec C hostname

2.2 tping C N -c 2 (or anyother number after -c)


3. Inisde Rmpi, why do you use mpi.comm.free instead of just
mpi.close.Rslaves? For me, for instance, the following works reliably:

library(Rmpi)
mpi.spawn.Rslaves(nslaves = 1)
mpi.close.Rslaves()
mpi.spawn.Rslaves(nslaves = 4)


Best,

R.
On Tue, Dec 29, 2009 at 3:37 PM, Allan Strand <stranda at cofc.edu> wrote: