Verified Environments
Table 1 lists the environments in which the HMPP has been verified. The compilers of different OSs are of the default versions.
OS |
CPU Type |
|---|---|
openEuler 20.03 LTS SP1 |
Huawei Kunpeng 920 processor |
CentOS Linux release 7.6.1810 (AltArch) |
Huawei Kunpeng 920 processor |
NeoKylin Server V7.0 U6 for ARM |
Huawei Kunpeng 920 processor |
Uniontech OS (UOS) 20 |
Huawei Kunpeng 920 processor |
Ubuntu 18.04 |
Huawei Kunpeng 920 processor |
Kylin release V10 |
Huawei Kunpeng 920 processor |
- The HMPP supports only Kunpeng 920 processors and will exit abnormally for any other processors.
- HMPP is a bottom-layer primitive library. The computing process involves memory read/write and allocation. You must install the OS by yourself and perform OS security hardening. Install only necessary applications or uninstall unnecessary applications that have been installed.
Note the following when using the HMPP:
- HMPP version
- OS compatibility
Check whether the OS and CPU type are listed in the Table 1 of the HMPP.
- UOS 20
The AWK and XmlLint need to be installed.
- Installing the AWK
Most released Linux OSs come with AWK by default. Do as follows to install AWK if it is not preconfigured:
yum install gawk
- Installing the XmlLint
- Obtain the XmlLint source package.
ftp://xmlsoft.org/libxml2/libxml2-2.8.0.tar.gz
- Decompress the source package.
tar -zxvf libxml2-2.8.0.tar.gz
- Configure compilation environment variables.
./configure --prefix=/usr/local/libxml2 --build=arm-linux
- Compile the source code and install the tool.
make && make install
- Copy the xmllint file to the /usr/bin directory.
cp libxml2-2.8.0/.libs/xmllint /usr/bin/
- Obtain the XmlLint source package.
- Installing the AWK
Parent topic: Using the HMPP