add Rmpi to snow example

This commit is contained in:
glmdev 2019-05-02 11:21:05 -05:00
parent 0b9fc2ab1c
commit a0d1602033

View File

@ -14,7 +14,7 @@ p <- rnorm(123, m = 33)
## Sub script asks for 18 cores, here cluster must
## be one smaller
CLUSTERSIZE <- mpi.universe.size()-1
CLUSTERSIZE <- Rmpi::mpi.universe.size()-1
cl <- makeCluster(CLUSTERSIZE, type = "MPI")