Skip to main content
ACS AuthorChoice logoLink to ACS AuthorChoice
. 2026 Sep 10;66(18):11588–11595. doi: 10.1021/acs.jcim.6c02073

Seamless QM/MM Simulations via a GROMACS-CP2K Interface

Dmitry Morozov †,*, Christian Blau ‡, Ole Schütt §, Vladimir Mironov ∥, Arno Proeme ⊥, Holly Judge ⊥, Thomas D Kühne #,∇,○, Berk Hess ‡, Gerrit Groenhof †,*
PMCID: PMC13625966  PMID: 42906049

Abstract

Understanding and controlling chemical reactivity in biological systems require atomic-level insight into processes that are often inaccessible to experiments. Hybrid quantum mechanics/molecular mechanics (QM/MM) simulations provide a powerful framework for describing chemical reactions in complex environments, but their practical application remains limited by fragmented software ecosystems, restricted accessibility, and methodological approximations that can compromise accuracy and reproducibility. In particular, many existing QM/MM implementations rely on ad hoc couplings, proprietary software, or truncated treatments of long-range electrostatic interactions. Here, we present a robust and fully periodic QM/MM interface between the open-source molecular dynamics engine GROMACS and the electronic structure theory code CP2K. The implementation enables efficient and reproducible QM/MM molecular dynamics and enhanced sampling simulations with a consistent treatment of long-range electrostatics under periodic boundary conditions. By combining the strengths of two widely used community codes, this interface provides a general and scalable platform for studying chemical reactivity in biological systems and establishes a transparent reference implementation for QM/MM simulations.


graphic file with name ci6c02073_0006.webp


graphic file with name ci6c02073_0004.webp

1. Introduction

Understanding how enzymes mediate chemical reactions is central to the development of new and efficient catalysts. Because the spatial and temporal resolution required to obtain atomistic insight into enzymatic mechanisms is difficult to achieve experimentally, computer simulations have become essential tools for studying enzymatic chemistry. In particular, hybrid quantum-mechanical/molecular-mechanical (QM/MM) simulations are widely used to investigate reaction mechanisms in complex biological environments. , Despite major methodological and software advances since the introduction of QM/MM approaches almost five decades ago, reliable biomolecular QM/MM calculations still require careful choices concerning the QM/MM partition, electrostatic coupling, electronic structure level, and sampling strategy, as well as trade-offs between accuracy and computational costs. −

First, the reliability of QM/MM simulations depends critically on the accuracy of the underlying QM/MM potential, which is determined not only by the electronic structure method used for the quantum region and the force field describing the molecular mechanics region but also by the manner in which these two subsystems are coupled. Accurate treatment of long-range electrostatic interactions is particularly important in biomolecular systems, where electrostatic effects can strongly influence the reaction energetics. Second, enzymatic reactions typically occur on time scales that are far beyond those accessible to unbiased QM/MM molecular dynamics simulations, which are often limited to a few picoseconds at practical levels of theory. Although a variety of enhanced sampling techniques have been developed to address this limitation, their integration with QM/MM simulations remains technically demanding and often requires carefully chosen collective variables and substantial user expertise. Third, QM/MM implementations are often tightly coupled to specific software ecosystems, making it difficult to install, extend, maintain, or combine with modern sampling methodologies.

To address these challenges, we present a new interface between the molecular dynamics package GROMACS , and the electronic structure theory code CP2K, , enabling fully periodic QM/MM simulations within an open-source, high-performance-computing framework. The resulting QM/MM potential provides a consistent treatment of long-range electrostatic interactions under periodic boundary conditions (PBCs), thereby avoiding artifacts associated with electrostatic truncation. Combined with the accelerated weight histogram (AWH) enhanced-sampling method available in GROMACS, the interface enables an efficient and reproducible exploration of enzymatic reaction pathways. This work establishes a general, open, and scalable QM/MM framework designed to support a broad range of studies of chemical reactivity in biological systems.

2. Methods

The interface uses an additive QM/MM scheme for energies and forces ():

EQM/MM=ECP2K+EGROMACSECP2K=EQM+EQM−MMCP2KEGROMACS=EMM+EQM−MMLJ+EboundarybondedFiQM/MM=FiCP2K+FiGROMACSFiCP2K=−∇iECP2KFiGROMACS=−∇iEGROMACS 1

Here, E QM is the energy of the QM subsystem and EQM−MMCP2K is the electrostatic interaction with the MM environment, including polarization of the QM density by the MM charges. This is the physically important coupling for enzymatic reaction barriers: the environment polarizes the electronic density of the reacting region, while the extended protein, solvent, ions, and nucleic acids remain described by the force field. CP2K evaluates these contributions and the corresponding forces on both QM and MM atoms. The term E MM contains force-field interactions involving only MM atoms. GROMACS additionally retains the Lennard-Jones interactions between QM and MM atoms, EQM−MMLJ , and the force-field bonded terms crossing the QM/MM boundary, Eboundarybonded . The interface uses link atoms to cap the broken bonds between subsystems. The CP2K and GROMACS force contributions are then summed before constraints and time integration are applied. Any restraint or enhanced-sampling bias potential and its forces are evaluated separately by GROMACS.

