我要评分
获取效率
正确性
完整性
易理解

Compilation and Installation

Procedure

  1. Use PuTTY to log in to the server as the root user.
  2. Go to the installation directory.
    cd /path/to/UDUNITS
  3. Decompress the installation package.
    tar -xzvf udunits-2.2.28.tar.gz
  4. Go to the directory generated after the decompression.
    cd udunits-2.2.28
  5. Perform the configuration.
    ./configure --prefix=/path/to/UDUNITS CC=mpicc CXX=mpicxx FC=mpifort F77=mpifort
  6. Perform the compilation.
    make
    make install