XJTUhehuan的个人博客分享 http://blog.sciencenet.cn/u/XJTUhehuan

博文

lammps相同in文件却不同结果

已有 4591 次阅读 2018-4-16 10:52 |系统分类:科研笔记|关键词:学者

这几天在两台机器上跑lammps,偶然发现分别跑了两个一样的算例,但结果却有不一样,后来查了下手册,发现12.1 Common problems中写了如下一段话:

If two LAMMPS runs do not produce the exact same answer on different machines or different numbers of processors, this is typically not a bug.  In theory you should get identical answers on any number of processors and on any machine.  In practice, numerical round-off can cause slight differences and eventual divergence of molecular dynamics phase space trajectories within a few 100s or few 1000s of timesteps. However, the statistical properties of the two runs (e.g. average energy or temperature) should still be the same.


个人理解,瞬时量没有太大意义,做某个时间段的平均更有统计意义。

下面摘自lammps mailing test关于这种问题一个答复:

“you are comparing apples with oranges, i.e. numbers that have been averaged over 99 steps each 5 steps apart, with numbers from a single step.​ why *should* they be the same?”



https://m.sciencenet.cn/blog-3362186-1109257.html

上一篇:记好用的科研软件(随时不定期更新)
下一篇:Torque在CentOS7上单机安装

0

该博文允许注册用户评论 请点击登录 评论 (0 个评论)

数据加载中...

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-4-20 21:19

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部