2.1. CP2K GPW Representation and Periodic QM/MM Energy

The CP2K part of the interface is not a black-box single-point calculator. It brings the Quickstep Gaussian and plane-wave (GPW) formulation into the GROMACS time-integration loop. ,, In GPW, the Kohn–Sham orbitals are expanded () in localized Gaussian basis functions,

ψi(r)=∑μCμiϕμ(r) 2

whereas the electronic density and electrostatic potentials are represented on hierarchical real-space grids. The total QM charge density () used for electrostatics can be written schematically as

ρQM(r)=ρel(r)+∑A∈QMZAgA(r−RA) 3

where ρel is the electronic density and g A denotes the smooth Gaussian compensation charge associated with nucleus A. This mixed representation is central for periodic QM/MM because the chemically relevant density is retained in a localized Gaussian basis, while the expensive long-range electrostatic terms are evaluated on grids with fast Fourier transforms and multigrid interpolation. ,

2.2. GEEP Electrostatics and Periodic Cell Decoupling

Under periodic boundary conditions, direct electrostatic coupling between a grid-based electronic density and bare MM point charges is numerically delicate. The singular point-charge potential can overpolarize the QM density when MM atoms approach the QM region, and a brute-force mapping of all MM Coulomb potentials to the finest CP2K grid would scale poorly for large biomolecular environments. CP2K resolves this through the fully periodic QM/MM formalism of Laino and coworkers and the Gaussian expansion of the electrostatic potential (GEEP). ,

For an MM atom a with charge q a at position r a , the bare electrostatic embedding contribution would involve

EQM−MM,a=qa∫ρQM(r)|r−ra|dr 4

In CP2K, this interaction is regularized by replacing the singular point-charge potential of () with a smooth, finite potential,

vasmooth(r)=qaerf(|r−ra|/Rc,a)|r−ra| 5

where R c,a is an atom-dependent smoothing length, commonly related to the covalent radius. GEEP then rewrites this smooth potential as a short-range Gaussian expansion plus a slowly varying residual,

vaGEEP(r)=qa[∑k=1NGcakexp(−|r−ra|2σak2)︸fitted+Ralow(|r−ra|)︸residual] 6

The Gaussian parameters c ak and σ ak are obtained in a least-square fitting procedure of the potential () in reciprocal space. The fitting procedure ensures that the Fourier components of the residual Ralow are concentrated in the low-frequency domain. When CP2K’s internal GEEP library is used, the expansion length, N G, is selected through the CP2K input keyword USE_GEEP_LIB and is therefore common to all MM atoms within a calculation. The atom-kind-dependent smoothing radius, R c,a , rescales the corresponding Gaussian coefficients and widths. The automatically generated interface input uses N G = 12; the values used for the individual test systems are reported in the Supporting Information. The Gaussian terms are placed on the coarsest CP2K multigrid level that can represent their width, while only sharp, short-ranged contributions reach the finer grids. The contribution of the smooth residual Ralow introduced in () is always accumulated on the coarsest grid for all MM atoms. The resulting embedding energy is evaluated as

EQM−MMCP2K=∫ρQM(r)∑a∈MMvaGEEP(r)dr 7

with forces on both QM and MM atoms obtained consistently from the same embedding potential. This is a central reason why the interface is more than a file-based driver: the expensive and delicate QM/MM electrostatics () remain inside CP2K, where GPW, GEEP, and the multigrid machinery are implemented and tested.

Periodic QM/MM introduces an additional subtlety. The full MM system may occupy a large periodic box, whereas the QM wave function should be represented in a compact CP2K cell whose size is determined by the reactive region. If the QM density were simply repeated with the small QM cell periodicity, the calculation would introduce artificial interactions between QM images. CP2K therefore decouples the QM density from its small-cell periodic replicas and recouples it to the periodicity of the full QM/MM simulation cell using the electrostatic decoupling strategy of Blöchl and related reciprocal-space treatments. ,

The essential idea can be expressed as an electrostatic correction to the periodic Poisson problem. For a localized QM charge density ρ in the compact CP2K cell, the periodic electrostatic energy, E PBC[ρ], contains interactions with periodic images. Blöchl’s construction introduces a model charge density, ρ̂, that is confined to the reference cell but reproduces the long-range electrostatic moments of ρ. A convenient representation is a sum of atom-centered normalized Gaussians ():

ρ̂(r)=∑iqi(πσi)3exp[−|r−Ri|2σi2] 8

where the charges q i , centers R i , and widths σ i are chosen so that ρ̂ matches the relevant low-order multipoles and the spatial extent of the true density. Because ρ–ρ̂ has a reduced long-range field, the isolated-cell (decoupled) electrostatic energy can be obtained by subtracting the periodic self-interaction of the model density from the energy of the periodic QM system (). The model density ρ̂ is further used in a similar way () to introduce back the electrostatic interactions (recouple) between QM images within the full periodicity of the GROMACS (QM/MM) box:

