tar -zxvf netcdf-c-4.7.0.tar.gz
cd netcdf-c-4.7.0
./configure --prefix=/path/to/NETCDF LDFLAGS="-L$HDF5/lib" CPPFLAGS="-I$HDF5/include" CC=mpicc --disable-dap
make -j make install
export PATH=/path/to/NETCDF/bin:$PATH export LD_LIBRARY_PATH=/path/to/NETCDF/lib:$LD_LIBRARY_PATH export NETCDF=/path/to/NETCDF