安装HPCKit(非交互式)

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

    cd HPCKit软件包所在目录

    批量安装HPCKit时,安装目录请参见《Kunpeng HPC Solution 24.0.RC2 LLD模板》中“项目基本信息 > 共享存储目录规划 > HPCKit安装目录”。

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

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

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

    sh HPCKit_24.0.RC2_Linux-aarch64/install.sh -y --prefix=HPCKit安装目录
    回显如下信息,表示安装成功,操作结束;否则,请先根据报错信息完成异常处理,然后重新安装。
    Start installing HPCKit...
    You have selected: HPCKit安装目录
    Start Installing Bisheng Compiler
    Bisheng Compiler Installation Finished.
    Start Installing Gcc For openEuler
    Gcc For openEuler Installation Finished.
    Start Installing bisheng compiled KML
     Kunpeng CPU check successfully.
    KML Installation Finished
    Start Installing bisheng compiled KPCCL
    KPCCL Installation Finished.
    Start Installing bisheng compiled Hyper MPI
    HMPI Installation Finished.
    Start Installing gcc compiled KML
     Kunpeng CPU check successfully.
    KML Installation Finished
    Start Installing gcc compiled KPCCL
    KPCCL Installation Finished.
    Start Installing gcc compiled Hyper MPI
    HMPI Installation Finished.
    Start Installing HIO
    HIO Installation Finished
    • 如果用户对1中输入的HPCKit的安装目录有写权限,则HPCKit可以安装在该目录下。
    • 如果用户对1中输入的HPCKit的安装目录无写权限,界面出现如下回显,并再次提示用户输入安装目录,如果用户不输入安装目录并直接按回车,则会默认安装在~目录下,~目录是用户的$HOME目录。
      Error: You do not have permission to write to HPCKit的安装目录. Please choose another path.
    • 安装HIO组件时,检查发现缺少HIO组件依赖的动态库,则会显示以下提示信息,如果环境中不存在HIO桥接目标库,参照安装HIO桥接目标库完成HIO桥接目标库安装并配置环境变量。如果环境中已存在HIO桥接目标库但未配置环境变量,参考配置HIO桥目标接库的环境变量配置环境变量。
      libhdf5.so >= 1.12.0 required, Please update the library to the required version.
      libnetcdf.so >= 4.7.4 required, Please update the library to the required version.
      libpnetcdf.so >= 1.12.1 required, Please update the library to the required version.
    • 如果配置的安装目录空间小于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.