2013-03-25 12:04:10 +00:00
|
|
|
|
2015-02-20 18:24:13 +00:00
|
|
|
The ecCodes installation is based on the standard configure utility.
|
2014-11-17 16:09:50 +00:00
|
|
|
It is tested on several platforms and with several compilers. However for some platforms
|
|
|
|
modifications to the installation engine may be required. If you encounter any problem
|
|
|
|
during the installation procedure please send an e-mail with your problem to
|
|
|
|
Software.Support@ecmwf.int.
|
2013-03-25 12:04:10 +00:00
|
|
|
|
2014-11-17 16:09:50 +00:00
|
|
|
The only required package for a standard installation is jasper which enables the jpeg2000
|
|
|
|
packing/unpacking algorithm.
|
2015-02-20 18:24:13 +00:00
|
|
|
It is possible to build ecCodes without jasper, by using the --disable-jpeg configure option,
|
2014-11-17 16:09:50 +00:00
|
|
|
but to install a fully functional library, its download is recommended.
|
2013-03-25 12:04:10 +00:00
|
|
|
|
|
|
|
|
2014-11-17 16:09:50 +00:00
|
|
|
Standard Installation
|
2013-03-25 12:04:10 +00:00
|
|
|
=====================
|
|
|
|
|
2015-02-20 18:24:13 +00:00
|
|
|
1. Download eccodes from https://software.ecmwf.int/wiki/display/ECC/Releases.
|
2014-11-17 16:09:50 +00:00
|
|
|
2. Unpack distribution:
|
2013-03-25 12:04:10 +00:00
|
|
|
|
2015-03-06 17:44:10 +00:00
|
|
|
> tar xzf eccodes-X.tar.gz
|
2013-03-25 12:04:10 +00:00
|
|
|
|
2015-03-06 17:44:10 +00:00
|
|
|
3. Create a separate directory where to build eccodes
|
2013-03-25 12:04:10 +00:00
|
|
|
|
2015-03-06 17:44:10 +00:00
|
|
|
> mkdir build ; cd build
|
2013-03-25 12:04:10 +00:00
|
|
|
|
2015-03-06 17:44:10 +00:00
|
|
|
4. Run cmake
|
2013-03-25 12:04:10 +00:00
|
|
|
|
2015-03-06 17:44:10 +00:00
|
|
|
> cmake ../eccodes-X -DCMAKE_INSTALL_PREFIX=/path/to/where/you/install/eccodes
|
2013-03-25 12:04:10 +00:00
|
|
|
|
2014-11-17 16:09:50 +00:00
|
|
|
5. make, check and install
|
2013-03-25 12:04:10 +00:00
|
|
|
|
2014-11-17 16:09:50 +00:00
|
|
|
> make
|
|
|
|
...
|
|
|
|
> make check
|
|
|
|
...
|
|
|
|
> make install
|
|
|
|
...
|
2013-03-25 12:04:10 +00:00
|
|
|
|
2015-03-06 17:44:10 +00:00
|
|
|
For further details, see: https://software.ecmwf.int/wiki/display/ECC/ecCodes+installation
|