我在我的系统上配置和运行MPI时遇到问题。无法形成mpi环
这里是我的尝试:
1)我跑了一台机器上“MPD &”,然后我跑“mpdtrace -l”在同一台机器上。我得到这个作为输出: “我-lappy_53430(127.0.1.1)”
2)在另一台机器我跑 'MPD -h -p 53430 &' 而得到这个错误:
akshey-desktop_39993: conn error in connect_lhs: Connection timed out akshey-desktop_39993 (connect_lhs 924): failed to connect to lhs at 10.2.28.137 52430 akshey-desktop_39993 (enter_ring 879): lhs connect failed akshey-desktop_39993 (run 267): failed to enter ring
能否请你帮有这个问题吗?我试图从第二台机器ping第一台机器(在其上运行mpd)并运行。
此我在第一机器上执行的 'mpdheck' 后,我得到这样的输出:
* * * first ipaddr for this host (via my-lappy) is: 127.0.1.1
这些是第一机器的/ etc/hosts中的内容:
127.0.0.1 localhost 127.0.1.1 my-lappy # The following lines are desirable for IPv6 capable hosts ::1 localhost ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters ff02::3 ip6-allhosts
然后我跑“mpdcheck -l”和得到这个作为输出:
********** Your unqualified hostname resolves to 127.0.0.1, which is the IP address reserved for localhost. This likely means that you have a line similar to this one in your /etc/hosts file: 127.0.0.1 $uqhn This should perhaps be changed to the following: 127.0.0.1 localhost.localdomain localhost **********
即使改变的第一线后的/ etc/hosts到“127.0.0.1 localhost.localdomain localhost”我仍然从'mpdcheck -l'得到相同的输出
请注意,我没有访问网络的DNS服务器,这些机器没有DNS服务器中的DNS条目。 (我觉得这不应该是一个问题,因为我们总是可以使用IP地址,而不是主机名。是不是这样呢?)