Eisolated[ρ]≈EQMcellPBC[ρ]−EQMcellcoupl[ρ̂]=EQMcellPBC[ρ]−(EQMcellPBC[ρ̂]−Eisolated[ρ̂]) 9
EQMMMcellPBC[ρ]≈Eisolated[ρ]+EQMMMcellcoupl[ρ̂]=Eisolated[ρ]+(EQMMMcellPBC[ρ̂]−Eisolated[ρ̂]) 10

This approach can also be used to decouple and recouple the periodic self-interaction contributions to the electronic Hamiltonian and the nuclear forces. Charged QM and MM partitions are handled with neutralizing background charge densities whose net contribution cancels in the total QM/MM energy. , In practice, this separation of a compact QM cell from a large GROMACS simulation box is what makes fully periodic biomolecular QM/MM simulations feasible without sacrificing the long-range electrostatic environment.

2.3. Software Design and Integration of GROMACS with CP2K

The GROMACS side of the implementation is built as an external force provider using the unified MDModules API (Figure ). The module receives the current coordinates and cell, identifies the QM and MM subsets, constructs the data needed by CP2K, and returns QM/MM energies and forces to the GROMACS integration loop. The core GROMACS tools remain agnostic to the details of the QM engines. This separation is important for maintainability because it confines QM/MM-specific logic to a dedicated module rather than distributing engine-specific calls throughout neighbor-searching, force accumulation, constraints, output, and free energy code paths.

1.

1

Software architecture of the GROMACS-CP2K interface. CP2K functionality (blue) is integrated into the GROMACS mdrun workflow (black) through the GROMACS MDModules layer (red). The module passes coordinates and cell information to CP2K, retrieves QM/MM energies and forces, and returns them to the ordinary GROMACS integration and sampling machinery.

The division of responsibilities was deliberate. CP2K owns the DFT problem, the GPW grids, GEEP electrostatic embedding, QM-cell decoupling, and QM/MM embedding forces. GROMACS owns the classical force field, constraints, time integration, trajectory handling, enhanced sampling, and an analysis ecosystem. At every step, the two codes exchange only the state variables needed for a Hamiltonian-consistent force evaluation: coordinates, cell information, QM/MM selections, energies, and forces. This division of responsibilities is the central design feature of the implementation: CP2K contributes the mathematically delicate fully periodic QM/MM electrostatics, while GROMACS contributes the mature simulation and sampling infrastructure that enables robust and reproducible QM/MM studies of complex biomolecular systems.

On the CP2K side, communication proceeds through libcp2k. A QM calculation is represented by a CP2K force environment created from a CP2K input file through cp2k_create_force_env. At every MD step, GROMACS updates this force environment by passing atomic positions and cell vectors with cp2k_set_positions and cp2k_set_cell, invokes the electronic structure energy and force evaluation through cp2k_calc_energy_force, and retrieves the resulting potential energy and atomic forces through cp2k_get_potential_energy and cp2k_get_forces. These calls keep the coupling at the level of stable public interfaces while leaving GPW grids, GEEP electrostatics, wave function optimization, and force assembly inside CP2K. As a result, the interface avoids file-based orchestration during dynamics and retains the tested numerical machinery of both codes.

The interface automates operations required when converting a fully classical GROMACS topology for use with the GROMACS-CP2K QM/MM coupling. The grompp preprocessor removes partial charges and Lennard-Jones (LJ) interactions within the QM region while retaining LJ interactions between QM and MM atoms. Bonded terms entirely inside the QM region are removed, and constraints involving QM atoms are disabled where necessary. Covalent QM/MM boundaries are capped in CP2K using link atoms. Each bond that crosses the QM/MM boundary is mapped to a CP2K &LINK section through the corresponding QM and MM atom indices. In the automatically generated input, CP2K applies its default IMOMM hydrogen cap, which the user could override in a custom input. The link coordinate is a dependent coordinate on the QM–MM bond, placed at R link = R QM + (R MM – R QM)/α with the default α =1.38. It is reconstructed at every force evaluation and is not integrated as an independent GROMACS degree of freedom; its force is projected onto the real QM and MM boundary atoms. The link hydrogen is included in the CP2K Hamiltonian, including its basis and pseudopotential contributions and electronic density on the GPW grids, but has no corresponding MM point charge. The classical partial charge of the real MM boundary atom is retained by default. Boundary charge scaling or redistribution can be specified in a custom CP2K input. No additional compensating charge is introduced specifically for the link atom; the user-specified charge and multiplicity should refer to the complete hydrogen-capped QM subsystem. These operations are specific to the present interface and should not be understood as a standardized setup procedure across different QM/MM implementations.

The workflow can create a CP2K input file for common DFT settings or use a fully user-specified CP2K input file. This balance is intentional: routine cases should be reproducible without expert-level manual editing, while advanced users should retain complete control over the electronic structure setup.

2.4. Enhanced Sampling in QM/MM Simulations

