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

Installing PnetCDF

Procedure

  1. Use PuTTY to log in to the server as the root user.
  2. Run the following command to decompress the PnetCDF installation package:
    tar -xvf parallel-netcdf-1.9.0.tar.gz
  3. Run the following command to go to the directory generated after the decompression:
    cd parallel-netcdf-1.9.0
  4. Run the following command to perform the configuration:
    ./configure --prefix=/path/to/PNETCDF --build=aarch64-linux --enable-shared --enable-fortran --enable-large-file-test
  5. Run the following commands to perform the compilation and installation:
    make -j
    make install
  6. Run the following commands to set the PnetCDF environment variables:
    export PATH=/path/to/PNETCDF/bin:$PATH
    export LD_LIBRARY_PATH=/path/to/PNETCDF/lib:$LD_LIBRARY_PATH