[RegCNET] CDO install

Graziano Giuliani graziano.giuliani at aquila.infn.it
Wed Dec 8 08:10:55 CET 2010


On 12/07/2010 11:29 PM, Ismaila Diallo wrote:
> Dear,
> i've download the CDO from
> http://www.mpimet.mpg.de/fileadmin/software/cdo/#Docu
> after that i've unzip the cdo
> i've done :
>
> ./configure
> make
> make check
> make install but i get this error when i compile a CDO commend : that's not
> work.
> Could anyone teach me how to install CDO easily
[...]

Easy install mostly depends on the OS You are working on. If Linux, You may want 
to search for an already packaged cdo ready to be installed for You distro.

If ubuntu 10+ or debian, You may try apt-get install cdo, or on fedora yum 
install cdo.

About the above, if the installation was correct (make install with no errors) 
and cdo can be invoked from the command line (path correct, without arguments it 
should have gone in /usr/local/bin), but You are unable to open NetCDF files, 
You probably miss the netcdf path at configure stage.
An easy way to have cdo report its capabilities is to invoke cdo -V.
Mine is:
Climate Data Operators version 1.4.6 (http://code.zmaw.de/projects/cdo)
Compiler: gcc -std=gnu99 -fopenmp
  version: gcc (GCC) 4.5.1
     with: NC4 PTHREADS Z JASPER PROJ.4 OpenMP
Compiled: by graziano on portatile (x86_64-unknown-linux-gnu) Nov  3 2010 09:25:37
      CDI library version : 1.4.6 of Nov  3 2010 09:25:32
  CGRIBEX library version : 1.4.6 of Sep 15 2010 08:38:12
GRIB_API library version : 1.9.5
   netCDF library version : 4.1.1 of Oct 12 2010 11:51:41 $
     HDF5 library version : 1.8.5
  SERVICE library version : 1.2.0 of Nov  3 2010 09:25:23
    EXTRA library version : 1.2.0 of Nov  3 2010 09:25:20
      IEG library version : 1.2.0 of Nov  3 2010 09:25:22
     FILE library version : 1.7.0 of Nov  3 2010 09:25:20

If You do not see any netCDF line, that's the problem. Please read the INSTALL 
information for cdo on how to specify the netcdf library path.

Ciao!

Graziano.



More information about the RegCNET mailing list