Project

General

Profile

FAIL: ../test/test_Remap.sh

Added by Ciara O'Hara about 10 years ago

Hello,

I am getting this test failure when I run make check when trying to install cdo. I am trying to install cdo with netcdf support, and have pointed to the netcdf directory. NetCDF seems to have installed correctly. I also have hdf5 and zlib installed (done using 'yum install hdf5-devel 'zlib-devel').

Can anyone tell me what this error means, if it's very important and how to fix it?


Replies (11)

RE: FAIL: ../test/test_Remap.sh - Added by Ehsan Taghizadeh almost 6 years ago

Dears,
Could I ask it is possible to install cdo via yum?

Sincerely
Ehsan

RE: FAIL: ../test/test_Remap.sh - Added by Ralf Mueller almost 6 years ago

there are prebuild packages for fedora available here: https://software.opensuse.org/package/cdo

hth
ralf

RE: FAIL: ../test/test_Remap.sh - Added by Ehsan Taghizadeh almost 6 years ago

Dear Ralf
Thank you so much for your nice reply.
My server version is "CentOS Linux release 7.5.1804".
My previous server has crashed (:(), now I'm going to install cdo myself.
However I'm following instructions from (http://www.studytrails.com/blog/install-climate-data-operator-cdo-with-netcdf-grib2-and-hdf5-support/).
I hope I can install it.

Sincerely
Ehsan

RE: FAIL: ../test/test_Remap.sh - Added by Ralf Mueller almost 6 years ago

CentOS is very close to Fedora, so you should be able to make use of the pre-build packages.

RE: FAIL: ../test/test_Remap.sh - Added by Ehsan Taghizadeh almost 6 years ago

Dear Ralf,
I tried (yum install cdo*), and I faced following error:

Cannot add package cdo-1.9.4-7.1.src.rpm to transaction. Not a compatible architecture: src
Error: Nothing to do

Thanks alot.
Sincerely
Ehsan

RE: FAIL: ../test/test_Remap.sh - Added by Ralf Mueller almost 6 years ago

looks like you try do install a source package. I'd download this: http://download.opensuse.org/repositories/home:/manfred999/Fedora_Rawhide/x86_64/cdo-1.9.4-7.5.x86_64.rpm and try to install it with rpm -i

if it doesnt work, check the other redora-64bit-packages

hth
ralf

RE: FAIL: ../test/test_Remap.sh - Added by Ehsan Taghizadeh almost 6 years ago

Dear Ralf;
Looks like it works for CentOS, too. However it failed because of dependencies, as follow:

warning: cdo-1.9.4-7.5.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 1e47a662: NOKEY
error: Failed dependencies:
libMagPlus.so()(64bit) is needed by cdo-1.9.4-7.5.x86_64
libc.so.6(GLIBC_2.27)(64bit) is needed by cdo-1.9.4-7.5.x86_64
libeccodes.so()(64bit) is needed by cdo-1.9.4-7.5.x86_64
libhdf5.so.10()(64bit) is needed by cdo-1.9.4-7.5.x86_64
libhdf5_hl.so.10()(64bit) is needed by cdo-1.9.4-7.5.x86_64
libm.so.6(GLIBC_2.27)(64bit) is needed by cdo-1.9.4-7.5.x86_64
libnetcdf.so.11()(64bit) is needed by cdo-1.9.4-7.5.x86_64
libproj.so.12()(64bit) is needed by cdo-1.9.4-7.5.x86_64
libstdc++.so.6(CXXABI_1.3.8)(64bit) is needed by cdo-1.9.4-7.5.x86_64
libstdc++.so.6(CXXABI_1.3.9)(64bit) is needed by cdo-1.9.4-7.5.x86_64
libstdc++.so.6(GLIBCXX_3.4.20)(64bit) is needed by cdo-1.9.4-7.5.x86_64
libstdc++.so.6(GLIBCXX_3.4.21)(64bit) is needed by cdo-1.9.4-7.5.x86_64
libsz.so.2()(64bit) is needed by cdo-1.9.4-7.5.x86_64
libudunits2.so.0()(64bit) is needed by cdo-1.9.4-7.5.x86_64

Thanks again.
Sincerely
Ehsan

RE: FAIL: ../test/test_Remap.sh - Added by Ralf Mueller almost 6 years ago

then try do install libnetcdf and the rest with yum - I am not familiar with yum, sry

RE: FAIL: ../test/test_Remap.sh - Added by Ehsan Taghizadeh almost 6 years ago

Dear Ralf,
Thank you so much for your helps.
In installation of cdo after "sudo make", I faced following errors:

modules.cc: In function ‘bool similar(const char*, const char*, long unsigned int, long unsigned int)’:
modules.cc:50:42: error: ‘strstr’ was not declared in this scope
if (alen > 2 && blen > 2 && strstr(b, a)) return true;
^
modules.cc: In function ‘const char* get_original(const char*)’:
modules.cc:675:38: error: ‘strcpy’ was not declared in this scope
strcpy(original, opName.c_str());
^
make2: * [libcdo_la-modules.lo] Error 1
make2: Leaving directory `/home/taghizadeh/opt/cdo-1.9.4/src'
make1:
[all] Error 2
make1: Leaving directory `/home/taghizadeh/opt/cdo-1.9.4/src'
make: *
* [all-recursive] Error 1

Could you guess what the problem is?

Sincerely
Ehsan

RE: FAIL: ../test/test_Remap.sh - Added by Ehsan Taghizadeh almost 6 years ago

Dear Ralf,
I found this:
https://code.mpimet.mpg.de/issues/8507

Thanks alot.
Sincerely
Ehsan

RE: FAIL: ../test/test_Remap.sh - Added by Ralf Mueller almost 6 years ago

you might contact the rpm-package maintainer directly to get some help for your system. He added https://code.mpimet.mpg.de/issues/8507 and will know, which packaged must be installed to use the rpm packages for CDO.

if make fails, you can try the previous release 1.9.3,too

    (1-11/11)