在 Ubuntu 14.04 上安装 openmpi

在 Ubuntu 14.04 上安装 openmpi

我正在尝试按照此操作在我的 Ubuntu 14.04 LTS 上安装 OpenMPI指导

当我运行命令时sudo apt-get install -y autotools-dev g++ build-essential openmpi1.5-bin openmpi1.5-doc libopenmpi1.5-dev,我收到错误消息

E: Unable to locate package openmpi1.5-doc
E: Couldn't find any package by regex 'openmpi1.5-doc'
E: Unable to locate package libopenmpi1.5-dev~
E: Couldn't find any package by regex 'libopenmpi1.5-dev~'

这是为什么?我在 Ubuntu 12.04 上尝试过,它运行正常。

答案1

14.04 存储库中的 openmpi 版本为 1.6。您可能需要安装的软件包openmpi-bin openmpi-doc libopenmpi-dev

一般来说,不建议安装特定发行版本号的软件包:应该有一个始终依靠当前发布的版本,即

$ apt-cache depends libopenmpi-dev
libopenmpi-dev
  Depends: libc6
  Depends: libopenmpi1.6
  Depends: openmpi-common
  Depends: libibverbs-dev
  Depends: libhwloc-dev
  Conflicts: libopenmpi-dev
  Conflicts: libopenmpi-dev:i386
  Conflicts: openmpi-bin
  Conflicts: openmpi-bin:i386
  Conflicts: 
  Conflicts: 
  Conflicts: libopenmpi-dev:i386

相关内容