24小时热门版块排行榜    

查看: 2370  |  回复: 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 的主题更新
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考博] 澳大利亚 Murdoch University 全奖博士招生(3个名额)地质化工冶金领域 +19 AI8RaGaPaSCR 2026-08-07 20/1000 2026-08-13 18:45 by xpoHTqHwPD8x
[基金申请] 静等基金结果 +8 gjjjzhong 2026-08-10 21/1050 2026-08-13 17:56 by 且听虎啸
[基金申请] FileCode能看出啥? +10 要乐观耀哥 2026-08-10 28/1400 2026-08-13 17:51 by 医学老男孩
[基金申请] 有时候,自然基金真的不能太认真 (我的申报经验) +4 majunge000 2026-08-11 6/300 2026-08-13 16:50 by 四季常青藤
[基金申请] 重要来源:本周末出结果 +10 瞬息宇宙 2026-08-12 10/500 2026-08-13 15:46 by likettle
[基金申请] 咱们一起用铁证分析2026国家社科基金中标与否 +3 启萌科技 2026-08-12 6/300 2026-08-13 15:34 by 高飞的梦想
[基金申请] 不应该看fileCode +7 且听虎啸 2026-08-12 9/450 2026-08-13 14:27 by flydreamws
[基金申请] 关于Filecode分析方法 +9 majunge000 2026-08-10 11/550 2026-08-13 10:40 by ZH远山
[基金申请] 2019年青年基金涵评意见,大家看看几个A,几个B? +11 Tide man 2026-08-11 11/550 2026-08-13 07:35 by 撸猫猫
[基金申请] 应该是93bebmhtak前后十一个字符比较关键 +22 Lanmanbaby 2026-08-09 36/1800 2026-08-12 22:50 by sdfapple719
[基金申请] 好奇怪的filecode +5 布布和一二 2026-08-08 6/300 2026-08-12 16:11 by 云上清扬
[基金申请] 奇怪,两个人的filecode固定段从头到尾一模一样 +7 布布和一二 2026-08-10 10/500 2026-08-12 09:12 by 布布和一二
[基金申请] 为什么网上很多人说本周 12号出结果 +6 瞬息宇宙 2026-08-10 7/350 2026-08-11 19:25 by Tide man
[硕博家园] 读博的好处 +3 lnee 2026-08-11 3/150 2026-08-11 18:10 by 希望我好好的
[基金申请] 什么时候出结果,有咨询渠道??? +3 Tide man 2026-08-11 3/150 2026-08-11 17:54 by kudofaye
[基金申请] 确定了,国自然21号放榜 +6 布布和一二 2026-08-10 7/350 2026-08-10 19:15 by 2000zf36392
[基金申请] 国自然结果 +4 Vierhys 2026-08-10 8/400 2026-08-10 15:06 by Vierhys
[基金申请] 2026国自然放榜时间 +9 布布和一二 2026-08-08 9/450 2026-08-10 11:22 by xxxx2020
[基金申请] fileCode有新解读? +10 Tide man 2026-08-08 18/900 2026-08-09 12:55 by 仁砚薪传
[基金申请] 化学口download_prp&fileCode的固定段好像这几天一直没变,有变的大神么? +3 Tide man 2026-08-07 4/200 2026-08-07 22:39 by Tide man
信息提示
请填处理意见