MacOS 上的 OpenMPI:意外的 IP
OpenMPI on MacOS: Unexpected IP
我使用
在 MacOS 上安装了 OpenMPI(在将程序提交到超级计算机之前测试我的程序)
brew install openmpi
但是我的程序因以下错误而失败:
Open MPI detected an inbound MPI TCP connection request from a peer
that appears to be part of this MPI job (i.e., it identified itself as
part of this Open MPI job), but it is from an IP address that is
unexpected. This is highly unusual.
The inbound connection has been dropped, and the peer should simply
try again with a different IP interface (i.e., the job should
hopefully be able to continue).
Local host: MBP-182
Local PID: 23814
Peer hostname: MBP-182 ([[55020,1],0])
Source IP of socket: 2001:16b8:1033:XXXX:XXXX:XXXX:XXXX:eb52
Known IPs of peer:
2001:16b8:1033:XXXX:XXXX:XXXX:XXXX:29b1
为什么我自己的 IPv6 地址不为人所知?
出于隐私原因,MacOs 会生成一个临时 IPv6 地址。在 Settings -> Network -> Advanced -> TCP/IP -> Configure IPv6
中选择 Manually
并输入在 Known IPs of peer
下给出的(在错误消息中)的 IPv6 地址。
之后一切都应该按预期工作。
我使用
在 MacOS 上安装了 OpenMPI(在将程序提交到超级计算机之前测试我的程序)brew install openmpi
但是我的程序因以下错误而失败:
Open MPI detected an inbound MPI TCP connection request from a peer
that appears to be part of this MPI job (i.e., it identified itself as
part of this Open MPI job), but it is from an IP address that is
unexpected. This is highly unusual.
The inbound connection has been dropped, and the peer should simply
try again with a different IP interface (i.e., the job should
hopefully be able to continue).
Local host: MBP-182
Local PID: 23814
Peer hostname: MBP-182 ([[55020,1],0])
Source IP of socket: 2001:16b8:1033:XXXX:XXXX:XXXX:XXXX:eb52
Known IPs of peer:
2001:16b8:1033:XXXX:XXXX:XXXX:XXXX:29b1
为什么我自己的 IPv6 地址不为人所知?
出于隐私原因,MacOs 会生成一个临时 IPv6 地址。在 Settings -> Network -> Advanced -> TCP/IP -> Configure IPv6
中选择 Manually
并输入在 Known IPs of peer
下给出的(在错误消息中)的 IPv6 地址。
之后一切都应该按预期工作。