下载地址:https://parallel-netcdf.github.io/Release/pnetcdf-1.11.2.tar.gz
cd /path/to/download/pnetcdf
tar -zxvf pnetcdf-1.11.2.tar.gz
cd pnetcdf-1.11.2
./configure --prefix=/path/to/install/PNETCDF --build=aarch64-unknown-linux-gnu CFLAGS="-fPIC -DPIC" CXXFLAGS="-fPIC -DPIC" FCFLAGS="-fPIC" FFLAGS="-fPIC" CC=mpicc CXX=mpicxx FC=mpifort F77=mpifort
make -j 16 make install
export PATH=/path/to/install/PNETCDF/bin:$PATH export LD_LIBRARY_PATH=/path/to/install/PNETCDF/lib:$LD_LIBRARY_PATH