Project

General

Profile

make check issue with cdo

Added by Matt Thompson almost 8 years ago

All,

I build CDO as part of a big set of other libraries for a climate model. When I do so, I like to run 'make check' and make sure all was well. With CDO 1.7.1, I get this:

make[5]: Entering directory `/ford1/share/gmao_SIteam/Baselibs/GMAO-Baselibs-5_0_1/src/cdo/libcdi/tests'
PASS: cksum_verify
SKIP: test_cksum_grib
PASS: test_cksum_nc
PASS: test_cksum_extra
PASS: test_cksum_service
PASS: test_cksum_nc2
PASS: test_cksum_nc4
PASS: test_cksum_ieg
PASS: test_chunk_cksum
SKIP: pio_write_run
SKIP: pio_cksum_mpinonb
SKIP: pio_cksum_fpguard
SKIP: pio_cksum_asynch
SKIP: pio_cksum_writer
SKIP: pio_cksum_cdf
SKIP: pio_cksum_mpi_fw_ordered
SKIP: pio_cksum_mpi_fw_at_all
SKIP: pio_cksum_mpi_fw_at_reblock
ERROR, modelRun, test_resource_copy.c, line 219
errorString: "Could not open file" 
FAIL: test_resource_copy
SKIP: pio_write_deco2d_run
SKIP: test_f2003
PASS: test_cdf_transformation
PASS: test_table
PASS: test_byteswap
=========================================
1 of 12 tests failed
(12 tests were not run)
Please report to http://mpimet.mpg.de/cdi

I went to that website and was shuttled to the CDO site, so here I am! Looking at the code, it seems to be trying to open 'example.grb' for write. Now, I don't build CDO with GRIB support:

          ./configure --prefix=$(prefix) \
                      --includedir=$(prefix)/include/cdo \
                      --with-szlib=$(prefix) \
                      --with-zlib=$(prefix) \
                      --with-hdf5=$(prefix) \
                      --with-netcdf=$(prefix) \
                      --with-udunits2=$(prefix) \
                      --disable-grib --disable-openmp \
                      --disable-shared --enable-static \
                      CC=$(NC_CC) FC=$(NC_FC) CXX=$(NC_CXX) F77=$(NC_F77) 

so I can imagine some issues with that. But is that why it's failing? Perhaps my configure is weird enough that it doesn't know to skip this?

Any ideas?

Thanks,
Matt


Replies (1)

RE: make check issue with cdo - Added by Ralf Mueller almost 8 years ago

Hi Matt!

the test needs grib support and is not switched off when grib is disabled. Thanks for reporting this!

BTW: Why do you disable openmp support?

    (1-1/1)