24小时热门版块排行榜    

查看: 7177  |  回复: 7

小莫2016

新虫 (小有名气)

[求助] QE并行计算问题,单核可运行,但多核无法运行 已有2人参与

sunxiaomo@sunxiaomo-MS-7A68:~/下载/qe6.1/qe-6.1/QE project/aa$ source /etc/profile
sunxiaomo@sunxiaomo-MS-7A68:~/下载/qe6.1/qe-6.1/QE project/aa$ mpirun -np 2 pw.x < scf.in > a.out
from test_input_xml: input file not opened or empty
At line 1963 of file read_namelists.f90 (unit = 9, file = 'input_tmp.in')
Fortran runtime error: End of file

Error termination. Backtrace:
#0  0x7f37f73a5ed7 in ???
#1  0x7f37f73a6a75 in ???
#2  0x7f37f73a722c in ???
#3  0x7f37f7473303 in ???
#4  0x7f37f7473857 in ???
#5  0x7f37f74709e3 in ???
#6  0x7f37f74756e4 in ???
#7  0x55c86232e8a6 in check_namelist_read
        at /home/sunxiaomo/下载/qe6.1/qe-6.1/Modules/read_namelists.f90:1963
#8  0x55c862336a01 in __read_namelists_module_MOD_read_namelists
        at /home/sunxiaomo/下载/qe6.1/qe-6.1/Modules/read_namelists.f90:1831
#9  0x55c86232e5d3 in __read_input_MOD_read_input_file
        at /home/sunxiaomo/下载/qe6.1/qe-6.1/Modules/read_input.f90:68
#10  0x55c86204a950 in pwscf
        at /home/sunxiaomo/下载/qe6.1/qe-6.1/PW/src/pwscf.f90:47
#11  0x55c86204a5ee in main
        at /home/sunxiaomo/下载/qe6.1/qe-6.1/PW/src/pwscf.f90:30
--------------------------------------------------------------------------
mpirun detected that one or more processes exited with non-zero status, thus causing
the job to be terminated. The first process to do so was:

  Process name: [[47693,1],1]
  Exit code:    2
--------------------------------------------------------------------------
openmpi已安装,QE也已经并行编译了,还是报错,请虫友解答,不胜感激!!!!
回复此楼
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

未岸亡灵

铁杆木虫 (著名写手)

暂时离开小木虫


【答案】应助回帖

感谢参与,应助指数 +1
你编的是串行,没有编译并行的版本吧
2楼2018-06-02 08:13:06
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

漫天飘雪

版主 (知名作家)

认真做事,踏实做人

没有编译好
http://blog.sciencenet.cn/u/pfliu89
3楼2018-06-02 18:52:28
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

小莫2016

新虫 (小有名气)

引用回帖:
2楼: Originally posted by 未岸亡灵 at 2018-06-02 08:13:06
你编的是串行,没有编译并行的版本吧

已安装了opnmpi,并且在之后./configure了。这个应该算编译好了吧?但是还是有这个问题
4楼2018-06-04 16:10:45
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

小莫2016

新虫 (小有名气)

引用回帖:
3楼: Originally posted by 漫天飘雪 at 2018-06-02 18:52:28
没有编译好

openmpi已经安装,安装后编译了QE。还是出现这个问题
5楼2018-06-04 16:11:48
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

小莫2016

新虫 (小有名气)

现在的问题变成了,只在刚开机的时候能够运行并行计算,但是当运行完一个并行计算后,新的计算无法并行计算。错误提示是
application called MPI_Abort(MPI_COMM_WORLD, 1) - process 0
[unset]: write_line error; fd=-1 buf=:cmd=abort exitcode=1
:
system msg for write_line failure : Bad file descriptor
application called MPI_Abort(MPI_COMM_WORLD, 1) - process 0
[unset]: write_line error; fd=-1 buf=:cmd=abort exitcode=1
:
system msg for write_line failure : Bad file descriptor
--------------------------------------------------------------------------
mpirun detected that one or more processes exited with non-zero status, thus causing
the job to be terminated. The first process to do so was:

  Process name: [[52576,1],0]
  Exit code:    1
