Starts a cluster and sets up TMLE and SuperLearner to use the cluster so that TMLE is conducted in parallel rather than using only one core.
setup_parallel_tmle(
parallel = "multicore",
max_cores = NULL,
allow_multinode = TRUE,
env = .GlobalEnv
)
"multicore", "doParallel", or "doSNOW"
Restrict how many many cores will be used on a machine, rather than using all available cores. Useful if each core needs to use a substantial amount of memory.
If T, will create a multinode cluster if it finds multiple machines listed in the "SLURM_NODELIST" environmental variable. If F, it will only use the current node even if multiple nodes are detected.
Environment in which to save the functions, defaulting to the global environment. Set to NULL to disable.
parallelize, tmle_parallel, gen_superlearner