StochTree 0.0.1
|
stochtree
can be built and run as a standalone C++ program directly from source using cmake
:
To clone the repository, you must have git installed, which you can do following these instructions.
Once git is available at the command line, navigate to the folder that will store this project (in bash / zsh, this is done by running cd
followed by the path to the directory). Then, clone the stochtree
repo as a subfolder by running
NOTE: this project incorporates several dependencies as git submodules, which is why the --recursive
flag is necessary (some systems may perform a recursive clone without this flag, but --recursive
ensures this behavior on all platforms). If you have already cloned the repo without the --recursive
flag, you can retrieve the submodules recursively by running git submodule update --init --recursive
in the main repo directory.
The stochtree C++ core consists of thousands of lines of C++ code, but it can organized and understood through several components (see topics for more detail):
stochtree
data layer.stochtree
.