Versions Compared

Key

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

...

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 supportautoonon
GRIB_API_PATHwhere to find grib-api ( if non-standard installation  ) /usr/local/lib/metaps/lib/grib_api/1.11.0 
ENABLE_NETCDFenable netcdf support ( if non-standard installation  )onautoon
NETCDF_PATHwhere to find netcdf  
ENABLE_ODBenable odb supportoffoff
ODB_API_PATHwhere to find odb ( if non-standard installation  ) /usr/local/apps/odb_api/0.9.28 
ENABLE_BUFR

enable bufr support

The bufr support os done using emoslib .

offoff
BUFR_LIBWhere to find emos lib librariesl ( if non-standard installation  )  
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

...

If your EmosLib is compiled with Portland’s Pgf90, it requires this library as shared library at run-time. You need to alter your $LD_LIBRARY_PATH variable.

Can I install Magics++ in the same directory as I have installed Magics 6?

Yes, it should be possible. The libraries have different names for configuration files and use different directories (share instead of coast). You might however prefer a clear separation if you start to phase out Magics 6.

How can I change the coastline files?

Coastline files are given in Shape file format. Have a look at the directory share/magics/ in the main Magics directory. The GIS data was taken from http://www.naturalearthdata.com.

...

>cmake –DCMAKE_INSTALL_PREFIX. =/path/to/where/you/install/Magics++-2.22.0

checking build system type... i686-suse-linux

...


> make

> make install

> setenv MAGPLUS_HOME /path/to/where/you/install/Magics++-2.22.0

...