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

Installing NetCDF-Fortran

Procedure

  1. Use PuTTY to log in to the server as the root user.
  2. Run the following command to decompress the NetCDF-Fortran installation package:
    tar -zxvf netcdf-fortran-4.4.5.tar.gz
  3. Run the following command to switch to the directory generated after decompression:
    cd netcdf-fortran-4.4.5
  4. Run the following command to perform configuration:
    ./configure --prefix=/path/to/NETCDF CPPFLAGS="-I$HDF5/include -I$NETCDF/include" LDFLAGS="-L$HDF5/lib -L$NETCDF/lib" CC=mpicc FC=mpif90 F77=mpif90
  5. Run the following commands to perform compilation and installation:
    make -j
    make install