Rate This Document
Findability
Accuracy
Completeness
Readability

Compilation and Installation

Procedure

  1. Decompress the source package.
    cd /path/to
    tar xf ncview-2.1.5.tar.gz
  2. Go to the source package directory and then perform the compilation and installation.
    cd ncview-2.1.5
    CC=mpicc CXX=mpicxx FC=mpifort ./configure LDFLAGS="-L/path/to/libexpat/lib64" CPPFLAGS="-I/path/to/libexpat/include" --prefix=/path/to/ncview --with-nc-config=/path/to/netcdf/bin/nc-config --with-udunits2_incdir=/path/to/udunits/include --with-udunits2_libdir=/path/to/udunits/lib
    make -j 64
    make install