This tool chooses the type of parallelization process to use based on the computer OS being used. For windows the default is "snow" and for Linux-like systems the default is "multicore"
start_parallel(
parallel = TRUE,
num_cores = NULL,
parallel_type = NULL,
seed = NULL,
dlls = NULL,
mrgsolve_model = NULL,
...
)
An atomic vector (TRUE or FALSE) with two attributes: "type" and "cores".
Should the parallel functionality start up?
How many cores to use. Default is
parallel::detectCores()
. See detectCores
for more information.
Which type of parallelization should be used? Can be "snow" or "multicore". "snow" works on Linux-like systems & Windows. "multicore" works only on Linux-like systems. By default this is chosen for you depending on your operating system.
The random seed to use.
If the computations require compiled code (DLL's) and you are
using the "snow" method then you need to specify the name of the DLL's without
the extension as a text vector c("this_file","that_file")
.
If the computations require a mrgsolve model and you
are using the "snow" method" then you need to specify the name of the model
object created by mread
or mcode
Arguments passed to makeCluster