Because CP2K is called from within the GROMACS force loop, QM/MM simulations can directly use enhanced sampling methods available in GROMACS. This is particularly valuable because many processes of interest in biomolecular QM/MM simulations, such as chemical reactions, conformational transitions, and proton-transfer events, occur on time scales that are inaccessible to straightforward molecular dynamics. Enhanced-sampling methods accelerate the exploration of configurational space and thereby enable the calculation of free-energy profiles and barriers at a substantially reduced computational cost.

In this work, we employ both umbrella sampling (US) and accelerated weight histogram (AWH) methods. In US, a set of simulations restrains one or more collective variables at prescribed values, and the resulting free-energy profile is reconstructed using the weighted histogram analysis method (WHAM). In AWH, a bias potential is updated adaptively during the simulation to drive sampling toward a target distribution, from which the free-energy profile is obtained directly. Multiwalker AWH further accelerates convergence by sharing bias information among simulations initialized in different regions of the collective-variable space.

These adaptive sampling strategies are particularly attractive for QM/MM simulations, where each additional picosecond requires expensive electronic structure calculations, and reductions in the total trajectory length translate directly into improved computational efficiency. Further details of the AWH algorithm are provided in the original publication and the GROMACS documentation, while a detailed comparison between US and AWH can be found in Aho et al.

3. Results

To assess the consistency of the energies and forces returned by the coupled implementation, we performed NVE simulations for N-Methylacetamide (NMA) in vacuum and for stilbene in water. The normalized total-energy drifts were −7.52 × 10–5 and 3.63 × 10–4 kJ mol–1 ps–1 atom–1 for the two NMA calculations and 7.01 × 10–5 kJ mol–1 ps–1 atom–1 for the hybrid stilbene system. Thus, after accounting for the different trajectory lengths and numbers of atoms, the drift in the solvated QM/MM system is of the same order as that observed in the all-QM vacuum tests. Representative NVE trajectories and the complete analysis are provided in Sections 3 and 4 of the Supporting Information.

After additional validation of our interface on reactive systems (see Supporting Information Sections 5 and 6), we demonstrate its application to a challenging QM/MM free-energy calculation: the phospho-transfer reaction catalyzed by the RNA-dependent RNA polymerase (RdRp) of SARS-CoV-2. This example was chosen because it combines several demanding aspects of biomolecular QM/MM simulations, including periodic boundary conditions, a large and heterogeneous molecular environment, multidimensional reaction coordinates, and an extensive enhanced sampling.

The incorporation of a nucleotide into the growing RNA strand involves a phosphotransfer reaction in which a nucleotide triphosphate undergoes nucleophilic attack by the terminal nucleotide of the RNA chain, accompanied by diphosphate release. Because bond formation and bond breaking occur concertedly, the reaction cannot be described adequately by a single geometrical coordinate. We therefore employed multidimensional AWH sampling in combination with the GROMACS-CP2K interface to compute the corresponding free-energy surface.

The starting structure was derived from the 6NUR crystal structure and completed using coordinates from the homologous polymerase complex, 3OL6, yielding a model of the RdRp active site with ATP positioned for incorporation into the growing RNA strand.

After the equilibration of the protein, we performed a two-dimensional free-energy surface simulation of the reaction along the d1 and d2 coordinates shown in Figure C. Details of these AWH simulations are provided in SI. The resulting free-energy surface is shown in Figure , both as a three-dimensional representation (A) and as a two-dimensional projection onto the reaction-coordinate plane (B). In both projections, the black arrow indicates the minimum free-energy pathway connecting the reactant and product states. The free-energy barrier along this reaction coordinate is approximately 90 kJ/mol with an estimated final target error of 1 kJ/mol, which is in good agreement with the barrier obtained from enhanced sampling along a one-dimensional collective variable, ξ defined as the difference between d2 and d1 (88.5 kJ/mol, SI). The free-energy difference between the reactant and product states is 39 kJ/mol.

2.

2

SARS-CoV-2 RNA-dependent-RNA-polymerase system used for reaction free-energy evaluation. Panel A shows the overall system: protein in green, RNA strands in red, and the QM cell in blue. A close look at the QM cell and QM atoms is shown in panel B. Reaction coordinated ξ definition is shown in panel C.

3.

3

Free-energy surface of ATP incorporation into the RNA strand within the RdRp active site, obtained using the GROMACS-CP2K QM/MM interface combined with the two-dimensional AWH enhanced-sampling method. Panel A shows a three-dimensional representation, while panel B displays a two-dimensional color-coded map. The surface is projected onto the d1 and d2 reaction coordinates, defined in Figure C.

