Installing and Uninstalling the HPC SDK
By creating HPC applications based on the Hyper MPI and math libraries, you can extend example projects to improve development efficiency. You can download and install the HPC SDK to a customized path. The automatic installation script provided in the SDK can be used to automatically deploy HPC-related software, including Hyper MPI, KML, GCC for openEuler, and BiSheng Compiler.
Installing the HPC SDK
- Environment dependencies
OS |
Hyper MPI (2.3.0) |
GCC for openEuler 10.3.1 |
BiSheng Compiler 3.1.0 |
KML (2.2.0) |
|---|---|---|---|---|
CentOS 7.6 |
Y (GCC for openEuler 10.3.1, BiSheng Compiler 3.1.0) |
Y |
Y |
Y (GCC 7.3.0 or later) |
openEuler 22.03 SP2 |
Y (GCC for openEuler 10.3.1, BiSheng Compiler 3.1.0) |
Y |
Y |
Y (GCC 7.3.0 or later) |
Kylin V10 SP2 |
Y (GCC for openEuler 10.3.1, BiSheng Compiler 3.1.0) |
Y |
Y |
Y (GCC 7.3.0 or later) |
Kylin V10 for HPC |
Y (GCC for openEuler 10.3.1, BiSheng Compiler 3.1.0) |
Y |
Y |
Y (GCC 7.3.0 or later) |
Kylinsec 3.5.2 |
Y (GCC for openEuler 10.3.1, BiSheng Compiler 3.1.0) |
Y |
Y |
Y (GCC 7.3.0 or later) |
The OSs in the above table use the AArch64 architecture and run on physical machines. Y indicates that the OS supports the installation, and N indicates that the OS does not support the installation.
Dependency |
Hyper MPI |
GCC for openEuler |
BiSheng Compiler |
KML |
|---|---|---|---|---|
GCC |
Y |
N |
Y (GCC 4.8.5 or later) |
N |
BiSheng Compiler |
Y |
N |
N |
N |
glibc-devel (libc-dev-bin) |
N |
Y (glibc-devel 2.17 or later) |
N |
N |
glibc |
N |
Y (glibc 2.17 or later) |
Y (glibc 2.17 or later) |
N |
libatomic |
N |
N |
Y (libatomic 1.2.0 or later) |
N |
- The preceding table lists the dependencies required for installing Hyper MPI, GCC for openEuler, BiSheng Compiler, and KML. Y indicates software dependency, and N indicates no software dependency.
- Hyper MPI must be used together with compilers. Hyper MPI can be classified into Hyper MPI-GCC and Hyper MPI-BiSheng, in which Hyper MPI-GCC depends on GCC for openEuler 10.3.1 and Hyper MPI-BiSheng depends on BiSheng Compiler 3.1.0. BiSheng Compiler depends on GCC 4.8.5 or later.
- If you need to use the SO dependency library of the Hyper MPI closed-source version, obtain and install it.
- Installing the HPC SDK
- Adding environment variables
After the installation is complete, add environment variables as prompted. The following commands use GCC for openEuler as an example:
Method 1: Using the module command to load module_file for the environment variables to take effect1module load /opt/modules/gcc_for_openeuler/gcc_for_openeuler_modulefile
Method 2: Using the environment configuration file for the environment variables to take effect1 2
cd /opt source gcc_for_openeuler_profile
- /opt is the default installation path.
- The HPC SDK can be installed only in the AArch64 environment.
- Reserve at least 3 GB drive space after installing Hyper MPI, KML, GCC for openEuler, and BiSheng Compiler or any of them.
Uninstalling the HPC SDK
1 2 | cd /opt bash uninstall.sh |