Default values provided to template
When calling submit_slurm_job
several values are passed to the template file to be inserted. This guide summarizes the default information provided to the template. Using default arguments to submit_slurm_job
the following values are provided to the slurm template file:
Variable | Default value |
---|---|
partition | submit_slurm_job argument |
parallel | TRUE if ncpu > 1 , otherwise FALSE |
ncpu | submit_slurm_job argument |
job_name | sprintf("%s-nonmem-run", basename(.mod$absolute_model_path)) |
project_path | here::here() |
project_name | here::here() %>% basename() |
bbi_exe_path | Sys.which("bbi") |
bbi_config_path | getOption("slurmtools.bbi_config_path") |
model_path | .mod$absolute_model_path |
config_toml_path | paste0(.mod$absolute_model_path, ".toml") required for using nmm |
nmm_exe_path | Sys.which("nmm") |