Project

General

Profile

Build with cmor2

Added by Kostas S about 8 years ago

Hi,

I'm trying to build cdo (ver 1.7.2rc2 or 1.7.1) with cmor support but it fails.
I have install cmor2.9.2 with uuid1.6.2 but cdo configuration could not link to cmor2 library.

Without cmor support, building completes successfully.
cdo configuration without cmor:

Climate Data Operators version 1.7.2rc2 (http://mpimet.mpg.de/cdo)
Compiled: by kostas on diogenis.hydromech.tuc.gr (x86_64-unknown-linux-gnu) Apr 20 2016 13:10:29
Compiler: gcc -std=gnu99 -g -O2 -fopenmp
version: gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-16)
Features: DATA PTHREADS OpenMP3 HDF5 NC4/HDF5 OPeNDAP SZ UDUNITS2 PROJ.4 MAGICS CURL FFTW3 SSE2
Libraries: HDF5/1.10.0 proj/4.92 curl/7.19.7
Filetypes: srv ext ieg grb grb2 nc nc2 nc4 nc4c
CDI library version : 1.7.2rc2 of Apr 20 2016 13:09:24
CGRIBEX library version : 1.7.4 of Feb 19 2016 11:03:41
GRIB_API library version : 1.14.7
NetCDF library version : 4.4.0 of Apr 19 2016 16:28:51 $
HDF5 library version : 1.10.0
SERVICE library version : 1.4.0 of Apr 20 2016 13:09:08
EXTRA library version : 1.4.0 of Apr 20 2016 13:09:02
IEG library version : 1.4.0 of Apr 20 2016 13:09:06
FILE library version : 1.8.2 of Apr 20 2016 13:09:02

Any idea what is going wrong?

config.log (91.9 KB) config.log configuration log

Replies (2)

RE: Build with cmor2 - Added by Ralf Mueller about 8 years ago

you cmor installaion (/usr/local/lib/libcmor.a) has some undefined references: ut_parse, ut_trim. These functions are defined by udunits2.

You might recall configure with

LIBS='-lstdc++ -L/usr/local/lib -ludunits2'

hth
ralf

RE: Build with cmor2 - Added by Kostas S about 8 years ago

the error still remains. I also rebuild cmor with new LIBS setting, but I got the same error.

    (1-2/2)