ClusterFunctions for Parallel Multicore Execution
Source:R/clusterFunctionsMulticore.R
makeClusterFunctionsMulticore.RdJobs are spawned asynchronously using the functions mcparallel and mccollect (both in parallel).
Does not work on Windows, use makeClusterFunctionsSocket instead.
Arguments
- ncpus
[
integer(1)]
Number of CPUs. Default is to use all logical cores. The total number of cores "available" can be set via the optionmc.coresand defaults to the heuristic implemented indetectCores.- fs.latency
[
numeric(1)]
Expected maximum latency of the file system, in seconds. Set to a positive number for network file systems like NFS which enables more robust (but also more expensive) mechanisms to access files and directories. Usually safe to set to0to disable the heuristic, e.g. if you are working on a local file system.
See also
Other ClusterFunctions:
makeClusterFunctions(),
makeClusterFunctionsDocker(),
makeClusterFunctionsInteractive(),
makeClusterFunctionsLSF(),
makeClusterFunctionsOpenLava(),
makeClusterFunctionsSGE(),
makeClusterFunctionsSSH(),
makeClusterFunctionsSlurm(),
makeClusterFunctionsSocket(),
makeClusterFunctionsTORQUE()