The RdRp calculation is intended to demonstrate the feasibility of the multidimensional multi-walker AWH sampling with the GROMACS-CP2K interface in a realistic enzymatic system. The resulting free energy surface displays an apparent barrier of approximately 90 kJ/mol along the selected phosphoryl transfer coordinates. These coordinates do not explicitly describe the transfer of the O3′ proton, and the surface is specific to the selected starting structure, protonation model, QM region, exchange–correlation functional, basis set, and sampling protocol. Because the sensitivity to these modeling choices was not investigated systematically, the calculated barrier should not be regarded as a definitive quantitative prediction of the RdRp catalytic barrier or mechanism. Consistent with this limitation, recent QM/MM studies using different reaction coordinates and proton transfer models reported substantially lower activation free energies. − Although these values are not directly comparable because the calculations describe different chemical pathways and computational models, the discrepancy underscores the sensitivity of predicted enzymatic mechanisms and barriers to system preparation and reaction-coordinate definition.

4. Discussion

We have introduced a fully periodic, open-source QM/MM interface between GROMACS and CP2K. The implementation combines CP2K’s treatment of electrostatic embedding under periodic boundary conditions with the molecular-dynamics, enhanced-sampling, and analysis capabilities of GROMACS. The numerical tests support the consistent exchange of energies and forces between the two programs, while the application examples demonstrate that the interface can be used for QM/MM simulations ranging from small molecular systems to enzymatic reactions.

The energy conservation observed in the NVE tests provides a direct assessment of the consistency of the coupled energy and force evaluation. For electrostatic embedding, the interface combines CP2K’s GEEP treatment with decoupling and recoupling of the compact QM cell. Such a description avoids collocating every MM point-charge potential on the finest QM grid so that the dominant fine-grid embedding cost depends only weakly on the size of the surrounding MM environment, allowing the possibility to retain long-range periodic electrostatic interactions while limiting the additional cost associated with embedding large biomolecular environments.

Existing QM/MM software reflects different methodological and architectural priorities. General-purpose drivers such as QMMM 2023 provide access to several quantum-chemistry programs and a broad range of embedding, boundary treatment, and adaptive partitioning schemes. MiMiC instead employs a modular, loosely coupled intermediary framework in which client programs evaluate the different subsystem contributions. GROMACS or OpenMM can be used for the classical subsystem, and CP2K was recently added as a client for evaluating the quantum subsystem.

MiMiC and the present interface also differ in their representation of the QM–MM electrostatic coupling. In MiMiC, MM atoms are divided into short- and long-range groups according to a user-defined cutoff. Nearby MM charges interact explicitly with the QM nuclei and electron density, whereas the interaction with more distant MM charges is evaluated using a multipole expansion of the QM charge distribution. , The cutoff therefore does not truncate the electrostatic environment, but determines where the representation changes from explicit density-charge interactions to the long-range multipole approximation; its convergence is controlled by both the cutoff and the order of the multipole expansion. In the present interface, all MM charges instead contribute through a fully periodic potential representation, without dividing the environment into distance-based short- and long-range groups or replacing the interaction with distant MM charges. The two electrostatic schemes may differ in their numerical convergence and computational cost, but establishing an advantage in accuracy or time to solution would require controlled benchmarks employing equivalent Hamiltonians, boundary treatments, periodicity settings, and computational resources, which are beyond the scope of the present work.

In addition, the coupling architecture is tighter in the present interface: CP2K is called through libcp2k directly from the GROMACS force evaluation loop. GROMACS remains responsible for topology preprocessing, constraints, integration, trajectory output, sampling, and analysis, while CP2K evaluates the electronic structure, electrostatic embedding, and associated QM/MM forces. This architecture provides direct access to the native GROMACS workflow without requiring a separate coupling executable or intermediary framework but does not offer the engine interchangeability and independent resource allocation of MiMiC.

The tight integration also supports the usability and maintainability of the interface. Preprocessing operations required to convert a classical GROMACS topology for use with the GROMACS-CP2K coupling are automated, while advanced users can retain full control over the electronic-structure setup by supplying a customized CP2K input. Because the interface is maintained within the GROMACS source tree and accesses CP2K through its standard library interface, compatibility can be addressed through the established development and release processes of the two packages. Documentation, tutorials, training schools, and recorded lectures , are available to support reproducible use of the software.

The application examples show that native GROMACS enhanced sampling methods, including umbrella sampling and multidimensional, multiwalker AWH, can be applied to QM/MM systems through the interface. Their quantitative results nevertheless remain dependent on the selected reaction coordinates, the QM region, the electronic structure method, the system preparation, and the sampling protocol. They should therefore be interpreted primarily as demonstrations of the capabilities of the implementation rather than as definitive reference calculations for the respective chemical reactions. The specific limitations of the RdRp free-energy surface are discussed in the Results section.

The most immediate route for extending the range of applications is through additional electronic structure methods implemented in CP2K and sampling methods available in GROMACS. Recent CP2K developments enable GEEP-style MM-charge embedding with SCC-DFTB, GFN1-xTB, and GFN2-xTB, providing lower-cost alternatives to density-functional QM/MM calculations. These developments complement recent GFN1-xTB benchmarks for liquid water and the implementation of periodic GFN2-xTB in CP2K. The GROMACS-CP2K interface therefore provides a practical and community-maintained foundation for reproducible multiscale simulations of chemical reactivity in complex systems.

Supplementary Material

