Installing NetCDF-Fortran
Procedure
- Use PuTTY to log in to the server as the root user.
- Run the following command to decompress the NetCDF-Fortran installation package:
tar zxvf netcdf-fortran-4.4.5.tar.gz
- Run the following command to switch to the directory generated after decompression:
cd netcdf-fortran-4.4.5
- Run the following command to perform configuration:
./configure --prefix=$NETCDF --build=aarch64-linux --disable-static --enable-shared --enable-parallel-tests --enable-large-file-tests --enable-largefile CC=mpicc CXX=mpicxx FC=mpifort F77=mpifort
- Run the following commands to compile and install NetCDF-Fortran:
make -j 16 make install
Parent topic: Configuring the Compilation Environment