Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Warning
titleEmoslib now builts builds with ecCodes

With version 4.4.5, Emoslib is being built by default with ecCodes instead of GRIB-API for GRIB handling. To build EMOSLIB with GRIB_API, please set -DENABLE_ECCODES=OFF. See November synchronised release news item for more information. 

...

 

Compilers
Chttp://gcc.gnu.org/ 
Fortranhttp://gcc.gnu.org/fortran/ 
Utilities

make

http://www.gnu.org/software/make/ 
cmakehttp://www.cmake.org/version 2.8.11 minimum
ECMWF libraries

ecCodes

alternative:

grib-api

 

ecCodes Home

 

GRIB-API Home (Requires > 1.14)

 

for GRIB 1 & 2 support

Third-party libraries
FFTWhttp://www.fftw.org

If you install from Debian / RPM binary packages, please ensure to install development packages!

Please also note that shared libraries are used to link by default. This means they need to be accessible at runtime. If you prefer to use static libraries you need to specific -DFFTW_USE_STATIC_LIBS=ON with your Emoslib cmake call.

If you build your own FFTW, please make sure also to build the single precision version of FFTW! This means you need to build twice and you need to add --enable-single to your configure call with FFTW.

 

...

Info
titlePlease note

If you plan to use Emoslib for higher level tools (MAGP, METV, ...) please consider to use the -fPIC option for linking. Also if you use the gfortran compiler please read our blog entry on the quadmath option.

 

After changing into the build Emoslib directory, the user  has to run CMake with his own options. The command gives feedback on what requirements are fulfilled and what software is still required. Table 1 gives an overview of the different options of configure.  The default (without any options) will compile a share library only and install it in /usr/local/.

...