Installing OmniOperator
The following operations must be performed on the management node and all compute nodes.
- Upload OmniOperator packages obtained in Obtaining Software to the /opt/omni-operator/ directory on the management and compute nodes.
- 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
- 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/*
- 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
- Add the following content to the /opt/omni-operator/conf/omni.conf file.
- Open /opt/omni-operator/conf/omni.conf.
vim /opt/omni-operator/conf/omni.conf
- 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
- Press Esc, type :wq!, and press Enter to save the file and exit.
- Open /opt/omni-operator/conf/omni.conf.
- Use vim to open the ~/.bashrc file and add LD_LIBRARY_PATH to the file to update environment variables.
- Open the ~/.bashrc file.
vim ~/.bashrc
- 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
- Press Esc, type :wq!, and press Enter to save the file and exit.
- Update the environment variables.
source ~/.bashrc
- Open the ~/.bashrc file.
Parent topic: Local Installation