setupClusters: Setup Clusters

View source: R/setupClusters.R

setupClustersR 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


swfscMisc documentation built on Sept. 8, 2023, 5:55 p.m.