[R-sig-hpc] Rmpi and mpirun

Vincent Boucher vincent@boucher@u @ending from gm@il@com
Wed Jul 11 22:31:33 CEST 2018


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
'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


	[[alternative HTML version deleted]]

More information about the R-sig-hpc mailing list