Skip to content

Do I have to build GOTM and 0d drivers separately before building fabm? #37

Answered by jornbr
tongyaopu asked this question in Q&A
Discussion options

You must be logged in to vote

It will depend on what you need. This compiles and install pyfabm, which you need if you want to use FABM from Python:

# >>>> build and install python driver >>>>
mkdir -p ~/build/python-fabm
cd ~/build/python-fabm
cmake $FABMDIR/src/drivers/python
make install

This compiles and installs the 1D GOTM water column model, with FABM integrated:

# >>>> build and install GOTM >>>>
mkdir -p ~/build/GOTM && cd ~/build/GOTM
cmake ~/src/gotm6 -DCMAKE_Fortran_COMPILER=$compiler
make install

And this compiles and installs the 0d FABM box model:

# >>>> build and install FABM-0d >>>>
mkdir -p ~/build/fabm-0d && cd ~/build/fabm-0d
cmake $FABMDIR/src/drivers/0d -DGOTM_BASE=~/src/GOTM6 -DCMAKE_Fortran_C…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by tongyaopu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants