计算化学公社

 找回密码 Forget password
 注册 Register
Views: 319|回复 Reply: 2
打印 Print 上一主题 Last thread 下一主题 Next thread

[GROMACS] 超胞和溶液的共同盒子发生能量极小化异常和动力学报错

[复制链接 Copy URL]

22

帖子

0

威望

301

eV
积分
323

Level 3 能力者

本帖最后由 syarnold 于 2025-2-20 21:11 编辑

各位老师,我使用packmol对超胞和溶液生成了一个盒子,然后通过GROMACS跑动力学模拟的过程中遇到了报错,其中能量极小化异常如下:

WARNING: Listed nonbonded interaction between particles 8099 and 8101
at distance 2.884 which is larger than the table limit 1.945 nm.


This is likely either a 1,4 interaction, or a listed interaction inside
a smaller molecule you are decoupling during a free energy calculation.
Since interactions at distances beyond the table cannot be computed,
they are skipped until they are inside the table limit again. You will
only see this message once, even if it occurs for several interactions.


IMPORTANT: This should not happen in a stable simulation, so there is
probably something wrong with your system. Only change the table-extension
distance in the mdp file if you are really sure that is the reason.




Step 20, Epot=2.800657e+07, Fnorm=8.503e+05, Fmax=1.485e+07 (atom 6581)
Step 21, Epot=4.157206e+10, Fnorm=3.610e+10, Fmax=1.525e+12 (atom 3475)
Step 22, Epot=1.044017e+13, Fnorm=2.261e+13, Fmax=1.575e+15 (atom 3308)
Step 23, Epot=1.194615e+12, Fnorm=2.991e+12, Fmax=2.292e+14 (atom 5029)
Step 24, Epot=6.779990e+12, Fnorm=1.838e+13, Fmax=1.546e+15 (atom 2676)
Step 25, Epot=2.830741e+16, Fnorm=      inf, Fmax=      inf (atom 2479) 有时候会在这步卡主,有时候会过去,过去后会提示如下:


Energy minimization has stopped, but the forces have not converged to the
requested precision Fmax < 100 (which may not be possible for your system).
It stopped because the algorithm tried to make a new step whose size was too
small, or there was no change in the energy since last step. Either way, we
regard the minimization as converged to within the available machine
precision, given your starting configuration and EM parameters.


Double precision normally gives you higher accuracy, but this is often not
needed for preparing to run molecular dynamics.


writing lowest energy coordinates.


Polak-Ribiere Conjugate Gradients converged to machine precision in 129 steps,
but did not reach the requested Fmax < 100.
Potential Energy  =  3.4181414e+08
Maximum force     =  2.2467842e+08 on atom 12096
Norm of force     =  2.3482725e+06


跑动力学则发生过两种报错:
第一种:
Program:     gmx mdrun, version 2020.6-MODIFIED
Source file: src\gromacs\pbcutil\mshift.cpp (line 904)

Fatal error:
There are inconsistent shifts over periodic boundaries in a molecule type
consisting of 304 atoms. The longest distance involved in such interactions is
2.286 nm which is above half the box length. Either you have excessively large
distances between atoms in bonded interactions or your system is exploding.


第二种:
Fatal error: Step 0: The total potential energy is 1.24207e+14, which is extremely high.

我在之前和之后都试过将完全相同的超胞溶液盒子分别进行动力学模拟,都可以正常进行计算,但是合起来就不行,还请各位大佬指点迷津。




box.jpg (487.98 KB, 下载次数 Times of downloads: 2)

超胞和溶液共同组成的盒子

超胞和溶液共同组成的盒子

Analgin-.itp

27.42 KB, 下载次数 Times of downloads: 0

em.mdp

390 Bytes, 下载次数 Times of downloads: 0

ethanol.itp

5.62 KB, 下载次数 Times of downloads: 0

md.mdp

677 Bytes, 下载次数 Times of downloads: 0

METMIZ10-8Mols.itp

221.32 KB, 下载次数 Times of downloads: 0

mix.top

373 Bytes, 下载次数 Times of downloads: 0

water.itp

969 Bytes, 下载次数 Times of downloads: 0

box-supercell-xy.pdb.rar

191.18 KB, 下载次数 Times of downloads: 0

6万

帖子

99

威望

5万

eV
积分
120192

管理员

公社社长

2#
发表于 Post on 2025-2-21 07:35:29 | 只看该作者 Only view this author
此类问题照着http://sobereva.com/soft/Sobtop#FAQ8一点点排查
北京科音自然科学研究中心http://www.keinsci.com)致力于计算化学的发展和传播,长期开办极高质量的各种计算化学类培训:初级量子化学培训班中级量子化学培训班高级量子化学培训班量子化学波函数分析与Multiwfn程序培训班分子动力学与GROMACS培训班CP2K第一性原理计算培训班,内容介绍以及往届资料购买请点击相应链接查看。这些培训是计算化学从零快速入门以及进一步全面系统性提升研究水平的高速路!培训各种常见问题见《北京科音办的培训班FAQ》
欢迎加入北京科音微信公众号获取北京科音培训的最新消息,并避免错过网上有价值的计算化学文章!
欢迎加入人气极高、专业性特别强的理论与计算化学综合交流群思想家公社QQ群(群号见此链接),合计达一万多人。北京科音培训班的学员在群中可申请VIP头衔,提问将得到群主Sobereva的最优先解答。
思想家公社的门口Blog:http://sobereva.com(发布大量原创计算化学相关博文)
Multiwfn主页:http://sobereva.com/multiwfn(十分强大、极为流行的量子化学波函数分析程序)
Google Scholar:https://scholar.google.com/citations?user=tiKE0qkAAAAJ
ResearchGate:https://www.researchgate.net/profile/Tian_Lu

22

帖子

0

威望

301

eV
积分
323

Level 3 能力者

3#
 楼主 Author| 发表于 Post on 2025-2-24 11:22:10 | 只看该作者 Only view this author
本帖最后由 syarnold 于 2025-2-24 11:24 编辑

感谢社长的指点,经过不断的排查,最终发现并解决了问题。

问题还是出在结构上,这里帮同为新手的小伙伴避个坑,结构的问题出在超胞上。晶胞本身是没有问题,但是由于扩胞过程中边界会截断一些分子,导致一些游离原子“漂”在边界附近。如果是单独超胞的盒子(周期性边界紧挨着超胞)那是可以直接跑MD的,但如果像我这样在超胞的某个边界另加了其他分子(扩大了周期性边界,不在超胞边上了),那么将可能导致体系出现崩溃。

解决方法是先跑一个单独超胞盒子的MD,然后从结果中选一帧所有分子都完整的另存下来,再以此为基础重新生成新的超胞+溶剂的盒子。

1.png (108.05 KB, 下载次数 Times of downloads: 0)

1.png

本版积分规则 Credits rule

手机版 Mobile version|北京科音自然科学研究中心 Beijing Kein Research Center for Natural Sciences|京公网安备 11010502035419号|计算化学公社 — 北京科音旗下高水平计算化学交流论坛 ( 京ICP备14038949号-1 )|网站地图

GMT+8, 2025-8-18 02:20 , Processed in 0.198778 second(s), 23 queries , Gzip On.

快速回复 返回顶部 返回列表 Return to list