Run APSIM with HPC...

Description

Run APSIM with HPC

Usage

1
runAPSIM(..., extra, apsim="../Apsim71/Model/apsim.exe")

Arguments

...

A list contain several simulations, or a list contain sim or RData files, See example for more detailed arguments.

apsim

The relative and absolute path to apsim.exe

extra

A data frame of extra identification for all simulation. Row number must be the same as simulation number

Value

A list contain all simulation results.

Examples

1
2
3
4
5
6
7
8
9
# NO RUN
# Run all sim files
## Not run: files <- list.files( "./simtest", pattern = "(.*)(\.sim$)", full.names = TRUE )
## Not run: runAPSIM( files = files )
# Run Rdata file
## Not run: runAPSIM( files = "test.RData" )
# Set apsim path
## Not run: apsim <- "\"C:/Program Files/Apsim71/Model/apsim.exe\""
## Not run: runAPSIM( files = "test.RData", apsim = apsim )