Software
Required packages
The minimum requirements for GETM are make, a Fortran compiler and a netcdf library for Fortran90. In addition, git, cmake and an MPI library are strongly suggested. On Debian10 the following command provides the required packages:
sudo apt-get install git cmake gfortran libnetcdff-dev libopenmpi-dev
Download
- export GOTMDIR=$HOME/tools/gotm/code
- git clone --recurse-submodules https://github.com/gotm-model/code.git $GOTMDIR
- export GETMDIR=$HOME/tools/getm/code
- git clone https://git.code.sf.net/p/getm/code $GETMDIR
- git clone https://git.code.sf.net/p/getm/getm-setups $GETMDIR/../setups
Installation
- make cmake in one of the test cases in $GETMDIR/../setups
Tools
Netcdf file inspection (ncdump, ncview)
- sudo apt-get install netcdf-bin ncview
Editscenario for namelist generation (make namelist in setups)
- sudo apt-get install python3-pip python3-matplotlib
- pip3 install gotmgui editscenario
- ### add $HOME/.local/bin to your PATH
Pyncview
- sudo apt-get install python3-netcdf4 python3-pyqt5
- pip3 install pyncview
GETM-utils (subdomain division, ...)
- git clone https://git.code.sf.net/p/getm-utils/git $GETMDIR/../utils