简体   繁体   English

打开的MPI卡在较旧的版本上

[英]Open MPI stuck on an older version

I'm building a Raspberry Pi cluster and am using Open MPI to do some parallel processing... I was able to get it up and running with my Raspberry Pi 3 and a few Pi 1s, but when I tried to add another Pi 3 I started getting some errors (Error: unknown option "--hnp-topo-sig") 我正在构建一个Raspberry Pi集群,并使用Open MPI进行一些并行处理...我能够在我的Raspberry Pi 3和几个Pi 1上启动并运行它,但是当我尝试添加另一个Pi 3时我开始遇到一些错误(错误:未知选项“ --hnp-topo-sig”)

It's possible that the problem is because the versions of mpi between both my pis are different - my first pi 3 has version 2.0.2 while the other has 1.6.5, which is odd considering I only installed it on that pi today and on the first pi about a week ago. 问题可能是因为两个pi之间的mpi版本不同-我的第一个pi 3的版本是2.0.2,而另一个pi的版本是1.6.5,考虑到我今天才在该pi上安装了它,这很奇怪。大约一周前的第一次圆周率。

I've tried sudo apt-get update and upgrade, but my pi keeps telling me that everything is up to date, even though it doesn't seem like it is. 我已经尝试过sudo apt-get更新和升级,但是我的pi一直告诉我所有内容都是最新的,即使看起来好像不是这样。 So my question is this - how can I update my open mpi to a newer version so I can run my files? 所以我的问题是-如何将打开的mpi更新到较新的版本,以便我可以运行文件? Thanks in advance! 提前致谢!

As Gilles noted, Open MPI requires the version to be identical on all machines. 正如Gilles指出的那样,Open MPI要求所有计算机上的版本都相同。

If your Linux distro is telling you that the packaged version of Open MPI is up to date, then you probably have different versions of Linux distros on your different RPi units. 如果您的Linux发行版告诉您Open MPI的打包版本是最新的,则您的不同RPi单元上可能具有不同版本的Linux发行版。

You might want to try: 您可能要尝试:

  1. Installing the same exact Linux distro/version on all your RPi units, and/or 在所有RPi单元上安装相同的Linux发行版/版本,和/或
  2. Downloading the latest Open MPI source code tarball from www.open-mpi.org and building/installing Open MPI from source on all your RPi units. 从www.open-mpi.org下载最新的Open MPI源代码tarball,并在所有RPi单元上从源代码构建/安装Open MPI。 That will definitely work, but be aware that Open MPI is a large software package -- compiling it on an RPi will take quite a while. 绝对可以,但是请注意,Open MPI是一个大型软件包-在RPi上进行编译将需要一段时间。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM