Installing Environment Dependencies
Use Yum repositories to install the base software on which the system depends, including GCC/G++ and Python, and use pip to install NumPy.
- Install the system dependencies. (If the KAIL_DNN component is used on Kunpeng 920 7285Z, skip 3 and 4.)
1yum install make python3-devel git gcc-c++ cmake python3-pip
- Install the Kunpeng Math Library (KML). (Skip this step if the KAIL_DNN_EXT component is used on the Kunpeng 920 processor that supports only NEON instructions.)
- Install NumPy. (Perform this step if the KAIL_DNN_EXT component is used on the Kunpeng 920 processor that supports only NEON instructions.)
1pip install numpy==1.24.2
- Install GCC 12.3.1 or BiSheng Compiler 4.2.0. (These compiler versions are required if the KAIL_DNN component is used on the Kunpeng 920 processor that supports SME instructions.)
GCC and BiSheng Compiler are integrated in HPCKit. For details about how to install them, see 2.
Parent topic: Installing and Configuring the Environment