Rate This Document
Findability
Accuracy
Completeness
Readability

Installing NetCDF-C

Procedure

  1. Use PuTTY to log in to the server as the root user.
  2. Run the following commands to decompress the NetCDF-C installation package:
    tar zxvf netcdf-c-4.7.0.tar.gz
    yum install curl.aarch64 libcurl.aarch64 libcurl-devel.aarch64 -y
  3. Run the following command to switch to the directory generated after decompression:
    cd netcdf-c-4.7.0
  4. Run the following command to perform configuration:
    ./configure --prefix=$NETCDF --build=aarch64-linux --enable-fortran --disable-static --enable-shared --with-pic --enable-parallel-tests --enable-pnetcdf  --enable-large-file-tests --enable-largefile CC=mpicc CXX=mpicxx FC=mpifort F77=mpifort
  5. Run the following commands to compile and install NetCDF-C:
    make -j 16
    make install