免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2893 | 回复: 0
打印 上一主题 下一主题

[网络管理] MPICH出错求助 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-06-08 09:55 |只看该作者 |倒序浏览
两台虚拟机上的RHEL AS4U4 ,主机名分别为RHEL4A   RHEL4B
网络没问题,rsh 和ssh都配成无密码互相访问了,安装的mpich包是mpich2-1.0.5p4.tar.gz
./configure --prefix=/usr/local/mpi
make
make install也都正常

RHEL4A运行
mpd&
mpirun -np 2 cpi

Process 0 of 2 is on RHEL4A
Process 1 of 2 is on RHEL4A
pi is approximately 3.1415926544231318, Error is 0.0000000008333387
wall clock time = 0.007532

运行
mpirun -np 3 -host RHEL4A cpi

Process 2 of 3 is on RHEL4A
Process 1 of 3 is on RHEL4A
Process 0 of 3 is on RHEL4A
pi is approximately 3.1415926544231323, Error is 0.0000000008333392
wall clock time = 0.016403

(RHEL4B上运行以上两个也都正常)

再运行下面的就报错了,我在RHEL4A上执行
# mpirun -np 3 -host RHEL4B cpi

mpiexec: unable to start all procs; may have invalid machine names
    remaining specified hosts:
        10.0.10.203 (RHEL4B)

为什么A的mpich不能起B上的进程?

more /etc/hosts

127.0.0.1       localhost.localdomain   localhost
10.0.10.201     RHEL4A
10.0.10.203     RHEL4B


more /root/.rhosts
RHEL4B
RHEL4A

more /root/nodelist
RHEL4A
RHEL4B


请教在两台机器上执行mpich还需要特殊设置吗?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP