Installing PnetCDF
Procedure
- Use PuTTY to log in to the server as the root user.
- Decompress the PnetCDF installation package.
tar -xvf parallel-1.9.0.tar.gz
- Go to the directory generated after the decompression.
cd pnetcdf-1.9.0
- Perform the configuration.
./configure --prefix=/path/to/PNETCDF --build=aarch64-unknown-linux-gnu CFLAGS="-fPIC -DPIC" CXXFLAGS="-fPIC -DPIC" FCFLAGS="-fPIC" FFLAGS="-fPIC" CC=mpicc CXX=mpicxx FC=mpifort F77=mpifort
- Perform the compilation and installation.
make -j make install
Parent topic: Configuring the Compilation Environment