make_lpjml | R Documentation |
Compiles the LPJmL source code and creates an executable by executing "make all" on the operating system shell.
make_lpjml(
model_path = ".",
parallel_cores = NULL,
make_clean = FALSE,
raise_error = TRUE,
debug = NULL
)
model_path |
Character string providing the path to LPJmL
(equal to |
parallel_cores |
Numeric defining the number of available CPU cores for parallelization. |
make_clean |
Logical. If set to |
raise_error |
Logical. Whether to raise an error if sub-process has
non-zero exit status, hence if compilation fails. Defaults to |
debug |
NULL or Logical. Whether to compile LPJmL with "-debug" flag.
Defaults to |
A list with process status, see run.
## Not run:
model_path <- "./LPJmL_internal"
make_lpjml(model_path = model_path)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.