-
Notifications
You must be signed in to change notification settings - Fork 51
FABM 2.0
This page describes the upcoming FABM 2.0 release, which is curretnyl available from branch 2.0rc1.
FABM 2.0 is in most respects a minor release, but it includes a few backward-incompatible changes that warrant a new version number. These changes are described here.
FABM 2.0 drops support for older releases (from 5 years or more ago) of cmake, gfortran, and Python. This has enabled simplication and clean-up of the code. More details are available here. The minimum supported versions are:
- cmake 3.12
- gfortran 5.1 (only relevant if you use gfortran; other Fortran compilers are also fine, e.g., Intel, Cray, AMD)
- Python 3.7 (only relevant if you use pyfabm)
pyfabm is now installed using normal Python conventions:
pip install <FABMDIR>
The replaces the old installation mechanism that started that required you to create a build directory, call cmake, and build te "install" target.
Underneath, the pip-based installation still calls cmake. Therefore, you do sill need to have cmake and a Fortran commpiler installed.
If you want to customize cmake options (e.g., to customize FABM_INSTITUTES, or manually specify the Fortran compiler to use), the easiest way to do this is to create a file named setup.cfg in the toplevel FABM directory, with contents
[build_ext]
cmake_opts=<CMAKE-OPTIONS>
For questions about FABM's use or development, visit Discussions. If you would like to cite FABM, please refer to its main publication and/or URLs.
Background
User guide
- Obtaining the source code
- Building and installing
- Setting up a simulation
- Available biogeochemical models
- Specific hosts
Developer guide
Updates
Tips and tricks
Support
How to cite
Licensing and copyright
Acknowledgements
Presentations