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

Compiling and Installing UDUNITS

Procedure

  1. Use PuTTY to log in to the server as the root user.
  2. Run the following command to go to the main program installation directory:
    cd /path/to/UDUNITS
  3. Run the following command to decompress the package:
    tar -zxvf udunits-2.2.28.tar.gz
  4. Run the following command to switch to the directory generated after decompression:
    cd udunits-2.2.28
  5. Run the following command to perform configuration:
    ./configure --prefix=/path/to/UDUNITS CC=mpicc CXX=mpicxx FC=mpifort F77=mpifort
  6. Run the following commands to perform compilation:
    make -j 16
    make install