Versions Compared

Key

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

...

Requirements

Third-party software

 

 

The following list of software should be installed on your system before you try to install Magics. If you use a package manager, such as RPM, to install software make sure to include the corresponding development packages with the header files. The configure script will test for these libraries and give error messages if one of them is missing.

  1. CMake
  2. NetCDF library with C++ interface (http://www.unidata.ucar.edu/software/netcdf/)

  3. Expat XML parser

  4. Perl XML-Parser (most of the time it comes with Perl, but if not: XML-Parser)
  5. GhostScript (especially the fonts!)

  6. Boost C++ library (http://www.boost.org )

  7. Proj4 projection library (http://trac.osgeo.org/proj/)
  8. SWIG to build the Python interface

...

  1. Cairo graphics library (1.4.10 or later - www.cairographics.org)gd library (2.0.32 or later - www.libgd.org )

     

ECMWF support libraries

To read GRIB and BUFR data formats these two libraries, provided by ECMWF without charge, need to be installed on your system before Magics is installed:

...

cmake optionsdocdefaultECMWF

WITH_GRIB

enable grib supportonon
GRIB_API_PATHwhere to find grib-api /usr/local/lib/metaps/lib/grib_api/1.11.0
WITH_NETCDFenable netcdf supportonon
NETCDF_PATHwhere to find netcdf  
WITH_ODBenable odb supportoffoff
ODB_API_PATHwhere to find odb 

/usr/local/apps/odb_api/0.9.28

WITH_BUFRenable bufr supportoffoff (but if on we have to set  PGI_PATH to /usr/local/apps/pgi/pgi-10.8/linux86-64/10.8/libso)
BUFR_LIB   
WITH_PYTHONenable python supportonon
WITH_FORTRANenable fortran supportonon
WITH_METVIEWenable metview support(and Qt support)off

off

WITH_CAIROenable cairo supportonon
BOOST_ROOTwhere to find boost ( if non-standard installation (wink) ) /usr/local/apps/boost/1.50.0 ( for the worksation)
PROJ4_PATHwhere to find proj4 ( if non-standard installation (wink) ) /usr/local/apps/proj4/4.8.0/LP64
CMAKE_INSTALL_PREFIX.where you want to install your Magics library  
CMAKE_BUILD_TYPE

to select the type of compilation:

    • Production(-O2 -g)
    • Debug (-g)
?Debug
CMAKE_CXX_FLAGS   
CMAKE_CXX   

...