24小时热门版块排行榜    

查看: 1674  |  回复: 5
当前主题已经存档。
当前只显示满足指定条件的回帖,点击这里查看本话题的所有回帖

imation

铁杆木虫 (正式写手)

[交流] castep多核运算的问题

大家好,我有一台服务器,cpu为至强clovertown双路四核,每个核心频率是2ghz,内存667,4条,单条1g,操作系统装过2003中文版,sp1和sp2,也装过英文版sp1,2008英文版sp1
我尝试着运行tutorial里面的co分子adsorption在pb表面,一个核心运行很正常,1个小时就有结果,可是8个核心就总是失败,出现的问题也是千奇百怪:
1)进程castep,共八个,可是运行一会儿以后,自动减少到5个,有一次甚至减少到1个,内存无释放,有时任务失败,有时一直运算,但结果遥遥无期
2)cpu利用率在开始计算时为满负荷,经过1到5分钟,降到1~3%,内存没有释放,过10分钟左右,任务失败
3)尝试改变核心数目,发现1到3个都可以正常运行得到结果,超过3个就失败
4)还有n多错误,其中出现最多一个(每次都是在第一个点时出现),代码如下:

*Warning* max. SCF cycles performed but system has not reached the groundstate.
  
Current total energy, E     =  -5951.893478460     eV
Current free energy (E-TS)  =  -5951.990514506     eV
(energies not corrected for finite basis set)

NB est. 0K energy (E-0.5TS)      =  -5951.941996483     eV

  ****************************************************************************
  Warning: electronic minimisation did not converge when finding ground state.
  ****************************************************************************

Writing model to 1.check
Error in geom_get_forces - electronic_minimisation of current_cell failed
Error in geom_get_forces - electronic_minimisation of current_cell failed
Error in geom_get_forces - electronic_minimisation of current_cell failed
Error in geom_get_forces - electronic_minimisation of current_cell failed
[1] MPI Abort by user Aborting program !
[1] Aborting program!
[2] MPI Abort by user Aborting program !
[2] Aborting program!
[0] MPI Abort by user Aborting program !
[0] Aborting program!
forrtl: severe (47): write to READONLY file, unit 60, file D:\PROGRA~1\Accelrys\MATERI~1.1\Gateway\root_default\dsd\jobs\4GLA1\killfile
Image              PC        Routine            Line        Source            
castepexe_mpi.exe  00AB6CC2  Unknown               Unknown  Unknown
castepexe_mpi.exe  00AB3F50  Unknown               Unknown  Unknown
castepexe_mpi.exe  00A42B9E  Unknown               Unknown  Unknown
castepexe_mpi.exe  00A427BB  Unknown               Unknown  Unknown
castepexe_mpi.exe  00A246D1  Unknown               Unknown  Unknown
castepexe_mpi.exe  009F8E7B  Unknown               Unknown  Unknown
castepexe_mpi.exe  009F8EAF  Unknown               Unknown  Unknown
castepexe_mpi.exe  004FB352  Unknown               Unknown  Unknown
castepexe_mpi.exe  004E5281  Unknown               Unknown  Unknown
castepexe_mpi.exe  004DC8D0  Unknown               Unknown  Unknown
castepexe_mpi.exe  00402353  Unknown               Unknown  Unknown
castepexe_mpi.exe  00ABE578  Unknown               Unknown  Unknown
castepexe_mpi.exe  00A904BB  Unknown               Unknown  Unknown
kernel32.dll       7C82F23B  Unknown               Unknown  Unknown

我尝试增加maximum iterations到1000,Max SCF cycles到5000,八核并行运算,算了2天半,正常,我stop运算,在输出中发现还是有些错误:
WARNING - user ionic constraints and symmetry specified
        - symmetry has precedence over constraints
        - may lead to a conflict?

HINT    - if convergence fails try switching symmetry OFF






BFGS: Warning - trial step suggests complex energy landscape
                 in which simple line minimization will fail.
  
               - This is usually an indication that the forces/streses
                 are not accurate enough. Consider increasing the cutoff
                 energy and/or the electronic convergence tolerance.
  
               - Proceeding with a bisection search to find root instead.




Warning: There are no empty bands for at least one kpoint and spin; this may
          slow the convergence and/or lead to an inaccurate groundstate.
          If this warning persists, you should consider increasing nextra_bands
          and/or reducing smearing_width in the param file.
          Recommend using nextra_bands of 14 to 29.  




BFGS: Warning - Repeated consecutive reset of inverse Hessian
BFGS:           without satisfying convergence criteria which
BFGS:           looks like BFGS has run out of search directions.
BFGS: Warning - Lets try allowing some uphill steps and see if
BFGS:           we can get around this barrier.
BFGS: Warning - It is possible that the system may now converge to
BFGS:           a stationary point OTHER than the desired minimum.
BFGS: Hint    - this may be an indication that either:
BFGS:           a) you are using a poor guess at geom_frequency_est
BFGS:           and/or geom_modulus_est, or
BFGS:           b) you are using unrealistic convergence criteria.
BFGS:           Suggest therefore that you consider changing them!


等等,就不一一列出了
我的问题是,为何单核1个小时就能算出来的project,多核要么不能运算,要么运算起来比单核还要慢得多?是不是多核并行处理的时候数据交换有问题啊?

