Installing PnetCDF
Procedure
- Use PuTTY to log in to the server as the root user.
- Download the PnetCDF installation package.
cd /path/to/pnetcdf wget http://cucis.ece.northwestern.edu/projects/PnetCDF/Release/pnetcdf-1.11.2.tar.gz
- Decompress the PnetCDF installation package.
tar xvf pnetcdf-1.11.2.tar.gz
- Go to the directory generated after the decompression.
cd pnetcdf-1.11.2
- Compile and install PnetCDF.
export CC=mpicc CXX=mpicxx FC=mpifort ./configure --prefix=/path/to/pnetcdf --build=aarch64-linux --enable-shared --enable-fortran --enable-large-file-test make -j make install
Parent topic: Configuring the Compilation Environment