Rate This Document
Findability
Accuracy
Completeness
Readability

Installing PnetCDF

Procedure

  1. Use PuTTY to log in to the server as the root user.
  2. Decompress the PnetCDF installation package.
    tar -xvf parallel-netcdf-1.9.0.tar.gz
  3. Go to the directory generated after the decompression.
    cd parallel-netcdf-1.9.0
  4. Perform the configuration.
    ./configure --prefix=/path/to/SMOKE/PNETCDF CFLAGS="-fPIC -DPIC" CXXFLAGS="-fPIC -DPIC" FCFLAGS="-fPIC" FFLAGS="-fPIC" CC=mpicc CXX=mpicxx FC=mpifort F77=mpifort F90=mpif90
  5. Perform the compilation and installation.
    make -j
    make install
  6. Set the PnetCDF environment variables.
    export PATH=/path/to/PNETCDF/bin:$PATH
    export LD_LIBRARY_PATH=/path/to/PNETCDF/lib:$LD_LIBRARY_PATH