24小时热门版块排行榜    

CyRhmU.jpeg
查看: 1892  |  回复: 5
当前只显示满足指定条件的回帖,点击这里查看本话题的所有回帖

hexin1982

新虫 (小有名气)

[求助] 运行bands.x出错已有1人参与

计算Si的能带结构时,运行bands.x出错,给出的错误信息如下:
   Program BANDS v.5.0.2 (svn rev. 9392) starts on 16Mar2014 at 18:25:47

     
     This program is part of the open-source Quantum ESPRESSO suite
     
     for quantum simulation of materials; please cite
         
     "P. Giannozzi et al., J. Phys.:Condens. Matter 21 395502 (2009);
         
     URL http://www.quantum-espresso.org",
     
     in publications or presentations arising from this work. More details at
     
     http://www.quantum-espresso.org/quote.php

     
     Parallel version (MPI), running on     1 processors



%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
     
     Error in routine bands (1):
     gamma_only case not implemented

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

     
     stopping ...

这个问题已经困扰我好几天了。我上网查过,Pwscf_forum上有人问过这个问题,回答是espresso 5.0.2有bug,要下载安装espresso-5.0.2-5.0.3.diff,我也下载安装了 ,但运行还是出现上述错误。请高手不吝赐教!
回复此楼

» 猜你喜欢

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

已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

ccmin4

银虫 (小有名气)

引用回帖:
3楼: Originally posted by hexin1982 at 2014-03-18 09:24:22
谢谢你的回复!在我下载安装espresso-5.0.2-5.0.3.diff文件之前我就做过这一步了,把/PP/scr/bands.f90中 IF (gamma_only) CALL errore('bands','gamma_only case not implemented',1)这句放在CALL read_file()这句之 ...

espresso-5.0.2-5.0.3.diff补丁文件

请问这补丁是啥用的?
对不起
5楼2014-04-03 13:43:16
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
查看全部 6 个回答

souledge

专家顾问 (著名写手)

【答案】应助回帖


感谢参与,应助指数 +1
sunyang1988: 金币+1, 专家考核, 谢谢交流 2014-03-21 17:25:30
最简单粗暴的方法,把/PP/scr/bands.f90文件中
CODE:
IF ( .not. (gamma_only) ) CALL errore('bands','gamma_only case not implemented',1)

这句直接注释起来,然后重新编译就可以了。
思想重于技巧,内涵重于表象
2楼2014-03-17 23:49:07
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

hexin1982

新虫 (小有名气)

谢谢你的回复!在我下载安装espresso-5.0.2-5.0.3.diff文件之前我就做过这一步了,把/PP/scr/bands.f90中 IF (gamma_only) CALL errore('bands','gamma_only case not implemented',1)这句放在CALL read_file()这句之后。然后又安装了espresso-5.0.2-5.0.3.diff补丁文件,安装完后查看/PP/scr/bands.f90,确定IF (gamma_only) CALL errore('bands','gamma_only case not implemented',1)是在CALL read_file()之后。运行bands.x还是出现上述错误。你说的直接注释,重新编译是什么意思呢?
3楼2014-03-18 09:24:22
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

hexin1982

新虫 (小有名气)

问题已解决,谢谢!
4楼2014-03-18 10:37:44
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
信息提示
请填处理意见