tar -xvf parallel-netcdf-1.9.0.tar.gz
cd parallel-netcdf-1.9.0
./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
make -j make install
export PATH=/path/to/PNETCDF/bin:$PATH export LD_LIBRARY_PATH=/path/to/PNETCDF/lib:$LD_LIBRARY_PATH