eccodes/INSTALL

38 lines
1.1 KiB
Plaintext

How to build and install ecCodes library/tools
================================================
Building and installation has been tested on several platforms and with several compilers.
However for some platforms modifications to the installation engine may be required.
If you encounter any problems during the installation procedure please send an e-mail
with your problem to:
Software.Support@ecmwf.int
Installation using CMake
------------------------
This is the recommended method of installation.
However it requires that cmake be installed on your system.
1. Download ecCodes from https://software.ecmwf.int/wiki/display/ECC/Releases
2. Unpack distribution:
> tar -xzf eccodes-x.y.z-Source.tar.gz
3. Create a separate directory where to build ecCodes:
> mkdir build
> cd build
4. Run cmake pointing to the installation location:
> cmake ../eccodes-x.y.z-Source -DCMAKE_INSTALL_PREFIX=/path/to/where/you/install/eccodes
5. make, check and install:
> make
> make check
> make install
For more details, please see:
https://software.ecmwf.int/wiki/display/ECC/ecCodes+installation