cd /path/to/CDO
tar -zxvf cdo-1.9.8.tar.gz
cd cdo-1.9.8/
./configure --prefix=/path/to/CDO --with-netcdf=/usr --with-hdf5=/usr --with-grib_api=/usr
make -j 16 make install