上MPI的工作,我已经使用内置的mpic++
OS X的内置并行程序,我想在我的家庭网络上运行我的两个苹果电脑MPI作业。两者都使用Snow Leopard 10.6.8,并且可以在本地运行作业。我也可以使用ssh
访问其他机器。然而,进入远程运行OS X计算机
mpirun -n 2 --host localhost,10.0.1.2 ./enigmaMPI
后问我输入密码,然后我得到这个输出:
--------------------------------------------------------------------------
Failed to find or execute the following executable:
Host: iMac.local
Executable: ./enigmaMPI
Cannot continue.
--------------------------------------------------------------------------
mpirun noticed that job rank 0 with PID 7748 on node localhost exited on signal 15 (Terminated).
这个消息是不是很具体,帮我找到一个解决办法......可能有人帮助,请?
我建立使用下面的命令我的程序:
mpic++ main.cpp enigma.cpp enigma.h -o enigmaMPI
一个我与同时实施的甩了Linux系统形成我MPI集群被设置密码的ssh少挣扎的步骤。这正是这里的问题。 MPI程序以SPMD模式执行,这意味着它们都在所有节点上同时执行。 [This](http://osxdaily.com/2012/05/25/how-to-set-up-a-password-less-ssh-login/)看起来很有帮助。 – axiom