当连接到wifi

时间:2015-08-23 01:20:42

标签: mpi osx-mavericks openmpi

我在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真的很烦人。有什么想法吗?

1 个答案:

答案 0 :(得分:0)

this question and its answers。你需要明确地告诉MPI不要使用wifi,然后它会在禁用wifi的情况下继续存在。

会发生什么,MPI greedily uses all IP networks it can muster, 因此,当你禁用wifi时,MPI会丢失它使用的一个IP连接。