Project

General

Profile

Segmentation error when combing operators

Added by Matt Amos about 6 years ago

Hello,

I am running the following line on several sets of model output:

cdo settunits,days -settaxis,1960-01-01,00:00,1month -setcalendar,360_day ifile.nc outfile.nc

It works on several of the models but produces a segmentation fault on others, with the output:

cdo settunits: Started child process "settaxis,1950-01-01,00:00,1month -setcalendar,360_day temp.nc (pipe1.1)".
cdo(2) settaxis: Started child process "setcalendar,360_day temp.nc (pipe2.1)".
cdo(2) settaxis (Warning): Time bounds unsupported by this operator, removed!
bash: line 68: 8133 Segmentation fault cdo settunits,days -settaxis,1950-01-01,00:00,1month -setcalendar,360_day temp.nc temp3.nc

However if I run all the operators sequentially (uncombined) no segmentation fault is produced for any model, but of course this is slower.

Any ideas why this is the case, or how it can be solved?
Many thanks
Matt


Replies (3)

RE: Segmentation error when combing operators - Added by Ralf Mueller about 6 years ago

Hi Matt!

Thx for the report - what we need for further debuggin is written here: https://code.mpimet.mpg.de/projects/cdo/wiki#How-to-Get-Help-or-Contribute

thx in advance!
ralf

RE: Segmentation error when combing operators - Added by Matt Amos about 6 years ago

My apologies, I was just being rather silly. I had two version of cdo installed and the older version was being run.

Many thanks
Matt

RE: Segmentation error when combing operators - Added by Ralf Mueller about 6 years ago

ok, thx for letting us know

have a nice weekend!

-ralf

    (1-3/3)