Shared by the fit and the profile of a ledger fit (profileLedgerFit()), which evaluates the same objective (emulatorObjectiveArgs() of these) on a cluster built from the same cores.

spreadFitDEArgs(sim, covs, runName, diagnostics = TRUE)

Arguments

sim

a simList.

covs

the covariates as integers x 1000 (mod$covsX1000, or a subset of its years).

runName

character; labels the run and its cache entry. Also names the fit's progress file, DEoptimProgress_<runName>.csv in the module's output folder.

diagnostics

logical; FALSE skips the profile and the simulations.

Value

a named list; cores is the cluster the fit asks for.