Developers: installation from source

Obtaining source code

To get the ERSEM and FABM source codes:

git clone https://github.com/pmlmodelling/ersem.git
git clone https://github.com/fabm-model/fabm.git

This locally creates ersem and fabm directories with source code.

For water column models, you will need the GOTM source code:

git clone --recurse-submodules https://github.com/gotm-model/code.git gotm

To build the code, you will need: * a recent Fortran compiler * cmake 3.0 or higher. First check whether you have that installed: run cmake --version on the command line.

Note

It is not necessary to use pip or apt to install dependences. We suggest that conda or brew would also work well.