Obtaining the source code

jornbr edited this page Oct 18, 2016 · 12 revisions

Obtaining the source code

FABM code and test cases are available from the Git repository at GitHub. We recommend you get the code from there with a Git client; that will enable you to stay up to date with the code in the future. Alternatively, you can download the last release of the code as a compressed file from the releases section.

Linux, Mac OS X

On most Linux-like systems (UNIX/Linux/Mac OS X), a Git client is already installed. You can then obtain the FABM source code systems by executing:

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

This will create a new fabm directory in the current working directory, containing among others a subdirectory src with the Fortran source code and a subdirectory testcases with example biogeochemical configuration files.

After you have successfully downloaded the FABM source code, you can at any later time update to its latest version by executing git pull from anywhere within the fabm directory.

Windows

On Windows, a graphical client such as TortoiseGit can be used to obtain the source code from the Git repository. Note that TortoiseGit also requires Git for Windows to be installed.

After Git for Windows and TortoiseGit are installed, you obtain the FABM source code by right-clicking in Windows Explorer within the directory where you want to place the source code directory, and choosing "Git Clone...". In the window that appears, set "URL" to https://github.com/fabm-model/fabm.git, set "Directory" to the path where you want the source code (recommended: <CURRENT_DIRECTORY>\fabm) and click OK. This should download the latest code.

If you have successfully downloaded the FABM source code, you will at any later time be able to update to its latest version by right-clicking the directory with the source code, choosing "Git Sync...", and clicking the "Pull" button.

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.