Installation of GOTM on Linux

You can download the sources from here

Uncompress them and run the following commands from the uncompressed folder:

mkdir build
cd build
cmake .. -DGOTM_USE_NetCDF:BOOL=OFF -DBUILD_SHARED_LIBS=ON
make
make install


If you want to specify where to install the library, use CMake with the following options:

cmake .. -DCMAKE_INSTALL_PREFIX:PATH=<install-path> -DGOTM_USE_NetCDF:BOOL=OFF -DBUILD_SHARED_LIBS=ON


Replace <install-path> with the path where you want to install GOTM.
This folder must be different from the folder where you unpacked the sources.

installation_linux_gotm.txt · Last modified: 2022/11/29 19:29 by b.basic