Compilation and Installation
Procedure
- Use PuTTY to log in to the server as the root user.
- Go to the installation directory.
cd /path/to/UDUNITS
- Decompress the installation package.
tar -xzvf udunits-2.2.28.tar.gz
- Go to the directory generated after the decompression.
cd udunits-2.2.28
- Perform the configuration.
./configure --prefix=/path/to/UDUNITS CC=mpicc CXX=mpicxx FC=mpifort F77=mpifort
- Perform the compilation.
make make install
Parent topic: UDUNITS 2.2.28 Porting Guide (openEuler 21.03)