Creating a Project
Prerequisites
- The server and OS are running properly.
- An SSH remote login tool has been installed on the local PC.
- The Kunpeng DevKit is running properly. The Development Assistant tool and Compiler and Debugger tool have been installed in the Kunpeng DevKit.
- Hyper MPI-GCC, GCC Compiler, and KML have been installed, or Hyper MPI-BiSheng, BiSheng Compiler, and KML have been installed. For details, see Installing and Uninstalling the HPC SDK.
Procedure
- Access the Kunpeng DevKit, click Development, and click
on the right of Development Assistant. The Kunpeng Application Projects page is displayed. See Figure 1. - Select HPC Application. The HPC Application page is displayed.Figure 2 HPC Application page
- On the left pane of the displayed page, select Template project for Project Type, select KML_MATH for Example Project, and click Create.Figure 3 Creating a basic math library project
Table 1 Parameters for configuring a project Parameter
Description
Project Type
Project type, which can be:
- Empty project
- Template project
Example 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 (_), and 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.
- After the project is created, click Open Project to open it in the current window.Figure 4 Opening a project
- In the left pane, click EXPLORER and open the src/math_demo.c file, which contains the example code of KML_MATH library functions.Figure 5 Viewing the example code
Parent topic: Practice 1: Creating an HPC Application Project
