24小时热门版块排行榜    

查看: 181  |  回复: 0

swordfish612

木虫 (正式写手)

[求助] 关于mpi运行问题求助

刚开始搞mpi,请各位高手指点

我在程序链接时(intel编译器)出现如下问题:
mpif90 -O3 -lmpi -o test *.o
报如下错误:
cannot find -lmpi
因此,我将-lmpi这一选项删除,程序链接通过。
但程序执行时又出现问题。我将当前目录设置到并行程序(test)所在目录下,在node01上执行如下命令:
mpirun -np 4 test
错误信息如下:
problem with execution of test on node01: No such file or directory
problem with execution of test on node01: No such file or directory
problem with execution of test on node01: No such file or directory
problem with execution of test on node01: No such file or directory

我用的Mpi版本较低,好像mpich1.x版本的,测试了下,mpd应该是已启动了
回复此楼
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

智能机器人

Robot (super robot)

我们都爱小木虫

找到一些相关的精华帖子,希望有用哦~

科研从小木虫开始,人人为我,我为人人
相关版块跳转 我要订阅楼主 swordfish612 的主题更新
信息提示
请填处理意见