initParallelRun: Initialization of the Rmpi cluster

View source: R/initParallelRun.R

initParallelRunR Documentation

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.


Haplin documentation built on Sept. 11, 2024, 7:13 p.m.