Description Usage Arguments Author(s) Source References Examples
View source: R/runparallelNUCOM.r
Code to run NUCOMBog parallel on multiple cores.
1 | runparallelNUCOM(setup, clustertype, numCores = 1, parameters)
|
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. |
JWM Pullens
The executable and the source code of the model can downloaded from https://github.com/jeroenpullens/NUCOMBog.
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)
1 2 3 4 5 6 7 8 9 | ## 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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.