PCMDI / cmor3_documentation

CMOR3 User Guide
MIT License
0 stars 5 forks source link

Installation Guide Issues #39

Closed ghost closed 5 years ago

ghost commented 7 years ago

Hi, i have every step of your installation guide (using the github source) but i was facing some issues:

**1. i also had to install zlibrary form http://zlib.net/

  1. i also had to install the m4 package (sudo apt-get install m4)
  2. i also had to install python pip (sudo apt-get install python-pip)
  3. using pip i needed to install numpy (sudo pip install numpy)
  4. after compiling all the libraries i tried to import cmor and got following error:* _Traceback (most recent call last): File "", line 1, in File "/usr/local/lib/python2.7/dist-packages/CMOR-3.2-py2.7-linux-x86_64.egg/cmor/init.py", line 7, in from cmor_const import File "/usr/local/lib/python2.7/dist-packages/CMOR-3.2-py2.7-linux-x86_64.egg/cmor/cmor_const.py", line 1, in import cmor ImportError: libnetcdf.so.11: cannot open shared object file: No such file or directory

To solve this issue i had to add the path to die shared lib to LD_LIBRARY_PATH! (in my case: export LD_LIBRARY_PATH=$HOME/build/lib)

maybe this could be mentioned in the installation guide!

Also most links to the dependencies are broken! HDF5: https://www.hdfgroup.org/downloads/hdf5/source-code/ UDUNITS2: ftp://ftp.unidata.ucar.edu/pub/udunits/udunits-2.2.25.tar.gz

i used a Ubuntu 16.04 LTS VM for compiling CMOR

best regards, Florian

doutriaux1 commented 7 years ago

@dnadeau4 we should update these instruction or discontinue non conda support

doutriaux1 commented 5 years ago

documentation now reflects how to obtain correct env for building