Versions Compared

Key

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

...

Compilers
C++http://gcc.gnu.org/ 
Fortranhttp://gcc.gnu.org/fortran/If fortran or bufr support needed
Utilities

make

http://www.gnu.org/software/make/ 
cmakehttp://www.cmake.org/version 2.8.4 minimum
Python Support
swighttp://www.swig.org/to generate the python interface
pythonhttp://www.python.org/ 
python-numpyhttp://www.numpy.org/ 
Third party libraries
projhttp://trac.osgeo.org/proj/Proj4 to handle projections
boosthttp://www.boost.org/ (Requires 1.5)used for coastlines
netcdfhttp://www.unidata.ucar.edu/software/netcdf/if netcdf support neeed
pangohttp://www.pango.org/if png/jpeg support needed
Ecmwf libraries
grib-apiGRIB-API Home (Requires 1.9)if grib support needed
odb-apiODB-API Homeif odb support needed
emoslib if bufr support needed

...

cmake optionsdocdefaultECMWF Scpecific
CMAKE_INSTALL_PREFIX.where 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 supportautoon
GRIB_API_PATHwhere to find grib-api /usr/local/lib/metaps/lib/grib_api/1.11.0
ENABLE_NETCDFenable netcdf supportautoon
NETCDF_PATHwhere to find netcdf  
ENABLE_ODBenable odb supportoffoff
ODB_API_PATHwhere to find odb 

/usr/local/apps/odb_api/0.9.28

ENABLE_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   
ENABLE_PYTHONenable python interfaceautoon
ENABLE_FORTRANenable fortran interfaceonon
ENABLE_METVIEWenable metview support(and Qt support)off

off

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

...