Skip to content

Installation

Tom Clune edited this page Feb 20, 2019 · 2 revisions

Clone or download source:

Clone

% git clone https://github.com/Goddard-Fortran-Ecosystem/gFTL.git

Or download releases at

releases

Build and install with CMake

The build is very fast - just uses a preprocessor to fill in some meta-templated code to avoid code duplication. It requires m4 and at least version 3.0 of CMake.

The cmake build and install is very vanilla. If the cloned/unzipped distribution is in you then:

% mkdir <build-dir>
% cd <build-dir>
% cmake <top-dir>
% make install

By default the installation will be in <top-dir>/installed, but this can be overridden with -DCMAKE_INSTALL_PREFIX=<install-dir> on the cmake command line.

Clone this wiki locally