cd /path/to tar xf ncview-2.1.5.tar.gz
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