Rate This Document
Findability
Accuracy
Completeness
Readability

Installing and Uninstalling the HPC SDK

  • High-performance computing (HPC) is a computer cluster system that connects computer systems using interconnection technologies. It relies on the integrated computing capability of all the connected systems to execute computing tasks at scale. For this reason, HPC is also often referred to as an HPC cluster. HPC is a parallel computing system that can process a large amount of data and high-speed computing tasks that cannot be processed by common computers. It splits large-scale computing tasks, distributes the tasks to servers for parallel computing, and then summarizes the computing results to obtain the final results, implementing powerful computing functions.
  • You can create Hyper MPI and KML projects under a Kunpeng HPC project. By creating HPC applications based on the Hyper MPI and math libraries, you can extend project samples 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
    Table 1 OS 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.

    Table 2 Dependencies

    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
    1. Obtain the HPC SDK installation package from the Kunpeng mirror.
    2. Run the following commands:
      1
      2
      3
      tar -xf kunpeng-hpc-xxx-aarch64-linux.tar.gz
      cd kunpeng-hpc-xxx-aarch64-linux
      bash install.sh
      
    3. Install the HPC SDK as prompted.
  • 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 effect
    1
     module load /opt/modules/gcc_for_openeuler/gcc_for_openeuler_modulefile
    
    Method 2: Using the environment configuration file for the environment variables to take effect
    1
    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

Uninstall the software.
1
2
cd /opt
bash uninstall.sh