Last data update: 2014.03.03

R: Create and start an MPI cluster
dompiWorkerLoopR Documentation

Create and start an MPI cluster

Description

The dompiWorkerLoop function is used from a cluster worker to run the worker loop in order to execute worker tasks. This is intended to be used from a doMPI script that is executed in “non-spawn” mode.

Usage

dompiWorkerLoop(cl, cores=1, verbose=FALSE)

Arguments

cl

a dompicluster object created with startMPIcluster.

cores

Maximum number of cores for workers to use. Defaults to 1.

verbose

Indicates if verbose messages should be enabled. Defaults to FALSE.

Examples

## Not run: 
cl <- openMPIcluster()
dompiWorkerLoop(cl)

## End(Not run)

Results