鲲鹏社区首页
中文
注册
我要评分
文档获取效率
文档正确性
内容完整性
文档易理解
在线提单
论坛求助

安装HPCKit(交互式)

操作步骤

  1. 使用PuTTY工具,登录HPCKit的安装节点。
  2. 执行以下命令,进入HPCKit软件包所在目录。

    cd HPCKit软件包所在目录

  3. 执行以下命令,解压HPCKit软件包。

    tar xvf HPCKit_24.0.RC1_Linux-aarch64.tar.gz

  4. 执行以下命令,进入安装流程。

    sh HPCKit_24.0.RC1_Linux-aarch64/install.sh

  5. 安装HPCKit。
    1. 在回显信息后,输入HPCKit的安装目录(默认为“/opt”)。
      1
      Enter the installation path (default: /opt):HPCKit的安装目录
      

      回显信息中包含如下提示信息,表示已完成安装目录配置,请执行5.b;否则,请先根据报错信息完成异常处理,然后完成安装目录配置,再执行5.b

      You have selected: /opt
      • 如果用户对HPCKit的安装目录有写权限,则HPCKit的默认安装目录为该目录,例如“/opt”。
      • 如果用户对HPCKit的安装目录无写权限,则HPCKit的默认安装目录为~,~是用户的$HOME目录。
      • 如果配置的安装目录空间小于10GB,则会回显以下提示信息,建议重新规划安装目录,或清理该目录空间。
        The space of the HPCKit installation directory is insufficient.
        About 10 GB space is required for installing HPCKit.
        Run the 'df -h /opt' command to check the space of the installation directory.
    2. 在回显信息后,选择需要安装的编译器。
      • 全部安装(系统默认),直接按“Enter”。
      • 如果只安装Bisheng-Compiler,先输入“2”,然后按两次“Enter”。
      • 如果只安装GCC-Compiler,先输入“1”,然后按两次“Enter”。

        按“1”或“2”表示切换“1”或“2”在回显中对应的编译器“是否安装”的选项,例如1代表毕昇编译器(默认安装),按下1表示切换为不安装毕昇编译器。

      示例:同时安装Bisheng-Compiler和GCC-Compiler

      1. 按“Enter”。
        1
        2
        3
        4
        5
        6
        Start installing Compiler...
        Please Enter (1-2) to switch compiler selection, only checked compiler(s) will be installed.
        Enter 'q' to quit, 'y' or enter to confirm compiler installation.
        Number     Option                    Choice     Descriptions
        1          Bisheng-Compiler          Y          Bisheng Compiler
        2          GCC-Compiler              Y          GCC Compiler   
        
      2. 回显如下信息,表示安装成功,请继续执行5.c;否则,请先根据报错信息完成异常处理,然后完成编译器安装,再执行5.c
        Confirm Installation.
        Start Installing Bisheng Compiler
        Bisheng Compiler Installation Finished.
        Start Installing Gcc For openEuler
        Gcc For openEuler Installation Finished.
    3. 在回显信息后,选择需要安装的组件。
      • 如果同时使用毕昇和GCC两种编译器,则根据界面信息先完成使用毕昇编译器编译的组件安装,然后完成使用GCC编译器编译的组件安装。
      • 如果仅使用毕昇或GCC编译器中的一种,则根据界面信息完成对应的组件安装即可。
      • 使用毕昇编译器编译
        • 全部安装(系统默认),直接按“Enter”。
        • 如果只安装KML,先输入“2”,然后按两次“Enter”。
        • 如果只安装HMPI,先输入“1”,然后按两次“Enter”。
        • 不安装任何组件,先输入“q”,然后按“Enter”。

        示例:同时安装KML和HMPI

        1. 按“Enter”。
          1
          2
          3
          4
          5
          6
          Start Installing Bisheng Compiled Component...
          Please Enter (1-2) to switch component selection, only checked component(s) will be installed.
          Enter 'q' to quit, 'y' or enter to confirm component installation.
          Number     Option                    Choice     Descriptions
          1          KML                       Y          Kunpeng Math Library (Bisheng compiled)
          2          HMPI                      Y          Hyper Message Passing Interface (Bisheng compiled)
          
        2. 回显如下信息,表示安装成功,操作结束;否则,请先根据报错信息完成异常处理,然后完成组件安装。
          Confirm Installation.
          Start Installing bisheng compiled KML
           Kunpeng CPU check successfully.
          KML Installation Finished
          Start Installing bisheng compiled Hyper MPI
          HMPI Installation Finished.
      • 使用GCC编译器编译
        • 全部安装(系统默认),直接按“Enter”。
        • 如果只安装KML,先输入“2”,然后按“Enter”。
        • 如果只安装HMPI,先输入“1”,然后按“Enter”。
        • 不安装任何组件,先输入“q”,然后按“Enter”。

        示例:同时安装KML和HMPI

        1. 按“Enter”。
          Start installing GCC Compiled Component...
          Please Enter (1-2) to switch component selection, only checked component(s) will be installed.
          Enter 'q' to quit, 'y' or enter to confirm component installation.
          Number     Option                    Choice     Descriptions
          1          KML                       Y          Kunpeng Math Library (GCC compiled)
          2          HMPI                      Y          Hyper Message Passing Interface (GCC compiled)
        2. 回显如下信息,表示安装成功,操作结束;否则,请先根据报错信息完成异常处理,然后完成组件安装。
          Confirm Installation.
          Start Installing gcc compiled KML
           Kunpeng CPU check successfully.
          KML Installation Finished
          Start Installing gcc compiled Hyper MPI
          HMPI Installation Finished.