Foreach Parallel Adaptor for the Rmpi Package

Provides a parallel backend for the %dopar% function using the Rmpi package.


NEWS/ChangeLog for doMPI

0.2.2 2017-5-1 o added startMPIcluster "defaultopts" option

0.2.1 2014-11-25 o fixed "R CMD check" warnings reported by Kurt Hornik

0.2 2013-6-13 o require R 2.14.0 or newer o added setRngDoMPI function o added backend-specific "seed" option for reproducible results o added compiler support and "nocompile" option to disable it o added two new examples to demonstrate "cluster exporting" o switched from multicore to parallel package o improved variable exporting support o fixed error handling when calling combine function o removed nws support o fixed bugs in pi2.R and initEnvir.R examples

0.1-5 2010-8-9 o fixed "R CMD check" warning reported by Kurt Hornik

0.1-4 2010-1-14 o add backend-specific "initEnvirMaster" option o added randomForest example and benchmark o fixed build problem caused by use of randomForst in vignette o fixed use of "/dev/null" for better Windows support o loaded multicore in non-spawn mode as it is in spawn mode

0.1-3 2009-12-07 o modified exception handling in the worker loop to be more efficient o renamed workerLoop to dompiWorkerLoop to avoid conflict with nws o added mtag and wtag arguments to startMPIcluster and openMPIcluster o added a README file to acknowledge people and packages

0.1-2 2009-12-04 o rewrote MPI broadcast support to be more efficient o added backend-specific "forcePiggyback" and "bcastThreshold" options o added support for executing doMPI scripts in non-spawn mode o added support for multiple cluster objects by adding "comm" and "intercomm" arguments to startMPIcluster o modified benchmarks to take command line arguments using getopt o modified benchmarks and examples to run in non-spawn mode

0.1-1 2009-11-20 o added sanity checks on the way the program is executed o added backend-specific "profile" option o added "bcast" argument to startMPIcluster o added "logdir" argument to startMPIcluster and startNWScluster o use of mclapply controlled via "maxcores" argument o multicore and nws are now suggested rather than required o new examples and a demo

0.1 2009-10-31 o project created on r-forge

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


0.2.2 by Steve Weston, 4 years ago

Browse source code at

Authors: Steve Weston [cre, aut, cph]

Documentation:   PDF Manual  

Task views: High-Performance and Parallel Computing with R

GPL-2 license

Imports parallel, compiler, utils

Depends on foreach, iterators, Rmpi

Suggests randomForest, itertools

Suggested by BVSNLP, NMF, SimDesign, batchtools, doRNG.

Enhanced by gapfill.

See at CRAN