setupClusters {swfscMisc}R Documentation

Setup Clusters

Description

Setup parallel clusters for different operating systems.

Usage

setupClusters(num.cores = 1, max.cores = NULL)

Arguments

num.cores

number of cores for multithreading. If NULL, the number used is set to the value of parallel::detectCores() - 1.

max.cores

maximum number of cores to use.

Value

an object of class c("SOCKcluster", "cluster").

Author(s)

Eric Archer eric.archer@noaa.gov


[Package swfscMisc version 1.6.5 Index]