...
As configure, CMake will run some tests on the user's system to find out if required third-party software libraries are available and notes their locations (paths). Based on this information it will produces the Makefiles needed to compile and install Emoslib.
Requirements
Compilers | |||
---|---|---|---|
C | http://gcc.gnu.org/ | ||
Fortran | http://gcc.gnu.org/fortran/ | ||
Utilities | |||
make | http://www.gnu.org/software/make/ | ||
cmake | http://www.cmake.org/ | version 2.8.4 11 minimum | |
ECMWF libraries | |||
grib-api or (from Emoslib 4.4.2 onwards) ecCodes | GRIB-API Home (Requires > 1. 9)14)
|
for GRIB support | |
Third-party libraries | |||
FFTW | http://www.fftw.org | If you install from Debian/RPM binary packages, please ensure to install development packages! |
Compilation environment
At ECMWF, SLES11 & OpenSuSE 11.3/13.1 Linux systems (64bit) were used for testing.
...
CMAKE_INSTALL_PREFIX | where you want to install your Emoslib library | /usr/local |
CMAKE_BUILD_TYPE | to select the type of compilation:
| RelWithDebInfo |
GRIB_API_PATH | where to find grib-api ( if non-standard installation ) | |
ENABLE_FFTW | Option to link FFTW, REQUIRED for Octahedral Gaussian grid | ON |
ENABLE_SINGLE_PRECISION | enable single precision version of library (Caution for BUFR handling and interpolation!) | OFF |
ENABLE_FORTRAN90 | enable tools which need Fortran 90 (only required for FC=pgf77) | ON |
ENABLE_INSTALL_TABLES | enable the installations of BUFR/GRIBex tables and LSM | ON |
cmake options | doc | default |
---|
...