1 | ################################ |
---|
2 | FAQ - Frequently asked questions |
---|
3 | ################################ |
---|
4 | |
---|
5 | .. contents:: |
---|
6 | :local: |
---|
7 | |
---|
8 | |
---|
9 | |
---|
10 | What can I do if I can't install the third-party libraries from distribution packages? |
---|
11 | ====================================================================================== |
---|
12 | |
---|
13 | This can be the case if the user does not have admin rights and the sysadmins would not want to provide the libraries. |
---|
14 | In this case, a workaround is to install the necessary libraries from source into a user directory, following these steps: |
---|
15 | |
---|
16 | Steps to install libraries from source: |
---|
17 | 1. `Read Emoslib installation instructions <https://software.ecmwf.int/wiki/display/EMOS/Emoslib>`_ |
---|
18 | 2. `Read ECMWF blog about gfortran <https://software.ecmwf.int/wiki/display/SUP/2015/05/11/Building+ECMWF+software+with+gfortran>`_ |
---|
19 | 3. `Install FFTW <http://www.fftw.org>`_ |
---|
20 | 4. `Install EMOSLIB <https://software.ecmwf.int/wiki/display/EMOS/Emoslib>`_ (execute ``make`` two times! One time without any options, and another time with the single-precision option.) |
---|
21 | 5. `Install ECCODES <https://software.ecmwf.int/wiki/display/ECC>`_ |
---|
22 | 6. Register for MARS access (:ref:`ref-registration`) |
---|
23 | 7. Install Web API's `CDS API <https://cds.climate.copernicus.eu/api-how-to>`_ and `ECMWF Web API <https://confluence.ecmwf.int/display/WEBAPI/ECMWF+Web+API+Home>`_ |
---|
24 | 8. Check whether LD_LIBRARY_PATH environment variable contains the paths to all the libs |
---|
25 | 9. Check available Python packages (e.g. ``import eccodes`` / ``import grib_api`` / ``import ecmwfapi``) |
---|
26 | 10. Start test retrieval (:ref:`ref-test-local`) |
---|
27 | 11. Install ``flex_extract`` (:doc:`../installation`) |
---|
28 | |
---|
29 | .. caution:: |
---|
30 | - use the same compiler and compiler version all the time |
---|
31 | - don't forget to set all Library paths in the LD_LIBRARY_PATH environment variable |
---|
32 | - adapt the ``flex_extract`` makefile |
---|
33 | |
---|
34 | |
---|
35 | .. toctree:: |
---|
36 | :hidden: |
---|
37 | :maxdepth: 2 |
---|