我要评分
获取效率
正确性
完整性
易理解

Installing NetCDF

Procedure

  1. Use PuTTY to log in to the server as the root user.
  2. Run the following command to decompress the NetCDF installation package:
    tar -xvf netcdf-4.4.1.1.tar.gz
  3. Run the following command to switch to the directory containing the decompressed files:
    cd netcdf-4.4.1.1
  4. Run the following command perform configuration:
    ./configure --prefix=/path/to/NETCDF --build=aarch64-unknown-linux-gnu --enable-shared --enable-netcdf-4 --enable-dap --with-pic --disable-doxygen --enable-static --enable-largefile CPPFLAGS="-I/path/to/HDF5/include " LDFLAGS="-L/path/to/HDF5/lib -Wl,-rpath=/path/to/HDF5/lib " CFLAGS="-L/path/to/HDF5/lib -I/path/to/HDF5/include "
  5. Run the following commands to perform compilation and installation:
    make -j 20
    make install