Parallelization setup for parallelMap.
Defines the underlying parallelization mode for parallelMap()
. Also allows
to set a “level” of parallelization. Only calls to parallelMap()
with a matching level are parallelized. The defaults of all settings are
taken from your options, which you can also define in your R profile. For an
introductory tutorial and information on the options configuration, please go
to the project's github page at https://github.com/mlr-org/parallelMap.
parallelStart( mode, cpus, socket.hosts, bj.resources = list(), bt.resources = list(), logging, storagedir, level, load.balancing = FALSE, show.info, suppress.local.errors = FALSE, reproducible, ... ) parallelStartLocal(show.info, suppress.local.errors = FALSE, ...) parallelStartMulticore( cpus, logging, storagedir, level, load.balancing = FALSE, show.info, reproducible, ... ) parallelStartSocket( cpus, socket.hosts, logging, storagedir, level, load.balancing = FALSE, show.info, reproducible, ... ) parallelStartMPI( cpus, logging, storagedir, level, load.balancing = FALSE, show.info, reproducible, ... ) parallelStartBatchJobs( bj.resources = list(), logging, storagedir, level, show.info, ... ) parallelStartBatchtools( bt.resources = list(), logging, storagedir, level, show.info, ... )
mode |
( |
cpus |
( |
socket.hosts |
character |
bj.resources |
list |
bt.resources |
list |
logging |
( |
storagedir |
( |
level |
( |
load.balancing |
( |
show.info |
( |
suppress.local.errors |
( |
reproducible |
( |
... |
(any) |
Currently the following modes are supported, which internally dispatch the mapping operation to functions from different parallelization packages:
No parallelization with mapply()
.
Multicore execution on a single machine with parallel::mclapply()
.
Snow MPI cluster on one or multiple machines with parallel::makeCluster()
and parallel::clusterMap()
.
Parallelization on batch queuing HPC clusters, e.g., Torque, SLURM, etc., with BatchJobs::batchMap()
.
For BatchJobs mode you need to define a storage directory through the
argument storagedir
or the option parallelMap.default.storagedir
.
Nothing.
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.