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

- Perform the installation.
make install

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

Parent topic: CDO 1.9.8 Porting Guide (openEuler 20.03)