Learn R Programming

Haplin (version 7.3.2)

initParallelRun: Initialization of the Rmpi cluster

Description

This function prepares a cluster using Rmpi package. The initialization is paired with closing of the cluster using the finishParallelRun function.

Usage

initParallelRun(cpus)

Arguments

cpus

Number of cores to use (optional). If given, only that number of CPUs will be used. By default (if not set), the Rmpi will check how many CPUs are available in the system and take the maximum number.