谢谢,不知道描叙清楚了没有
回复此楼

» 猜你喜欢

» 本主题相关商家推荐: (我也要在这里推广)

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

imation

铁杆木虫 (正式写手)

呵呵,这儿高手挺多的,而且很热心

谢谢carlon,我对量子力学不熟悉,我自己主要用discover模块,这个castep程序是帮师兄做的,因为是新机器,一直没发现这个问题,所以出现问题以后,让服务器提供商来搞了几次都没成功

以后多多向大家请教
3楼2007-12-07 22:26:34
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
查看全部 6 个回答

carlon

金虫 (小有名气)

★ ★
csfn(金币+2,VIP+0):感谢积极的交流 :-) 欢迎常来
多个cpu运行的话,容易出错。只要其中一个进程出错,计算就不会有结果
此时其他进程仍在运行,这可能就是为什么1个cpu1个小时算完,多cpu运行算很久没有结果的原因。
另外,在多个cpu运行过程中,上面还有很多warning信息
1。HINT    - if convergence fails try switching symmetry OFF
这里可能是限制对称性,导致不好收敛,或者给原子设置了constrain,有时候收敛困难,可以在计算的时候去掉symmetry,试试看。
2。BFGS: Warning - trial step suggests complex energy landscape
                 in which simple line minimization will fail.
平面波cutoff设置可能过小。
3。empty band空带数不足,如果体系是金属性的话,不容易收敛。
2楼2007-12-07 21:25:38
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

cometring

木虫 (著名写手)

爱你就等于爱自己

这里确实高手很多
与超版斗,其乐无穷;与斑竹斗,其乐无穷;与虫子斗,其乐无穷。
4楼2007-12-08 14:48:52
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

kuner

铁虫 (正式写手)

我也有这样的问题,单核比多核还快
6楼2008-10-19 00:23:30
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
普通表情 高级回复 (可上传附件)
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[基金申请] 什么时候开奖? +4 CrisMessi 2026-08-18 4/200 2026-08-19 00:53 by gatelove
[基金申请] 咱们一起用铁证分析2026国家社科基金中标与否 +7 启萌科技 2026-08-12 27/1350 2026-08-18 21:44 by Noways
[教师之家] 为什么余额宝的年化利率越来越低?主要原因有哪些? +3 瞬息宇宙 2026-08-15 3/150 2026-08-18 21:40 by xiaohuixin
[基金申请] 2027广东省杰青 +3 奶牛小黑 2026-08-15 9/450 2026-08-18 20:09 by 奶牛小黑
[基金申请] 朋友圈看到的 +4 wangzilk 2026-08-18 5/250 2026-08-18 19:25 by wangzilk
[基金申请] 欢迎发来filecode的Mz6后的代码验证其规律 +51 医学老男孩 2026-08-13 110/5500 2026-08-18 19:07 by icerianxia
[基金申请] 明天放榜? +5 Shxjjxjkx 2026-08-18 5/250 2026-08-18 18:14 by -大大大大大-
[基金申请] 时间戳变了,能看出什么问题? +8 基诺咪客 2026-08-17 11/550 2026-08-18 17:13 by 悠然熊猫
[基金申请] 重要消息,中午系统在维护 +9 yuleib84 2026-08-18 10/500 2026-08-18 16:52 by archvillain
[论文投稿] 投稿咨询 +4 wwm09 2026-08-17 6/300 2026-08-18 15:36 by wwm09
[基金申请] 时间戳又变了8-15 +14 archvillain 2026-08-15 26/1300 2026-08-18 13:37 by phantomgost
[基金申请] 哪位老哥知道今年的国自然具体哪一天放榜? +13 Ldrop2023 2026-08-13 16/800 2026-08-18 12:25 by 淀粉搬运工
[基金申请] 快农历七夕节了,轻松一下,男人悄悄话,女施主请不要进来。 +4 Tide man 2026-08-14 5/250 2026-08-18 11:35 by Tide man
[基金申请] 93BebMhtakh前后11位开头都是大写 +4 且听虎啸 2026-08-17 5/250 2026-08-18 00:49 by 蔡棒棒菂
[基金申请] 今天系统多次维护,明天很可能放榜! +8 zju2000 2026-08-16 9/450 2026-08-17 12:20 by lmz0216
[精细化工] 招聘 金属平磨液,抛光液研发工程师 +3 小天0311 2026-08-14 3/150 2026-08-16 07:31 by H9PLUS
[基金申请] 各位道友,我要去昆明玩几天,回来见。 +7 Tide man 2026-08-14 8/400 2026-08-15 01:11 by arzu_hma
[基金申请] 重要来源:本周末出结果 +10 瞬息宇宙 2026-08-12 10/500 2026-08-13 15:46 by likettle
[基金申请] Filecode 又变了,巨变 +3 WH3796 2026-08-12 4/200 2026-08-13 14:13 by 小木虫6752397
[基金申请] 结合人工智能,周易传统文化,filecode打分制来了,3分以上希望很大。 +3 Tide man 2026-08-12 4/200 2026-08-13 08:35 by ZJTJZ
信息提示
请填处理意见