MPI运行时显示[proxy:0:0@localhost.localdomain] HYDU_create_process解决办法总结:
刚刚在自己的虚拟机上安装好了MPICH,准备运行一下example里面的Hellow.c,
先用mpicc -o hellow hellow.c编译,没有报错
再用mpirun -np 4 hellow 和mpiexec -np 4 hellow都出现这样的错误
[proxy:0:0@localhost.localdomain] HYDU_create_process (./utils/launch/launch.c:75): execvp error on file hellow.c (No such file or directory)
初步解决办法
(1)、先编译: mpicc -o hellow hellow.c
(2)、在hellow的当前目录下运行:
mpiexec -np 4 ./hellow
或者mpirun -np 4 ./hellow
MPI运行时显示[proxy:0:0@localhost.localdomain] HYDU_create_process
原文地址:http://12310166.blog.51cto.com/12300166/1917740