Creating a Hyper MPI Project
Hyper MPI is key to the HPC solution. It implements network communication for parallel computing and is suitable for scenarios such as manufacturing, meteorology, AI, and big data.
Prerequisites
- You have logged in to the Kunpeng DevKit.
- The Kunpeng Development Assistant has been installed. You are advised to install the Compiler and Debugger before creating a project for future compilation and debugging.
- The environment-modules components have been installed in case the module command is used to load environment variables.
Procedure
- Click
in the shortcut menu bar on the left pane or click
next to Development Assistant. The Kunpeng Application Projects page is displayed. See Figure 1. - Click HPC Application. On the displayed HPC Application page, select Template project for the Project Type, and select Hyper MPI for the Sample Project. Click Create to create a Hyper MPI project. See Figure 2.
Based on Open MPI 4.1.1 and UCX 1.10.1, Hyper MPI supports parallel computing APIs of the MPI-V3.1 standard, and optimizes the collective communication framework. In addition, Hyper MPI accelerates the network for data-intensive and high-performance computing, enables a high-speed communication network and shared memory mechanism between nodes, and provides optimized collective communication algorithms. The maximum data packet length supported by the UCX COLL communication framework of Hyper MPI is 232 bytes.
Table 1 Parameter settings Parameter
Description
Project Type
The options are:
- Empty project
- Template project
Sample Project
The options are:
- Hyper MPI
- Hyper MPI
- Math Library
- KML_MATH
- KML_LAPACK
- KML_BLAS
- KML_SPBLAS
- KML_FFT
Project Name
Name of the project to be created. The default project name is xxx_ProjectN, which can be modified as required.
NOTE:- N is an integer starting from 1 in ascending order.
- The project name can contain 1 to 64 characters, including only letters, digits, periods (.), hyphens (-), plus signs (+), parentheses (), and underscores (_). It cannot start with a period (.).
Project Location
Storage path of the project to be created. The default project location is C:\Users\username\KunpengProject, which can be modified as required.
- If you have not downloaded the SDK, click here to download.
- Hyper MPI must be used together with compilers. If Hyper MPI is installed, the corresponding compiler is installed by default. (GCC 10.3.1 or BiSheng Compiler 3.1.0 by default)
- During one-click deployment of the HPC SDK, if the Hyper MPI and compiler have been installed but the environment variables are not configured, the Hyper MPI and compiler can be successfully installed. However, unpredictable errors may occur in subsequent operations.
- After the Hyper MPI project is created, click Open Project to open it in the current window.Figure 3 Opening a project
Figure 4 Viewing the Hyper MPI project
If a project folder or file is added, deleted, modified, or renamed, you can synchronize the change to the remote server. For details, see Synchronizing Code to a Remote Server.
If you want to compile and run the project demo in the Compiler and Debugger, add a user-defined environment command in the working directory text box.
source /opt/gcc_for_openeuler_profile

