Rate This Document
Findability
Accuracy
Completeness
Readability

Compilation and Installation

Procedure

  1. Use PuTTY to log in to the server as the root user.
  2. Go to the installation package directory.
    cd /path/to/CDO
  3. Decompress the installation package.
    tar -zxvf cdo-1.9.8.tar.gz
  4. Go to the directory generated after the decompression.
    cd cdo-1.9.8
  5. Perform the configuration.
    ./configure --prefix=/path/to/CDO --with-netcdf=/usr --with-hdf5=/usr --with-grib_api=/usr CC=clang CXX=clang++ FC=flang
  6. Perform the compilation.
    make -j 8

  7. Perform the installation.
    make install

  8. View the installation result.
    ls /path/to/CDO/bin