Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info
titleMagics is now using ecCodes

From the version 2.30.0 onwards (see November synchronised release), Magics will be built by default use ecCodes with ECC instead of GRIB-API.

Overview

From the 2.22.0 version,   Magics is  using CMake for its compilation and installation. This is a first step towards an homogenisation of the installation procedures for all ECMWF packages. 

...

To make sure that a feature is really enabled, you will have to specify with the option ex: -DENABLE_GRIB=ON. In that case CMake will fail if the grib support can not be enabled. Include PageSUP:Using ecCodes instead of GRIB-APISUP:Using ecCodes instead of GRIB-API

Testing your build

The Magics code contains a directory called test in which, in separate sub-directories, tests for the various interfaces of Magics are provided. Test programs in Fortran, C, Python and MagML are compiled and run if MAGPLUS_HOME=$PWD make check is invoked from the root directory. (Note that the MAGPLUS_HOME needs to be set!)

...