Displaying 1 result from an estimated 1 matches for "dompicluster".
2015 May 25
0
foreach hangs when using doMPI on Windows with Microsoft MPI
...ading required package: foreach
Loading required package: iterators
> library(foreach)
>
> cl <- startMPIcluster()
> print(cl)
$comm
[1] 0
$workerCount
[1] 2
$workerid
[1] 0
$verbose
[1] FALSE
$mtag
[1] 10
$wtag
[1] 11
attr(,"class")
[1] "mpicluster" "dompicluster"
> registerDoMPI(cl)
>
> mpi.remote.exec(paste(Sys.info()[['nodename']], Sys.getpid(), mpi.comm.rank(),
"of", mpi.comm.size()))
$slave1
[1] "DTELLER-DV7 1116 1 of 3"
$slave2
[1] "DTELLER-DV7 9436 2 of 3"
>
> ni <- foreach(i=1:10) %dopa...