Project

General

Profile

CDO 1.6.5 Installation

Added by Kostas S over 9 years ago

Hi,
I'm trying to install the new version of cdo 1.6.5, but I got an error. The libraries version that I used are:

cdo -V (of 1.6.4 ver)

Climate Data Operators version 1.6.4 (http://code.zmaw.de/projects/cdo)
Compiled: by kostas on diogenis(x86_64-unknown-linux-gnu) Aug 2 2014 00:31:12
Compiler: gcc -std=gnu99 -fopenmp
version: gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-4)
Features: PTHREADS OpenMP NC4 OPeNDAP SZ Z JASPER UDUNITS2 PROJ.4 XML2 MAGICS
Libraries: proj/4.8 xml2/2.7.6
Filetypes: srv ext ieg grb grb2 nc nc2 nc4 nc4c
CDI library version : 1.6.4 of Aug 2 2014 00:31:05
CGRIBEX library version : 1.6.4 of Jun 27 2014 14:00:04
GRIB_API library version : 1.11.0
netCDF library version : 4.3.0 of Dec 2 2013 23:36:00 $
HDF5 library version : 1.8.12
SERVICE library version : 1.3.2 of Aug 2 2014 00:31:00
EXTRA library version : 1.3.2 of Aug 2 2014 00:30:58
IEG library version : 1.3.2 of Aug 2 2014 00:30:59
FILE library version : 1.8.2 of Aug 2 2014 00:30:58

The error I got at making is:

mv -f .deps/cdo-Enlargegrid.Tpo .deps/cdo-Enlargegrid.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../libcdi/src -I/usr/include/libxml2 -I/usr/local/include/magics -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -fopenmp -MT cdo-Ensstat.o -MD -MP -MF .deps/cdo-Ensstat.Tpo -c -o cdo-Ensstat.o `test -f 'Ensstat.c' || echo './'`Ensstat.c
Ensstat.c: In function \u2018Ensstat\u2019:
Ensstat.c:217: error: expected end of line before \u2018update\u2019
make [2] : * [cdo-Ensstat.o] Error 1
make [2]: Leaving directory `/home/HYDROMECH/kostas/Desktop/cdo/cdo-1.6.5/src'
make [1]:
[all] Error 2
make [1] : Leaving directory `/home/HYDROMECH/kostas/Desktop/cdo/cdo-1.6.5/src'
make: *
* [all-recursive] Error 1

Do you have any suggestion?

Thanks in advance

config.log (92.9 KB) config.log configuration log file

Replies (2)

RE: CDO 1.6.5 Installation - Added by Uwe Schulzweida over 9 years ago

Thanks for the information! I added a new OPENMP4 feature which is only available with gcc version 4.9 or higher. This was not intended. I have removed the new feature and updated the new CDO version.

Cheers,
Uwe

RE: CDO 1.6.5 Installation - Added by Kostas S over 9 years ago

Thanks for your response. After the change you made, ver 1.6.5 was successfully installed :)

    (1-2/2)