Run MPI program from console on several Windows machines

ぐ巨炮叔叔 提交于 2019-12-25 02:14:48

问题


I'm trying to execute parallel MPI program on several Windows machines (actually I have one Win7 and one WinXP machines, but people with other configurations (WinXP on all machines, for example) have the same problem). I use MPICH2 (1.4.1p1). I can execute program if I use wmpiexec (MPIEXEC wrapper - GUI for MPI) but if I try to execute it from console I catch next error:

Command: mpiexec -hosts 2 locahost 2 192.168.0.102 2 <path to the program>
Error: mpiexec running on <name of my machine> is unable to connect to msmpi service on locahost:8677

I have created rule for the program in Windows firewall. So where can be a problem? Thanks in advance.


回答1:


It's a wierd solution, but when mpiexec.exe and executable MPI-program is in the same directory everything is fine.



来源:https://stackoverflow.com/questions/7787647/run-mpi-program-from-console-on-several-windows-machines

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!