Installing the Dependencies (by Downloading and Installing Compiled SO Files)
Installing LLVM and jemalloc
The following operations must be performed on the management node and all compute nodes.
- Create an /opt/omni-operator/ directory on the management node and compute nodes as the root directory for deploying OmniOperator.
mkdir /opt/omni-operator cd /opt/omni-operator
- Upload the LLVM and jemalloc packages obtained from Software Requirements (note the CentOS and openEuler versions) to the /opt/omni-operator/ directory and decompress them.
cd /opt/omni-operator/ unzip LLVM.zip unzip jemalloc.zip
- Create an /opt/omni-operator/lib directory, and move libLLVM-12.so and libjemalloc.so.2 to /opt/omni-operator/lib.
mkdir lib mv ./libLLVM-12.so ./lib/ mv ./libjemalloc.so.2 ./lib/
The /opt/omni-operator and /opt/omni-operator/lib directories can be customized.
Installing HMPP
The following operations must be performed on the management node and all compute nodes.
- Upload the HMPP package obtained in Software Requirements to the /opt/omni-operator/ directory, and decompress the package to obtain the RPM and DEB files.
unzip BoostKit-hmpp_1.7.0.zip
- Check whether HMPP is installed on the node. If the /usr/local/include/HMPP and /usr/local/lib/HMPP directories do not exist, HMPP is not installed. In this case, perform Step 4. If they exist, perform Step 3 and then Step 4.
- Uninstall the RPM package.
rpm -e boostkit-hmpp-xxxx.aarch64
- In the preceding command, xxxx indicates the version number.
- After the uninstallation, check whether the header files and dynamic libraries are deleted from the /usr/local/include/HMPP and /usr/local/lib/HMPP directories.
- If an earlier version cannot be uninstalled properly, manually delete it after evaluating that there is no risk.
- Install the RPM package.
rpm -ivh boostkit-hmpp-xxxx-1.aarch64.rpm
- In the preceding command, xxxx indicates the version.
- After the installation, check whether header files and dynamic libraries exist in the /usr/local/include/HMPP and /usr/local/lib/HMPP directories.
Parent topic: Installing Dependencies