ecmwf-ifs / fiat

The Fortran IFS and Arpege Toolkit
Apache License 2.0
7 stars 19 forks source link

FIAT


The Fortran IFS and Arpege Toolkit

Introduction

FIAT is a collection of selected Fortran utility libraries, extracted from the IFS/Arpege model.

License

FIAT is distributed under the Apache License Version 2.0. See LICENSE file for details.

Installing FIAT

Supported Platforms

Other UNIX-like operating systems may work too out of the box.

Requirements

Further optional dependencies:

Building FIAT

Environment variables

$ export ecbuild_ROOT=<path-to-ecbuild>
$ export MPI_HOME=<path-to-MPI>
$ export fckit_ROOT=<path-to-fckit>
$ export CC=<path-to-C-compiler>
$ export FC=<path-to-Fortran-compiler>
$ export CXX=<path-to-C++-compiler> 

You must compile FIAT out-of-source, so create a build-directory

$ mkdir build && cd build

Configuration of the build happens through standard CMake

$ cmake ..

Extra options can be added to the cmake command to control the build:

More options to control compilation flags, only when defaults are not sufficient

Once this has finished successfully, run make and make install.

Optionally, tests can be run to check succesful compilation, when the feature TESTS is enabled (-DENABLE_TESTS=ON, default ON)

$ ctest

Reporting Bugs

TODO

Contributing

TODO