Rate This Document
Findability
Accuracy
Completeness
Readability

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