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

Installing OmniOperator

The following operations must be performed on the management node and all compute nodes.

  1. Upload OmniOperator packages obtained in Obtaining Software to the /opt/omni-operator/ directory on the management and compute nodes.
  2. Go to the /opt/omni-operator/ directory and decompress the packages.
    cd /opt/omni-operator/
    unzip BoostKit-omniop_1.3.0.zip
    tar -zxvf boostkit-omniop-operator-1.3.0-aarch64.tar.gz
  3. Copy OmniOperator files to the /opt/omni-operator/lib directory and set the permission on the software packages in the directory to 550.
    cd /opt/omni-operator/boostkit-omniop-operator-1.3.0-aarch64
    cp -r include libboostkit* boostkit-omniop* libsecurec.so /opt/omni-operator/lib/
    chmod -R 550 /opt/omni-operator/lib/*
  4. Create a conf folder in /opt/omni-operator. Add the omni.conf file to the folder and set the permission on the configuration file to 640 to set OmniOperator configuration items.
    cd /opt/omni-operator
    mkdir conf
    cd conf
    touch omni.conf
    chmod 640 omni.conf
  5. Add the following content to the /opt/omni-operator/conf/omni.conf file.
    1. Open /opt/omni-operator/conf/omni.conf.
      vim /opt/omni-operator/conf/omni.conf
    2. Press i to enter the insert mode and add the following content to the file:
      # Put specific property overrides in this file.
      # <----Omni properties---->
      # true indicates that HMPP is enabled, and false indicates that HMPP is disabled (disabled by default). You can enable or disable HMPP as required.
      enableHMPP=false
    3. Press Esc, type :wq!, and press Enter to save the file and exit.
  6. Use vim to open the ~/.bashrc file and add LD_LIBRARY_PATH to the file to update environment variables.
    1. Open the ~/.bashrc file.
      vim ~/.bashrc
    2. Press i to enter the insert mode and add LD_LIBRARY_PATH to update environment variables.
      export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/omni-operator/lib:/usr/local/lib/HMPP
    3. Press Esc, type :wq!, and press Enter to save the file and exit.
    4. Update the environment variables.
      source ~/.bashrc