Rate This Document
Findability
Accuracy
Completeness
Readability

Dedicated Software Porting

Dedicated software porting is to automatically port, compile, and build common software source code in big data, database, high-performance computing, and web scenarios to generate software packages compatible with the Kunpeng platform. This function is available only on the Kunpeng platform.

  • On CentOS 7.6 and openEuler 20.03 LTS SP1, you can click Port in the Operation column on the Dedicated Software Porting page to implement one-click porting, or click Porting Guide in the Operation column to view the porting guide and complete the porting yourself.
  • Software image repositories are provided. You can obtain the software running on the OSs listed in Table 2 from the image repositories, or port the applications to openEuler 20.03 LTS SP1 or CentOS 7.6 by using the Porting Advisor.
  • For other OSs, you can refer to the following porting procedure and make some adaptations (for example, software installation and system configuration changes) based on your environment to complete the porting. Some steps may affect the current environment, so evaluate the impact and take measures accordingly. Make sure you have verified the ported software before using it.

Prerequisites

  • You have logged in to the Porting Advisor.
  • The required tool package has been installed in the /usr/bin or /usr/local/bin directory.

Procedure

  1. Choose Dedicated Software Porting under Porting Adviser in the navigation pane on the left.

    On the Before You Start dialog box displayed, select I have read and agree to the content above and click OK. See Figure 1.

    Figure 1 Dedicated software porting
    Table 1 lists the supported software.
    • During the dedicated software porting process, you may need to install dependency components, modify system configuration, download software, and modify, compile, or build the software. Read the procedure description carefully before you start.
    • If the Porting Advisor is in an offline or closed network environment and the file is to be uploaded manually, you need to grant the read, write, and execute permissions on the file to the Porting Advisor user after the file is uploaded.
    • The tool provides image repositories containing verified software running on OSs listed in Table 2 in multiple application scenarios.
    • The tool provides links for obtaining official versions of some software. You can click View to select and obtain the corresponding software package or port the software by referring to the porting guide.
    Table 1 Dedicated software porting

    Kunpeng Solution

    Software

    OS

    Version

    Big data

    Apache-HBase

    openEuler 20.03-LTS-SP1/CentOS-7.6

    2.1.0

    Apache-Hadoop

    3.1.1

    Apache-Hive

    3.0.0

    Apache-Spark

    2.3.0

    Database

    MySQL

    openEuler 20.03-LTS-SP1/CentOS-7.6

    8.0.17

    HPC

    CESM

    openEuler 20.03-LTS-SP1/CentOS-7.6

    2.1.1

    Code-Aster

    14.6.0

    CP2K

    7.1

    GROMACS

    2019.3

    LAMMPS

    5Jun19

    NEMO

    3.6

    NWChem

    6.8.1

    OpenFOAM

    v1906

    QE

    6.4.1

    6.6

    WRF

    3.8.1

    4.2

    Web

    .NET-Core

    openEuler 20.03-LTS-SP1/CentOS-7.6

    3.1

    Nginx

    1.14.2

    Tengine

    2.2.2

    Note 1: Nginx and Tengine of the web solution cannot be ported with the software of other solutions on the same server.

    Note 2: .NET-Core of the web solution displays only static pages and does not support the porting function. For details, click the link in the porting description.

    Table 2 OSs that support dedicated software porting

    How to Obtain the Software to Be Ported

    OS

    Tool-based porting

    CentOS 7.6

    openEuler 20.03 LTS SP1

    Big data image repository

    CentOS 7.6

    openEuler 20.03 LTS SP1

    Database image repository

    openEuler 20.03 LTS SP3

    openEuler 20.03 LTS SP1

    openEuler 20.03 or later

    CentOS 7.6

    CentOS 8.1

    HPC image repository

    openEuler 20.03 LTS SP3

    Kylin V10

    openEuler 20.03 LTS

    openEuler 22.03 LTS

    Web image repository

    openEuler 20.03 LTS SP1

    CentOS 7.6

    CentOS 8.1

  2. Select a Kunpeng solution and, in the software list, click Port or Porting Guide on the right of the OS and software version you require. Alternatively, you can search for the required software in the search box in the upper right corner of the current page.

    The dedicated software porting details are displayed, as shown in Figure 2. Table 3 describes the parameters.

    • The warehouses of all solution-specific software that supports dedicated software porting are stored in the /opt/DevKit/devkitplugins/porting/resource/migration directory on the server. (/opt is the tool installation directory. Replace it with the actual directory.) All users can use the templates in this directory.
    • An image repository is provided for the HPC solution in dedicated software porting. You can select software based on your requirements.
    Figure 2 Dedicated software porting details
    Table 3 Parameters for dedicated software porting

    Parameter

    Description

    Software

    Name of the software.

    Version

    Version of the software.

    OS

    Version of the target OS to which the current solution software can be ported.

    Huawei Maven Repository

    Address of the Maven repository.

    NOTE:

    This parameter is displayed only when the Huawei Maven repository is involved.

    Porting Description

    Description of the software porting.

  3. In the Procedure area, select the steps to be performed and click Start. Alternatively, perform the porting yourself based on the procedure.
    • The operations in the Environment Check area are automatically executed by default.
    • After you click Start, the execution status of the selected steps is displayed.
    • The tool automatically modifies, compiles, and builds your software packages.
    • During dedicated software porting, you can leave the current page and perform other tasks, excluding restoring and updating software porting warehouses.
    • To cancel an ongoing task, click the close button on the progress bar and click OK.
    • The workspace for dedicated software porting is /opt/DevKit/workspace/xx/porting/migration. (Replace xx with the actual user name and /opt with the actual tool installation directory.) All operations and result files are stored in this workspace.
    • By default, logs of the dedicated software porting are stored in the /opt/DevKit/logs/porting folder. /opt is the tool installation directory. Replace it with the actual directory. You can view the failure cause in the log file and rectify the fault based on the suggestions.
  4. Click Download Porting Result to download the software files ported.