...
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.
- CMake
NetCDF library with C++ interface (http://www.unidata.ucar.edu/software/netcdf/)
Expat XML parser
- Perl XML-Parser (most of the time it comes with Perl, but if not: XML-Parser)
GhostScript (especially the fonts!)
Boost C++ library (http://www.boost.org )
- Proj4 projection library (http://trac.osgeo.org/proj/)
- SWIG to build the Python interface
...
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 options | doc | default | ECMWF |
---|---|---|---|
WITH_GRIB | enable grib support | on | on |
GRIB_API_PATH | where to find grib-api | /usr/local/lib/metaps/lib/grib_api/1.11.0 | |
WITH_NETCDF | enable netcdf support | on | on |
NETCDF_PATH | where to find netcdf | ||
WITH_ODB | enable odb support | off | off |
ODB_API_PATH | where to find odb | /usr/local/apps/odb_api/0.9.28 | |
WITH_BUFR | enable bufr support | off | off (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_PYTHON | enable python support | on | on |
WITH_FORTRAN | enable fortran support | on | on |
WITH_METVIEW | enable metview support(and Qt support) | off | off |
WITH_CAIRO | enable cairo support | on | on |
BOOST_ROOT | where to find boost ( if non-standard installation | /usr/local/apps/boost/1.50.0 ( for the worksation) | |
PROJ4_PATH | where to find proj4 ( if non-standard installation | /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:
| ? | Debug |
CMAKE_CXX_FLAGS | |||
CMAKE_CXX |
...