Versions Compared

Key

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

...

After changing into the build Magics directory, the user  has to run CMake with his/her own options. The command gives feedback on what requirements are fulfilled and what software is still required. Table below 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/.

on
cmake optionsdocdefaultECMWF Scpecific
CMAKE_INSTALL_PREFIXwhere you want to install your Magics library /usr/local 
CMAKE_BUILD_TYPE

to select the type of compilation:

  • Debug
  • RelWithDebInfo
  • Release
  • Production
?Debug
CMAKE_CXX_FLAGS More flags  for the C++ compiler  

ENABLE_GRIB

enable grib supporton
GRIB_API_PATHwhere to find grib-api ( if non-standard installation  )  
ENABLE_NETCDFenable netcdf support ( if non-standard installation  )onon
NETCDFNETCDF4_PATHwhere to find netcdfnetcdf  ( if non-standard installation  )  
ENABLE_ODBenable odb supportoffoff
ODB_API_PATHwhere to find odb ( if non-standard installation  )  
ENABLE_BUFR

enable bufr support

The bufr support is done through emoslib .

offoff
BUFR_LIBWhere to find emos lib l lib  ( if non-standard installation  )  
ENABLE_PYTHONenable python interfaceautoon
ENABLE_FORTRANenable fortran interfaceonon
ENABLE_METVIEWenable metview support(and Qt support)offoff
ENABLE_CAIROenable cairo supportonon
BOOST_ROOTwhere to find boost ( if non-standard installation  ) /usr/local/apps/boost/1.50.0 ( for the worksation)
PROJ4_PATHwhere to find proj4 ( if non-standard installation  ) /usr/local/apps/proj4/4.8.0/LP64

If auto, CMake will try to enable the feature, but will not fail if it can not.

...