mpiexec was unable to launch the specified application (Raspberry pi)

佐手、 提交于 2019-12-23 05:07:30

问题


I get the same error for each of the 3 following commands. is my ip address from ifconfig. Any ideas on what is going wrong? It worked fine last night.

mpiexec -f machinefile -n <number> hostname
mpiexec -f machinefile –n 1 hostname
mpiexec -f machinefile -n 2 ~/mpich_build/examples/cpi
--------------------------------------------------------------------------
mpiexec was unable to launch the specified application as it could not find an executable:

Executable: -f
Node: raspberrypi

while attempting to start process rank 0.
--------------------------------------------------------------------------

I'm following the tutorial from http://www.southampton.ac.uk/~sjc/raspberrypi/pi_supercomputer_southampton.htm


回答1:


My guess is that you've installed OpenMPI, as vs MPICH2 as given in the examples, yes? There's nothing wrong with that, but the options for things like specifying machine files are somewhat different. You'll want

mpiexec -machinefile machinefile -n 1 hostname

etc.



来源:https://stackoverflow.com/questions/13896502/mpiexec-was-unable-to-launch-the-specified-application-raspberry-pi

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