计算化学公社

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

[GROMACS] 使用GMX+CPK2跑QM/MM模拟,在生成GMX-cpk2模拟文件时,报原子没有QMMM原子序数错误。

[复制链接 Copy URL]

171

帖子

0

威望

1745

eV
积分
1916

Level 5 (御坂)

使用GMX+CPK2跑QM/MM模拟,在生成GMX-cpk2模拟文件时,报原子没有QMMM原子序数错误。请问各位大神这个错误主要是怎么产生的,如何解决?
错误如下:

[jby@localhost test_water]$ gmx grompp -f md-qmmm.mdp -p topol.top -c md.gro -n index.ndx -o md_qmmm.tpr -maxwarn 10
     :-) GROMACS - gmx grompp, 2021.2-dev-UNCHECKED (double precision) (-:

                            GROMACS is written by:
     Andrey Alekseenko              Emile Apol              Rossen Apostolov
         Paul Bauer           Herman J.C. Berendsen           Par Bjelkmar
       Christian Blau           Viacheslav Bolnykh             Kevin Boyd
     Aldert van Buuren           Rudi van Drunen             Anton Feenstra
    Gilles Gouaillardet             Alan Gray               Gerrit Groenhof
       Anca Hamuraru            Vincent Hindriksen          M. Eric Irrgang
      Aleksei Iupinov           Christoph Junghans             Joe Jordan
    Dimitrios Karkoulis            Peter Kasson                Jiri Kraus
      Carsten Kutzner              Per Larsson              Justin A. Lemkul
       Viveca Lindahl            Magnus Lundborg             Erik Marklund
        Pascal Merz             Pieter Meulenhoff            Teemu Murtola
        Szilard Pall               Sander Pronk              Roland Schulz
       Michael Shirts            Alexey Shvetsov             Alfons Sijbers
       Peter Tieleman              Jon Vincent              Teemu Virolainen
     Christian Wennberg            Maarten Wolf              Artem Zhmurov
                           and the project leaders:
        Mark Abraham, Berk Hess, Erik Lindahl, and David van der Spoel

Copyright (c) 1991-2000, University of Groningen, The Netherlands.
Copyright (c) 2001-2019, The GROMACS development team at
Uppsala University, Stockholm University and
the Royal Institute of Technology, Sweden.
check out http://www.gromacs.org for more information.

GROMACS is free software; you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License
as published by the Free Software Foundation; either version 2.1
of the License, or (at your option) any later version.

GROMACS:      gmx grompp, version 2021.2-dev-UNCHECKED (double precision)
Executable:   /home/jby/soft/gromacs-2021.2-qmmm/build/bin/gmx_mpi_d
Data prefix:  /home/jby/soft/gromacs-2021.2-qmmm (source tree)
Working dir:  /home/jby/test_water
Command line:
  gmx_mpi_d grompp -f md-qmmm.mdp -p topol.top -c md.gro -n index.ndx -o md_qmmm.tpr -maxwarn 10


WARNING 1 [file md-qmmm.mdp]:
  Removing the rotation around the center of mass in a periodic system,
  this can lead to artifacts. Only use this on a single (cluster of)
  molecules. This cluster should not cross periodic boundaries.

Setting the LD random seed to 528479643

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

Generated 2556 of the 2556 1-4 parameter combinations

Excluding 3 bonded neighbours molecule type 'JZ4'

turning H bonds into constraints...

Excluding 2 bonded neighbours molecule type 'SOL'

turning H bonds into constraints...
Number of degrees of freedom in T-Coupling group QMatoms is 53.92
Number of degrees of freedom in T-Coupling group MMatoms is 4062.08

-------------------------------------------------------
Program:     gmx grompp, version 2021.2-dev-UNCHECKED
Source file: src/gromacs/applied_forces/qmmm/qmmmtopologypreprocessor.cpp (line 278)

Fatal error:
Atoms 0 does not have atomic number needed for QMMM. Check atomtypes section
in you topology or forcefield.

For more information and tips for troubleshooting, please check the GROMACS
website at http://www.gromacs.org/Documentation/Errors
-------------------------------------------------------
--------------------------------------------------------------------------
MPI_ABORT was invoked on rank 0 in communicator MPI_COMM_WORLD
with errorcode 1.

NOTE: invoking MPI_ABORT causes Open MPI to kill all MPI processes.
You may or may not see output from other processes, depending on
exactly when Open MPI kills them.




202112311355173187..png (125.38 KB, 下载次数 Times of downloads: 16)

gmx代码

gmx代码
独立之精神 自由之思想

273

帖子

0

威望

4415

eV
积分
4688

Level 6 (一方通行)

2#
发表于 Post on 2022-11-26 22:57:13 | 只看该作者 Only view this author
Atoms 0 does not have atomic number needed for QMMM. Check atomtypes section
in you topology or forcefield.

hello, 我也遇到了同样的问题,请问你解决了吗?看不懂这个atom 0 表示啥意思。感觉可能是力场的原因,但是单独用gmx却可以打包成功。。。

171

帖子

0

威望

1745

eV
积分
1916

Level 5 (御坂)

3#
 楼主 Author| 发表于 Post on 2022-11-27 13:40:39 | 只看该作者 Only view this author
函数与激情 发表于 2022-11-26 22:57
Atoms 0 does not have atomic number needed for QMMM. Check atomtypes section
in you topology or for ...

哈喽,这个问题当时我好像是手动修改了top文件的信息,自己手动加入了link atoms信息。之后就没有继续使用gmx+cp2k了,改用纯cp2k了

评分 Rate

参与人数
Participants 1
eV +5 收起 理由
Reason
yutianfeixiang + 5 我很赞同

查看全部评分 View all ratings

独立之精神 自由之思想

273

帖子

0

威望

4415

eV
积分
4688

Level 6 (一方通行)

4#
发表于 Post on 2022-11-27 14:32:30 | 只看该作者 Only view this author
yjb 发表于 2022-11-27 13:40
哈喽,这个问题当时我好像是手动修改了top文件的信息,自己手动加入了link atoms信息。之后就没有继续使 ...

酱紫 我来试试看 十分感谢!

32

帖子

0

威望

822

eV
积分
854

Level 4 (黑子)

5#
发表于 Post on 2025-2-9 17:32:46 | 只看该作者 Only view this author
函数与激情 发表于 2022-11-26 22:57
Atoms 0 does not have atomic number needed for QMMM. Check atomtypes section
in you topology or for ...

有可能是你所用的原子类型问题,可以检查系统中第一个原子的原子类型,如果是gaff类型的,CP2K不认识,得用Amber类型

本版积分规则 Credits rule

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

GMT+8, 2025-8-14 06:36 , Processed in 0.178944 second(s), 26 queries , Gzip On.

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