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

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.

  1. 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
  2. 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
  3. 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.

  1. 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
  2. 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.
  3. 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.
  4. 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.