计算化学公社

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

[GROMACS] 求助:关于mdp文件中awh选项的设置问题

[复制链接 Copy URL]

109

帖子

0

威望

499

eV
积分
608

Level 4 (黑子)

跳转到指定楼层 Go to specific reply
楼主
我想用gromacs模拟在xy方向上俩个分子之间的PMF,设置mdp文件后grompp出现如下报错
ERROR 1 [file awh1_1.mdp, line 85]:
  One pull coordinate (1) cannot be mapped to two separate AWH dimensions
  (awh1-dim1 and awh1-dim2). If this is really what you want to do you will
  have to duplicate this pull coordinate.


ERROR 2 [file awh1_1.mdp, line 85]:
  One pull coordinate (1) cannot be mapped to two separate AWH dimensions
  (awh1-dim2 and awh1-dim1). If this is really what you want to do you will
  have to duplicate this pull coordinate.

想请问一下各位这是什么原因(附上我的mdp文件)

awh1_1.mdp

4.2 KB, 下载次数 Times of downloads: 6

143

帖子

3

威望

4430

eV
积分
4633

Level 6 (一方通行)

2#
发表于 Post on 2023-10-30 23:01:49 | 只看该作者 Only view this author
报错信息的指示很明确,就是复制一下pull coordinates:

  1. pull                     = yes                 ; The reaction coordinate (RC) is defined using pull coordinates.
  2. pull-ngroups             = 4                   ; The number of atom groups needed to define the pull coordinate.
  3. pull-ncoords             = 2                   ; Number of pull coordinates.
  4. pull-nstxout             = 10000               ; Step interval to output the coordinate values to the pullx.xvg.
  5. pull-nstfout             = 10000               ; Step interval to output the applied force (skip here).
  6.                                                
  7. pull-group1-name         = Li                  ; Name of pull group 1 corresponding to an entry in an index file.
  8. pull-group2-name         = SO3                 ; Same, but for group 2.
  9. pull-group3-name         = Li                  ; Name of pull group 1 corresponding to an entry in an index file.
  10. pull-group4-name         = SO3                 ; Same, but for group 2.
  11.                                                
  12. pull-coord1-groups       = 1 2                 ; Which groups define coordinate 1? Here, groups 1 and 2.
  13. pull-coord1-geometry     = distance            ; How is the coordinate defined? Here by the COM distance.
  14. pull-coord1-dim          = Y N N
  15. pull-coord1-start        = yes
  16. pull-coord1-type         = external-potential  ; Apply the bias using an external module.
  17. pull-coord1-potential-provider = AWH           ; The external module is called AWH!

  18. pull-coord2-groups       = 3 4                 ; Which groups define coordinate 1? Here, groups 1 and 2.
  19. pull-coord2-geometry     = distance            ; How is the coordinate defined? Here by the COM distance.
  20. pull-coord2-dim          = N Y N
  21. pull-coord2-start        = yes
  22. pull-coord2-type         = external-potential  ; Apply the bias using an external module.
  23. pull-coord2-potential-provider = AWH           ; The external module is called AWH!
复制代码


不确定改得对不对,你可以试试看能不能跑起来。

109

帖子

0

威望

499

eV
积分
608

Level 4 (黑子)

3#
 楼主 Author| 发表于 Post on 2023-10-31 08:55:54 | 只看该作者 Only view this author
laoman 发表于 2023-10-30 23:01
报错信息的指示很明确,就是复制一下pull coordinates:

您好,非常感谢您的回复,我根据您给的选项修改了我的mdp文件但出现了新的报错Command line:
  gmx-2023.1 grompp -f awh1_1.mdp -c equilibrium.gro -p 4NS_Li_water.top -n index.ndx -po awh1_1ine.mdp -o awh1.tpr

Ignoring obsolete mdp entry 'title'
Ignoring obsolete mdp entry 'optimize_fft'
Ignoring obsolete mdp entry 'ns_type'
Replacing old mdp entry 'nstxtcout' by 'nstxout-compressed'
Setting the AWH bias MC random seed to -17303889

ERROR 1 [file awh1_1.mdp, line 94]:
  The given AWH coordinate index (3) is larger than the number of pull
  coordinates (2)


ERROR 2 [file awh1_1.mdp, line 94]:
  Setting pull-coord3-rate (3.23219e-40) is incompatible with AWH biasing
  this coordinate

Setting the LD random seed to 2080208251

Generated 364231 of the 364231 non-bonded parameter combinations
Generating 1-4 interactions: fudge = 0.5

Generated 364231 of the 364231 1-4 parameter combinations

Excluding 3 bonded neighbours molecule type 'GO1'

turning H bonds into constraints...

Excluding 3 bonded neighbours molecule type 'GO2'

turning H bonds into constraints...

Excluding 1 bonded neighbours molecule type 'NA'

turning H bonds into constraints...

Excluding 1 bonded neighbours molecule type 'LI'

turning H bonds into constraints...

Excluding 1 bonded neighbours molecule type 'CL'

turning H bonds into constraints...

Excluding 2 bonded neighbours molecule type 'SOL'

turning H bonds into constraints...

-------------------------------------------------------
Program:     gmx grompp, version 2023.1
Source file: src/gromacs/gmxpreprocess/grompp.cpp (line 2198)

Fatal error:
There were 2 errors in input file(s)

For more information and tips for troubleshooting, please check the GROMACS
website at http://www.gromacs.org/Documentation/Errors
-------------------------------------------------------
我不确定是不是因为我的体系中只加入了一个Li离子导致无法向俩个方向拉伸,请问您知道这是怎么回事吗

143

帖子

3

威望

4430

eV
积分
4633

Level 6 (一方通行)

4#
发表于 Post on 2023-10-31 16:35:09 | 只看该作者 Only view this author
wanzongliang 发表于 2023-10-31 08:55
您好,非常感谢您的回复,我根据您给的选项修改了我的mdp文件但出现了新的报错Command line:
  gmx-2023 ...

pull-coord duplicate之后应该只有pull-coord1和pull-coord2,不知道你的pull-coord3是怎么来的。剩下的还是那句话,理解Error说的意思,结合官网的说明来修改mdp。你这只有一个mdp文件,我也爱莫能助。

109

帖子

0

威望

499

eV
积分
608

Level 4 (黑子)

5#
 楼主 Author| 发表于 Post on 2023-10-31 17:44:43 | 只看该作者 Only view this author
laoman 发表于 2023-10-31 16:35
pull-coord duplicate之后应该只有pull-coord1和pull-coord2,不知道你的pull-coord3是怎么来的。剩下的 ...

好的万分感谢

本版积分规则 Credits rule

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

GMT+8, 2026-2-20 06:49 , Processed in 0.194138 second(s), 23 queries , Gzip On.

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