This provides additinoal command line arguments when running the model
xargs_apsimx(
verbose = FALSE,
csv = FALSE,
merge.db.files = FALSE,
list.simulations = FALSE,
list.referenced.filenames = FALSE,
single.threaded = FALSE,
cpu.count = -1L,
simulation.names = FALSE,
dotnet = FALSE,
mono = FALSE,
exe.path = NA
)
it returns a character vector with the extra arguments.
Write detailed messages to stdout when a simulation starts/finishes.
Export all reports to .csv files.
Merge multiple .db files into a single .db file.
List simulation names without running them.
List all files that are referenced by an .apsimx file(s).
Run all simulations sequentially on a single thread.
(Default: -1) Maximum number of threads/processes to spawn for running simulations.
Only run simulations if their names match this regular expression.
Logical. There is a global option for this argument, but this will override it. This can be useful if the goal is to compare an old version of Next Gen (before Sept 2021) with a more recent version in the same script. This might be needed if you have your own compiled version of APSIM Next Gen.
Logical. Should be set to TRUE if running a version of APSIM Next Gen from Aug 2021 or older on Mac or Linux.
executable path. This can be useful for having both a global option through ‘apsimx.options’ and a local option that will override that. This option will take precedence.
Extra arguments for running APSIM-X