Project

General

Profile

Compile pb with cmor3.1.2

Added by Sylvaine Ferrachat over 7 years ago

Hi,

I'm trying to build cdo 1.7.2 with cmor (https://github.com/PCMDI/cmor/releases/tag/3.1.2). The configure stage went well, but the compiling fails with:

CMOR.c:626: error: too many arguments to function ‘cmor_write’

Comparing the call to cmor_write in my cdo sources (/path/to/my/cdo/src/CMOR.c) and how cmor_write is defined in my CMOR installation (/path/to/my/cmor/Src/cmor.c), it indeed seems that there's an extra argument in the call.
Could it be that cdo 1.7.2 requires an older version of cmor than the current tag release 3.1.2?


Replies (2)

RE: Compile pb with cmor3.1.2 - Added by Uwe Schulzweida over 7 years ago

Hi Sylvaine,

The CDO operator cmor was implemented to access the cmor2 library. cmor3 library support will be available in the next CDO release.

Cheers,
Uwe

RE: Compile pb with cmor3.1.2 - Added by Sylvaine Ferrachat over 7 years ago

Thanks Uwe! It did work with cmor-2.9.3.

Cheers
Sylvaine

    (1-2/2)