24小时热门版块排行榜    

查看: 520  |  回复: 0

liwei2888379

铜虫 (小有名气)

[求助] 求助dlpoly的utility中msd使用的问题

求助,在使用dlpoly4.0.8的时候,在utility里有msdprg.f文件
采用gfortran msdprg.f -o msd.exe编译后
使用中,msd_input为
C_co2
HISTORY
formatted
430
1.0
1000
512
1
1
       25.8320000000        0.0000000000        0.0000000000
        0.0000000000       25.8320000000        0.0000000000
        0.0000000000        0.0000000000       25.8320000000
而msd_output为
# Mean Square Displacement Program
# name of target HISTORY file   : HISTORY                                 
# label  of atom  of interest   : C_co2   
# total no. of atoms in config  :      430
# length of correlation arrays  :      512
# number of configurations      :     1000
# sampling interval             :        1
# interval between origins      :        1
# time interval between configs :    1.000
# average cell vectors:
# vector A :   25.832000    0.000000    0.000000
# vector B :    0.000000   25.832000    0.000000
# vector C :    0.000000    0.000000   25.832000
# History file header: Raspa-1.0: input files for dlpoly

运行的时候报错就生成了上文的output
At line 550 of file msdprg.f (unit = 77, file = 'HISTORY')
Fortran runtime error: Bad value during integer read
然后我去看msdprg.f
      read(nhist,'(a8,4i10,f12.6)',end=200)
     x     step,nstep,matms,ktrj,imcon,tstep

      if(natms.ne.matms)then

        write(*,'(a)')'# error - incorrect number of atoms in file'
        write(*,'(a,i6,a)')'# file contains',matms,' atoms'
        stop

      endif
并没有发现什么问题啊? 所以这到底是什么问题呢,求大神指教
回复此楼

» 猜你喜欢

o.o
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 liwei2888379 的主题更新
信息提示
请填处理意见