请问这是为什么?
6楼2018-06-04 16:57:50
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

未岸亡灵

铁杆木虫 (著名写手)

暂时离开小木虫


【答案】应助回帖

引用回帖:
5楼: Originally posted by 小莫2016 at 2018-06-04 16:11:48
openmpi已经安装,安装后编译了QE。还是出现这个问题...

不说说安装了openmpi,configure就能配置好它,需要看看结果make.inc文件
7楼2018-06-07 16:54:33
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

wujiandongde

木虫 (小有名气)

【答案】应助回帖

mpirun -np 4 pw.x  -i al.band.cg.in > al.band.cg.out  试试这个语句提交
8楼2018-08-27 19:37:45
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 小莫2016 的主题更新
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[基金申请] 投票:  有多少人是今天查系统知道结果的? +15 爱看书的可乐 2026-08-26 17/850 2026-08-27 05:22 by xxniao123
[基金申请] 国自然面上复盘~欢迎讨论 +5 晴天加油 2026-08-26 6/300 2026-08-27 04:49 by littlezl
[硕博家园] 售SCI一区T0P文章,我:8.O.55.1.O.54,科目齐全,可+急 +3 LIbGuocjEEYw 2026-08-26 4/200 2026-08-27 02:01 by Ie9AyIAvGbvs
[基金申请] 看板上这么多中的,有点像50人群里49个人都是骗子的那种感觉…… +3 a089 2026-08-26 3/150 2026-08-26 23:21 by young90
[基金申请] 系统查不到 +10 董八千 2026-08-26 10/500 2026-08-26 16:30 by Equinoxhua
[基金申请] 怎么查啊 +5 huang1991js 2026-08-26 5/250 2026-08-26 16:09 by Equinoxhua
[基金申请] 哪位高人中了,把查询到的截图贴出来让我看看,让我长长见识 +4 yuleib84 2026-08-26 5/250 2026-08-26 13:40 by yuleib84
[基金申请] 为什么国自然不能直接公布 +4 bjdxyxy 2026-08-26 4/200 2026-08-26 13:12 by qingmu1201
[基金申请] 科研孤儿太难了 +21 我4大白菜 2026-08-20 22/1100 2026-08-26 11:29 by nlgza
[基金申请] 国合里面能看到了 +7 一怀馨秋 2026-08-26 7/350 2026-08-26 11:23 by zhaosm1982
[基金申请] 项目信息和经费信息在系统里都可以看到了 +6 wittyboy 2026-08-26 14/700 2026-08-26 10:55 by wittyboy
[基金申请] 国合可查了 +3 paperzjh 2026-08-26 3/150 2026-08-26 10:41 by LemmonTr
[基金申请] 今天务委会开完了,明天出结果吗 +19 angus9576 2026-08-25 23/1150 2026-08-26 10:03 by zp519
[基金申请] 牛来!米来!面来! +8 beefly 2026-08-26 8/400 2026-08-26 08:37 by xuzhipiao
[基金申请] 在坚冰还盖着北海的时候,我看到了怒放的梅花。 (金币+10) +6 ziyangfang 2026-08-25 9/450 2026-08-25 20:26 by huagongfeihu
[基金申请] 今日不放榜?网传国自然预计 8 月 27 日可查结果 +17 医学老男孩 2026-08-20 22/1100 2026-08-25 15:36 by 医学老男孩
[基金申请] 如果此刻你正在为国基感到焦虑,不妨来听听这首《基金之外》 +8 scalable 2026-08-24 8/400 2026-08-25 12:52 by jnhyjjm
[基金申请] 人气不行了 +11 fansofjerry 2026-08-21 11/550 2026-08-25 11:04 by 孤独的英雄6
[教师之家] 导师吐槽:我怎么摊上了这么个极品研究生! +3 苏东坡二世 2026-08-23 3/150 2026-08-25 10:35 by shisan1313
[基金申请] 时间戳又变了 +13 wuchongjun 2026-08-20 19/950 2026-08-21 17:21 by 紫杉醇
信息提示
请填处理意见