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

OpenMPI安装

操作步骤

  1. 使用PuTTY工具,以root用户登录服务器。
  2. 执行以下命令安装系统依赖包。
    yum install libxml2* systemd-devel.aarch64 numa* -y
  3. 执行以下命令解压OpenMPI安装包。
    tar -zxvf openmpi-4.0.3.tar.gz
  4. 执行以下命令进入源码目录。
    cd openmpi-4.0.3
  5. 执行以下命令编译配置OpenMPI。
    ./configure --prefix=/path/to/OPENMPI --enable-pretty-print-stacktrace --enable-orterun-prefix-by-default --with-knem=/opt/knem-1.1.3.90mlnx1/ --with-hcoll=/opt/mellanox/hcoll/ --with-cma  --with-ucx  --enable-mpi1-compatibility
  6. 执行以下命令编译安装OpenMPI。
    make -j 16
    make  install
  7. 执行以下命令加载环境变量。
    export PATH=/path/to/OPENMPI/bin:$PATH
    export LD_LIBRARY_PATH=/path/to/OPENMPI/lib:$LD_LIBRARY_PATH