FAQ - Frequently asked questions

What can I do if I can’t install the third-party libraries from distribution packages?

This can be the case if the user does not have admin rights and the sysadmins would not want to provide the libraries. In this case, a workaround is to install the necessary libraries from source into a user directory, following these steps:

Steps to install libraries from source:
  1. Read Emoslib installation instructions
  2. Read ECMWF blog about gfortran
  3. Install FFTW
  4. Install EMOSLIB (execute make two times! One time without any options, and another time with the single-precision option.)
  5. Install ECCODES
  6. Register for MARS access (Registration at ECMWF)
  7. Install Web API’s CDS API and ECMWF Web API
  8. Check whether LD_LIBRARY_PATH environment variable contains the paths to all the libs
  9. Check available Python packages (e.g. import eccodes / import grib_api / import ecmwfapi)
  10. Start test retrieval (Testing the local environment)
  11. Install flex_extract (Installation)

Caution

  • use the same compiler and compiler version all the time
  • don’t forget to set all Library paths in the LD_LIBRARY_PATH environment variable
  • adapt the flex_extract makefile