Choose a location for the build and install by setting the environment variables build_dir and install_dir. The location of HDF will also need to be specified by setting hdf_dir and you can specify the location of zlib by setting zlib_dir if necessary.
Download and unpack
cd $build_dirwget http://cucis.ece.northwestern.edu/projects/PnetCDF/Release/parallel-netcdf-1.8.1.tar.gz tar -zxvf parallel-netcdf-1.8.1.tar.gzcd parallel-netcdf-1.8.1
Compiling for AArch64 required up-to-date versions of config.guess and config.sub. These can be downloaded from gnu.org and copied into the scripts directory: