...
cmake options | doc | default | ECMWF Scpecific |
---|---|---|---|
CMAKE_INSTALL_PREFIX | where you want to install your Magics library | /usr/local | |
CMAKE_BUILD_TYPE | to select the type of compilation:
| ? | Debug |
CMAKE_CXX_FLAGS | More flags for the C++ compiler | ||
ENABLE_GRIB | enable grib support | autoon | on |
GRIB_API_PATH | where to find grib-api ( if non-standard installation ) | /usr/local/lib/metaps/lib/grib_api/1.11.0 | |
ENABLE_NETCDF | enable netcdf support ( if non-standard installation ) | onauto | on |
NETCDF_PATH | where to find netcdf | ||
ENABLE_ODB | enable odb support | off | off |
ODB_API_PATH | where 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 . | off | off |
BUFR_LIB | Where to find emos lib librariesl ( if non-standard installation ) | ||
ENABLE_PYTHON | enable python interface | auto | on |
ENABLE_FORTRAN | enable fortran interface | on | on |
ENABLE_METVIEW | enable metview support(and Qt support) | off | off |
ENABLE_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 |
...
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
...