【发布时间】:2015-08-23 01:20:42
【问题描述】:
我在我的 Mac OSX 10.9 上运行 mpirun (Open MPI) 1.8.5,但是当我尝试时
mpirun -np 4 run.exe
终端只是挂起,最终我收到一条错误消息
A process or daemon was unable to complete a TCP connection
to another process:
Local host: my_computer_name
Remote host: 10.0.0.15
This is usually caused by a firewall on the remote host. Please
check that any firewall (e.g., iptables) has been disabled and
try again.
现在,如果我关闭 Wifi,一切正常。另外,我没有启用任何防火墙。每次我需要运行 mpi 时都必须关闭我的 wifi 真的很烦人。有什么想法吗?
【问题讨论】:
-
尝试显式设置主机文件。
-
你能举个例子吗?我对网络上的说明感到困惑。
-
open-mpi.org/faq/?category=running#mpirun-hostfile 就是一个很好的例子。我不能做得更好。
-
谢谢。我添加了我的主机名,当我使用 wifi 时它仍然挂起。我做
mpirun -np 4 --hostfile my_host_file run.exe,但仍然没有运气。当然,当我关闭 wifi 时,它工作正常。 -
您使用的是 IP 地址、DNS 主机名还是 localhost?
标签: mpi osx-mavericks openmpi