Vincent Boucher
2018-07-11 20:31:33 UTC
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]]
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]]