我正在 Arch Linux ARM 中使用 mpi4py (1.3.1) 和 openmpi (1.8.6-1) 构建一个 MPI 应用程序(更具体地说,在 Raspberry Pi 集群上)。我已经在 3 个节点(4 个进程)上成功运行了我的程序,当尝试添加一个新节点时,会发生以下情况:
Host key verification failed.
--------------------------------------------------------------------------
ORTE was unable to reliably start one or more daemons.
This usually is caused by:
* not finding the required libraries and/or binaries on
one or more nodes. Please check your PATH and LD_LIBRARY_PATH
settings, or configure OMPI with --enable-orterun-prefix-by-default
* lack of authority to execute on one or more specified nodes.
Please verify your allocation and authorities.
* the inability to write startup files into /tmp (--tmpdir/orte_tmpdir_base).
Please check with your sys admin to determine the correct location to use.
* compilation of the orted with dynamic libraries when static are required
(e.g., on Cray). Please check your configure cmd line and consider using
one of the contrib/platform definitions for your system type.
* an inability to create a connection back to mpirun due to a
lack of common network interfaces and/or no route found between
them. Please check network connectivity (including firewalls
and network routing requirements).
有趣的是,ssh 密钥很好,因为我使用的是相同的节点(我可以删除主机文件的任何条目,添加新节点,它会工作,所以我很确定问题不是配置错误的 ssh 设置。仅当我使用 5 个进程时才会发生这种情况)。
这可能是某种库中的错误吗?
这是我的主机文件
192.168.1.26 slots=2
192.168.1.188 slots=1
#192.168.1.202 slots=1 If uncommented and run with -np 5, it will raise the error
192.168.1.100 slots=1
提前致谢!