Re: [R] doMPI: script hangs on closeCluster

2018-07-03 Thread Loris Bennett
Loris Bennett writes: > Hi, > > On Linux with R 3.5.1 and OpenMPI 2.1.0 I have built Rmpi and can run a > simple example just using Rmpi and printing out the rank of each worker. > > However, when I try to use doMPI by running the following > > library(Rmpi) > library(doMPI) > cl <- startMP

[R] doMPI: script hangs on closeCluster

2018-07-02 Thread Loris Bennett
Hi, On Linux with R 3.5.1 and OpenMPI 2.1.0 I have built Rmpi and can run a simple example just using Rmpi and printing out the rank of each worker. However, when I try to use doMPI by running the following library(Rmpi) library(doMPI) cl <- startMPIcluster(count=2) registerDoMPI(cl) c