ci6c02073_si_001.pdf (2.8MB, pdf)

Acknowledgments

The authors acknowledge the CSC-IT Center for Science, Finland (https://www.csc.fi/en), and the ARCHER2 UK National Supercomputing Service (https://www.archer2.ac.uk) for computational resources and thank the GROMACS and CP2K developer communities for sustained open-source software development.

All simulations models, input files, and structures used in the work are available for download from the Zenodo research data storage. The interface is available in release versions of GROMACS (www.gromacs.org, version 2022 or later) and CP2K (www.cp2k.org, version 8.1 or later).

The Supporting Information is available free of charge at https://pubs.acs.org/doi/10.1021/acs.jcim.6c02073.

  • Basic installation instructions, reproducibility checklist, and all details of all performed simulations: validation for NMA in vacuum under NVE conditions; stilbene in water under NVE, NVT, and NPT conditions; Diels–Alder reaction energetics simulations with relaxed-surface, umbrella sampling, and AWH; a comparison to previous CP2K QM/MM umbrella-sampling simulations of phytochrome chromophore isomerization in protein; and details of free-energy surface simulation with umbrella sampling and AWH for ATP incorporation by SARS-CoV-2 RdRp (PDF)

D.M., V.M., G.G., B.H., O.S., and T.D.K. conceived the interface and simulation study. D.M., C.B., O.S., A.P., H.J., and B.H. contributed to software implementation, integration, and testing. D.M. and V.M. performed the simulations and analysis. D.M., V.M., G.G., B.H., O.S., and T.D.K. interpreted the results. All authors contributed to the writing and approved the manuscript.

This work was supported by BioExcel CoE (European High-Performance Computing Joint Undertaking projects 823830 and 101093290).

The authors declare no competing financial interest.

References

  1. Warshel A.. Multiscale modeling of biological functions: from enzymes to molecular machines (Nobel Lecture) Angew. Chem., Int. Ed. 2014;53:10020–10031. doi: 10.1002/anie.201403689. [DOI] [PMC free article] [PubMed] [Google Scholar]
  2. Levitt M.. Birth and future of multiscale modeling for macromolecular systems (Nobel Lecture) Angew. Chem., Int. Ed. 2014;53:10006–10018. doi: 10.1002/anie.201403691. [DOI] [PubMed] [Google Scholar]
  3. Warshel A., Levitt M.. Theoretical studies of enzymatic reactions: Dielectric, electrostatic and steric stabilization of carbonium ion in the reaction of lysozyme. J. Mol. Biol. 1976;103:227–249. doi: 10.1016/0022-2836(76)90311-9. [DOI] [PubMed] [Google Scholar]
  4. Senn H. M., Thiel W.. QM/MM methods for biomolecular systems. Angew. Chem., Int. Ed. 2009;48:1198–1229. doi: 10.1002/anie.200802019. [DOI] [PubMed] [Google Scholar]
  5. Kubař T., Elstner M., Cui Q.. Hybrid quantum mechanical/molecular mechanical methods for studying energy transduction in biomolecular machines. Annu. Rev. Biophys. 2023;52:525–551. doi: 10.1146/annurev-biophys-111622-091140. [DOI] [PMC free article] [PubMed] [Google Scholar]
  6. Cui Q., Pal T., Xie L.. Biomolecular QM/MM simulations: What are some of the “burning issues”? J. Phys. Chem. B. 2021;125:689–702. doi: 10.1021/acs.jpcb.0c09898. [DOI] [PMC free article] [PubMed] [Google Scholar]
  7. Liao R.-Z., Thiel W.. Convergence in the QM-only and QM/MM modeling of enzymatic reactions: A case study for acetylene hydratase. J. Comput. Chem. 2013;34:2389–2397. doi: 10.1002/jcc.23403. [DOI] [PubMed] [Google Scholar]
  8. Hénin J., Lelièvre T., Shirts M. R., Valsson O., Delemotte L.. Enhanced Sampling Methods for Molecular Dynamics Simulations [Article v1.0] Living J. Comput. Mol. Sci. 2022;4:1583. doi: 10.33011/livecoms.4.1.1583. [DOI] [Google Scholar]
  9. Abraham M. J., Murtola T., Schulz R., Páll S., Smith J. C., Hess B., Lindahl E.. GROMACS: High performance molecular simulations through multi-level parallelism from laptops to supercomputers. SoftwareX. 2015;1:19–25. doi: 10.1016/j.softx.2015.06.001. [DOI] [Google Scholar]
  10. Hess B., Kutzner C., van der Spoel D., Lindahl E.. GROMACS 4: Algorithms for Highly Efficient, Load-Balanced, and Scalable Molecular Simulation. J. Chem. Theory Comput. 2008;4:435–447. doi: 10.1021/ct700301q. [DOI] [PubMed] [Google Scholar]
  11. Kühne T. D., Iannuzzi M., Del Ben M., Rybkin V. V., Seewald P., Stein F., Laino T., Khaliullin R. Z., Schütt O., Schiffmann F.. et al. CP2K: An electronic structure and molecular dynamics software package-Quickstep: Efficient and accurate electronic structure calculations. J. Chem. Phys. 2020;152:194103. doi: 10.1063/5.0007045. [DOI] [PubMed] [Google Scholar]
  12. Iannuzzi M., Wilhelm J., Stein F., Bussy A., Elgabarty H., Golze D., Hehn A.-S., Graml M., Marek S., Gökmen B. S.. et al. The CP2K program package made simple. J. Phys. Chem. B. 2026;130:1237–1310. doi: 10.1021/acs.jpcb.5c05851. [DOI] [PMC free article] [PubMed] [Google Scholar]
  13. Lindahl V., Lidmar J., Hess B.. Accelerated weight histogram method for exploring free energy landscapes. J. Chem. Phys. 2014;141:044110. doi: 10.1063/1.4890371. [DOI] [PubMed] [Google Scholar]
  14. Lippert G., Hutter J., Parrinello M.. A hybrid Gaussian and plane wave density functional scheme. Mol. Phys. 1997;92:477–488. doi: 10.1080/00268979709482119. [DOI] [Google Scholar]
  15. Iannuzzi M., Wilhelm J., Stein F., Bussy A., Elgabarty H., Golze D., Hehn A.-S., Graml M., Marek S., Sertcan Gökmen B.. et al. The CP2K Program Package Made Simple. J. Phys. Chem. B. 2026;130:1237–1310. doi: 10.1021/acs.jpcb.5c05851. [DOI] [PMC free article] [PubMed] [Google Scholar]
  16. VandeVondele J., Hutter J.. An efficient orbital transformation method for electronic structure calculations. J. Chem. Phys. 2003;118:4365–4369. doi: 10.1063/1.1543154. [DOI] [Google Scholar]
  17. Schade R., Kenter T., Elgabarty H., Lass M., Schütt O., Lazzaro A., Pabst H., Mohr S., Hutter J., Kühne T. D.. et al. Towards electronic structure-based ab-initio molecular dynamics simulations with hundreds of millions of atoms. Parallel Comput. 2022;111:102920. doi: 10.1016/j.parco.2022.102920. [DOI] [Google Scholar]
  18. Laino T., Mohamed F., Laio A., Parrinello M.. An efficient real space multigrid QM/MM electrostatic coupling. J. Chem. Theory Comput. 2005;1:1176–1184. doi: 10.1021/ct050123f. [DOI] [PubMed] [Google Scholar]
  19. Laino T., Mohamed F., Laio A., Parrinello M.. An efficient linear-scaling electrostatic coupling for treating periodic boundary conditions in QM/MM simulations. J. Chem. Theory Comput. 2006;2:1370–1378. doi: 10.1021/ct6001169. [DOI] [PubMed] [Google Scholar]
  20. Blöchl P. E.. Electrostatic decoupling of periodic images of plane-wave-expanded densities and derived atomic point charges. J. Chem. Phys. 1995;103:7422–7428. doi: 10.1063/1.470314. [DOI] [Google Scholar]
  21. Martyna G. J., Tuckerman M. E.. A reciprocal space based method for treating long range interactions in ab initio and force-field-based calculations in clusters. J. Chem. Phys. 1999;110:2810–2821. doi: 10.1063/1.477923. [DOI] [Google Scholar]
  22. Torrie G. M., Valleau J. P.. Nonphysical sampling distributions in Monte Carlo free-energy estimation: Umbrella sampling. J. Comput. Phys. 1977;23:187–199. doi: 10.1016/0021-9991(77)90121-8. [DOI] [Google Scholar]
  23. Hub J. S., De Groot B. L., Van Der Spoel D.. g_wham–A Free Weighted Histogram Analysis Implementation Including Robust Error and Autocorrelation Estimates. J. Chem. Theory Comput. 2010;6:3713–3720. doi: 10.1021/ct100494z. [DOI] [Google Scholar]
  24. Aho N., Groenhof G., Buslaev P.. Do all paths lead to Rome? How reliable is umbrella sampling along a single path? J. Chem. Theory Comput. 2024;20:6674–6686. doi: 10.1021/acs.jctc.4c00134. [DOI] [PubMed] [Google Scholar]
  25. Yin W., Mao C., Luan X., Shen D.-D., Shen Q., Su H., Wang X., Zhou F., Zhao W., Gao M.. et al. Structural basis for inhibition of the RNA-dependent RNA polymerase from SARS-CoV-2 by remdesivir. Science. 2020;368:1499–1504. doi: 10.1126/science.abc1560. [DOI] [PMC free article] [PubMed] [Google Scholar]
  26. Kirchdoerfer R. N., Ward A. B.. Structure of the SARS-CoV nsp12 polymerase bound to nsp7 and nsp8 co-factors. Nat. Commun. 2019;10:2342. doi: 10.1038/s41467-019-10280-3. [DOI] [PMC free article] [PubMed] [Google Scholar]
  27. Gong P., Peersen O. B.. Structural basis for active site closure by the poliovirus RNA-dependent RNA polymerase. Proc. Natl. Acad. Sci. U. S. A. 2010;107:22505–22510. doi: 10.1073/pnas.1007626107. [DOI] [PMC free article] [PubMed] [Google Scholar]
  28. Bignon E., Monari A.. Modeling the enzymatic mechanism of the SARS-CoV-2 RNA-dependent RNA polymerase by DFT/MM-MD: An unusual active site leading to high replication rates. J. Chem. Inf. Model. 2022;62:4261–4269. doi: 10.1021/acs.jcim.2c00802. [DOI] [PubMed] [Google Scholar]
  29. Aranda J., Wieczór M., Terrazas M., Brun-Heath I., Orozco M.. Mechanism of reaction of RNA-dependent RNA polymerase from SARS-CoV-2. Chem. Catal. 2022;2:1084–1099. doi: 10.1016/j.checat.2022.03.019. [DOI] [PMC free article] [PubMed] [Google Scholar]
  30. Roca M., Maghsoud Y., Cisneros G. A., Swiderek K., Moliner V.. Comparing Force Field Treatments in QM/MM Studies of the SARS-CoV-2 RNA-Dependent RNA Polymerase (RdRp) Mechanism. J. Chem. Theory Comput. 2025;21:12342–12355. doi: 10.1021/acs.jctc.5c01399. [DOI] [PMC free article] [PubMed] [Google Scholar]
  31. Lin H., Zhang Y., Pezeshki S., Duster A. W., Wang B., Wu X.-P., Zheng S.-W., Gagliardi L., Truhlar D. G.. QMMM 2023: A program for combined quantum mechanical and molecular mechanical modeling and simulations. Comput. Phys. Commun. 2024;295:108987. doi: 10.1016/j.cpc.2023.108987. [DOI] [PMC free article] [PubMed] [Google Scholar]
  32. Olsen J. M. H., Bolnykh V., Meloni S., Ippoliti E., Bircher M. P., Carloni P., Rothlisberger U.. MiMiC: a novel framework for multiscale modeling in computational chemistry. J. Chem. Theory Comput. 2019;15:3810–3823. doi: 10.1021/acs.jctc.9b00093. [DOI] [PubMed] [Google Scholar]
  33. Antalík A., Levy A., Johnson S. K., Olsen J. M. H., Rothlisberger U.. Making Puzzle Pieces Fit or Reshaping MiMiC for Multiscale Simulations with CP2K and More. J. Chem. Inf. Model. 2025;65:4994–5005. doi: 10.1021/acs.jcim.5c00409. [DOI] [PubMed] [Google Scholar]
  34. GROMACS documentation. https://manual.gromacs.org/current/index.html.
  35. GROMACS-CP2K Tutorial. https://github.com/bioexcel/gromacs-2022-cp2k-tutorial.
  36. International Autumn School on CP2K-GROMACS for Multiscale Atomistic Simulation. https://git.uni-paderborn.de/pc2-public/CP2K-GROMACS_Autumn_School.
  37. BioExcel CoE YouTube channel. https://www.youtube.com/@BioExcelCoE.
  38. Paderborn Center for Parallel Computing YouTube playlist on CP2K-GROMACS. https://www.youtube.com/playlist?list=PLKNFQamVSA_tVYaAwkUeGiJ_sk0lGW30I.
  39. Wu X., Elgabarty H., Alizadeh V., Henao A., Zysk F., Plessl C., Ehlert S., Hutter J., Kühne T. D.. Benchmarking semiempirical quantum chemical methods on liquid water. J. Chem. Phys. 2026;165:034124. doi: 10.1063/5.0343753. [DOI] [PubMed] [Google Scholar]
  40. Alizadeh, V. ; Pototschnig, J. V. ; Ehlert, S. ; Kühne, T. D. . Periodic GFN2-xTB in CP2K: Multipolar Ewald Electrostatics, k-Point Sampling, and Transferability Benchmarks for Molecular Solids. ChemRxiv 2026. [Google Scholar]
  41. Morozov, D. ; Blau, C. ; Schütt, O. ; Mironov, V. ; Proeme, A. ; Judge, H. ; Kühne, T. ; Hess, B. ; Groenhof, G. . Data for seamless QM/MM simulations via a GROMACS-CP2K interface. Zenodo; 2026. [Google Scholar]
  42. Beckett, G. ; Beech-Brandt, J. ; Leach, K. ; Payne, Z. ; Simpson, A. ; Smith, L. ; Turner, A. ; Whiting, A. . ARCHER2 Service Description. Zenodo; 2024. [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Supplementary Materials

ci6c02073_si_001.pdf (2.8MB, pdf)

Data Availability Statement

All simulations models, input files, and structures used in the work are available for download from the Zenodo research data storage. The interface is available in release versions of GROMACS (www.gromacs.org, version 2022 or later) and CP2K (www.cp2k.org, version 8.1 or later).


Articles from Journal of Chemical Information and Modeling are provided here courtesy of American Chemical Society

RESOURCES