0

我正在使用 Mac OSX 并使用 bash 作为我的 shell。在过去的几个小时里,我一直在努力让最简单的代码在多台计算机上使用 Open MPI 运行。在摆弄配置 Open MPI 之后,我相信我即将让这件事发挥作用。然而,我已经走到了死胡同。

该代码运行良好,无需通过 Internet 要求其他计算机运行它(意思是,我可以在我自己的桌面上使用 Open MPI 运行它),但是当我放入一个主机文件并要求主机运行代码时,我得到一个错误。我想我可以很好地连接到主机,否则我可以通过 ssh 连接到他们并做任何我想做的事情,这只是在我运行代码时。

为了产生以下错误,我运行:mpirun -n 4 -hostfile /path/hostfile.txt ./mpi_hello_world. 然后它询问我正在访问的主机上的密码,我输入它然后收到以下信息:

[MyComputer] [[62774,0],0] ORTE_ERROR_LOG: A message is attempting to be sent to
a process whose contact information is unknown in file /opt/local/var/macports/
build/_opt_mports_dports_science_openmpi/openmpi/work/openmpi-1.7.1/orte/mca/rml/
oob/rml_oob_send.c at line 362

[MyComputer] [[62774,0],0] attempted to send to [[62774,0],1]: tag 15

[MyComputer] [[62774,0],0] ORTE_ERROR_LOG: A message is attempting to be sent to 
a process whose contact information is unknown in file /opt/local/var/macports/
build/_opt_mports_dports_science_openmpi/openmpi/work/openmpi-1.7.1/orte/mca/
grpcomm/base/grpcomm_base_xcast.c at line 166

谁能告诉我这里出了什么问题?感谢您提供的任何见解。

4

0 回答 0