runparallelNUCOM {NUCOMBog} | R Documentation |
Run parallel NUCOM
Description
Code to run NUCOMBog parallel on multiple cores.
Usage
runparallelNUCOM(setup, clustertype, numCores = 1, parameters)
Arguments
setup |
The setup needs to be made before by running the setup_NUCOM function. |
clustertype |
Clustertype: The model has only been tested on SOCK cluster, which is the set to default. |
numCores |
Number of Cores on which are model needs to be run (NOTE: Non-parallel runs can only be run on 1 core). Default is 1. |
parameters |
The parameters which are used in the model. If no parameter values are given the default values will be used. The parameters have to have the format of a dataframe with colum names: "names" and "values". The default parameters are from Heijmans et al. 2008. |
Author(s)
JWM Pullens
Source
The executable and the source code of the model can downloaded from https://github.com/jeroenpullens/NUCOMBog.
References
Heijmans, M., Mauquoy, D., van Geel, B., and Berendse, F. (2008). Long-term effects of climate change on vegetation and carbon dynamics in peat bogs. Journal of Vegetation Science, 19(3)
Examples
## Not run:
!!the variable "test_setup" is from the function setupNUCOM, see the help for more information!!
parallel<-runparallelNUCOM(setup = test_setup,
clustertype = "SOCK",
numCores = 1,
parameters=initialParameters)
## End(Not run)