Message-ID: <CALQm=Pz4c=jgu92gMrTLJ9fQs-Mnoq7cTk2JeMY+a5ExmersOQ@mail.gmail.com>
Date: 2018-07-11T20:31:33Z
From: Vincent Boucher
Subject: Rmpi and mpirun
Hi,
I'm running into an issue using Rmpi with Open MPI on a beowulf cluster.
The installation of the package went without any issue. I have done the
following:
'mpirun -n 1 --hostfile hostfile.txt R --interactive'
then, 'library(Rmpi)
when I do 'ns <- mpi.universe.size()' I get ns=12, which is what it is
supposed to be. However, 'mpi.spawn.Rslaves(nslaves=ns)' fails and I get
the "not enough slots available..." message.
It looks like when R opens, the nodes are already up and running (due to
the mpirun) so mpi.spawn fails... I've tried to launch R directly (without
mpirun) but then, I only get 1 node...
Am I missing something?
many thanks
Vincent
[[alternative HTML version deleted]]