24小时热门版块排行榜    

CyRhmU.jpeg
查看: 1769  |  回复: 4

04nylxb

木虫 (正式写手)

[求助] 集群mpich2调试出问题mpdboot -n 无法启动

在集群搭建的时候,用的是mpich2-1.4.1p1,ssh nfs nis都已经OK,现在卡在mpi的调试上,一直无法启动跨节点的mpi,总是出现以下的错误,请问有解决方法不?都按照集群mpi进行配置了(mpd.hosts .mpd.hosts .mpd.conf  mpd.conf,然后都是600的权限),还是不行,是否需要重装mpich?
[root@node-1 ~]# mpdboot -n 4 -f mpd.hosts
Traceback (most recent call last):
  File "/usr/local/bin/mpdboot", line 482, in ?
    mpdboot()
  File "/usr/local/bin/mpdboot", line 234, in mpdboot
    (k,v) = kv.split('=',1)
ValueError: need more than 1 value to unpack

或者是这样的错误
[lixb@node-1 ~]$ mpdboot -n 2 -f mpd.hosts
unable to open (or read) hostsfile mpd.hosts
回复此楼

» 猜你喜欢

» 本主题相关价值贴推荐,对您同样有帮助:

集中精力发文章
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

bluewhale

铁杆木虫 (正式写手)

【答案】应助回帖

★ ★
感谢参与,应助指数 +1
gmy1990(金币+2): 2012-01-06 21:46:57
04nylxb(金币+5): ★★★很有帮助 谢谢啊 2012-01-06 22:38:47
我记得mpich2 1.4 根本不需要boot和exit daemon这二步了。我们天天在集群上运行,好像没有任何问题。Version 1.2是需要的。
2楼2012-01-06 20:02:48
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

04nylxb

木虫 (正式写手)

引用回帖:
2楼: Originally posted by bluewhale at 2012-01-06 20:02:48:
我记得mpich2 1.4 根本不需要boot和exit daemon这二步了。我们天天在集群上运行,好像没有任何问题。Version 1.2是需要的。

你好,非常感谢啊。
我直接运行mpirun的时候出现了这样的问题:请问有遇到过吗?谢谢啊
[lixb@node-1 ~]$ mpirun -machinefile /usr/local/mpich2-1.4.1p1/bin/nodes.LINUX -np 16 ./hellocluster >out1
--------------------------------------------------------------------------
Open RTE detected a parse error in the hostfile:
    /usr/local/mpich2-1.4.1p1/bin/nodes.LINUX
It occured on line number 2 on token 5:
    node-2
--------------------------------------------------------------------------
[node-1:25170] [[64214,0],0] ORTE_ERROR_LOG: Error in file base/ras_base_allocate.c at line 236
[node-1:25170] [[64214,0],0] ORTE_ERROR_LOG: Error in file base/plm_base_launch_support.c at line 72
[node-1:25170] [[64214,0],0] ORTE_ERROR_LOG: Error in file plm_rsh_module.c at line 990
--------------------------------------------------------------------------
A daemon (pid unknown) died unexpectedly on signal 1  while attempting to
launch so we are aborting.

There may be more information reported by the environment (see above).

This may be because the daemon was unable to find all the needed shared
libraries on the remote node. You may set your LD_LIBRARY_PATH to have the
location of the shared libraries on the remote nodes and this will
automatically be forwarded to the remote nodes.
--------------------------------------------------------------------------
--------------------------------------------------------------------------
mpirun noticed that the job aborted, but has no info as to the process
that caused that situation.
--------------------------------------------------------------------------
mpirun: clean termination accomplished
集中精力发文章
3楼2012-01-06 22:42:44
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

arsc

金虫 (小有名气)

【答案】应助回帖

★ ★ ★
04nylxb: 金币+3, ★★★很有帮助, 嗯,是的,我现在用的就是hydra了,呵呵 2012-05-25 19:38:51
我放棄了使用MPICH2,現在改用OPEN MPI,簡單方便得多‧MPICH2官方網站上面的FAQ說MPD已經不用了,因為太多問題,現在新版的MPICH2 已改用另一個PROCESS MANAGER
4楼2012-05-24 11:38:32
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

gmy1990

荣誉版主 (著名写手)

优秀版主优秀版主

【答案】应助回帖

★ ★ ★ ★ ★
04nylxb: 金币+5, ★★★很有帮助, 非常感谢,我现在用hydra了,就不用每次都启动mpd了,呵呵。 2012-05-25 19:37:47
引用回帖:
3楼: Originally posted by 04nylxb at 2012-01-06 22:42:44:
你好,非常感谢啊。
我直接运行mpirun的时候出现了这样的问题:请问有遇到过吗?谢谢啊
$ mpirun -machinefile /usr/local/mpich2-1.4.1p1/bin/nodes.LINUX -np 16 ./hellocluster >out1
------------------

确定下跨节点访问是否需要密码?
mpdtrace运行试试看有没启用mpd,检查你的mpd.hosts文件是否有误.
实在不行就重装(解决不了时,我就重装,相对还是安装起来比较方便)
5楼2012-05-24 16:00:43
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 04nylxb 的主题更新
信息提示
请填处理意见