Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2021 Nov 9;17(11):7043-7055.
doi: 10.1021/acs.jctc.1c00595. Epub 2021 Oct 7.

DL_FFLUX: A Parallel, Quantum Chemical Topology Force Field

Affiliations

DL_FFLUX: A Parallel, Quantum Chemical Topology Force Field

Benjamin C B Symons et al. J Chem Theory Comput. .

Abstract

DL_FFLUX is a force field based on quantum chemical topology that can perform molecular dynamics for flexible molecules endowed with polarizable atomic multipole moments (up to hexadecapole). Using the machine learning method kriging (aka Gaussian process regression), DL_FFLUX has access to atomic properties (energy, charge, dipole moment, etc.) with quantum mechanical accuracy. Newly optimized and parallelized using domain decomposition Message Passing Interface (MPI), DL_FFLUX is now able to deliver this rigorous methodology at scale while still in reasonable time frames. DL_FFLUX is delivered as an add-on to the widely distributed molecular dynamics code DL_POLY 4.08. For the systems studied here (103-105 atoms), DL_FFLUX is shown to add minimal computational cost to the standard DL_POLY package. In fact, the optimization of the electrostatics in DL_FFLUX means that, when high-rank multipole moments are enabled, DL_FFLUX is up to 1.25× faster than standard DL_POLY. The parallel DL_FFLUX preserves the quality of the scaling of MPI implementation in standard DL_POLY. For the first time, it is feasible to use the full capability of DL_FFLUX to study systems that are large enough to be of real-world interest. For example, a fully flexible, high-rank polarized (up to and including quadrupole moments) 1 ns simulation of a system of 10 125 atoms (3375 water molecules) takes 30 h (wall time) on 18 cores.

PubMed Disclaimer

Conflict of interest statement

The authors declare no competing financial interest.

Figures

Figure 1
Figure 1
Gradient paths for a water dimer. The circles represent nuclei (attractors). Thick black lines are interatomic surfaces, and the squares that lie on these lines are so-called bond critical points. The second hydrogen of the left water is perpendicular to the plotting plane and not shown.
Figure 2
Figure 2
Two-dimensional simulation cell split into two domains. The dashed line represents the divide between the domains. The halo of P = 0 is shown by the shaded area.
Figure 3
Figure 3
Two-dimensional simulation cell split into two domains. The full halo of P = 0 is shown by the shaded area, accounting for PBCs.
Figure 4
Figure 4
Flow diagram demonstrating the stages of a typical DL_FFLUX MD time step.
Figure 5
Figure 5
Pseudo code for DL_FFLUX IQA energy and force calculation loop before modification.
Figure 6
Figure 6
Pseudo code for DL_FFLUX IQA energy and force calculation loop after modification.
Figure 7
Figure 7
Original charge prediction loop.
Figure 8
Figure 8
Modified charge prediction loop.
Figure 9
Figure 9
Profiles of the un-optimized (left) and optimized (right) code broken down into DL_FFLUX and DL_POLY contributions. The charts are not to scale, the right-hand-side chart represents a computation that is ∼75 000× faster than the left-hand-side chart.
Figure 10
Figure 10
Strong scaling, both actual and perfect, on log–log axes for all four water boxes: (top left) 5184 atoms in a (38 Å)3 box; (top right) 10 125 atoms in a (47 Å)3 box; (bottom left) 46 875 atoms in a (78 Å)3 box; and (bottom right) 107 811 atoms in a (103.5 Å)3 box.
Figure 11
Figure 11
Speed-up of the whole code relative to serial for the 107 811-atom water box.
Figure 12
Figure 12
Speed-up of the DL_FFLUX prediction routine only relative to serial for the 107 811-atom water box.
Figure 13
Figure 13
Strong scaling on multiple nodes for the 107 811-atom system. Log–log scaling (left) and speed-up relative to serial (right).
Figure 14
Figure 14
Time for a DL_FFLUX simulation divided by the time for a DL_POLY simulation with a flexible SPC water potential using the 107 811-atom water box. Averaged over all values of Np tested.
Figure 15
Figure 15
Speed-up, relative to serial, of DL_FFLUX and DL_POLY routines at L′ = 0 (left) and L′ = 2 (right).
Figure 16
Figure 16
Profiles of the code at L′ = 0 (top row) and L′ = 2 (bottom row). Breakdowns are shown for Np = 1, 8, and 36 going from left to right. The charts are not to scale, as Np increases the total time taken decreases.
Figure 17
Figure 17
Timings at the optimum number of MPI processes for each system in nanoseconds per day.

References

    1. Rauscher S.; Gapsys V.; Gajda M. J.; Zweckstetter M.; de Groot B. L.; Grubmüller H. Structural Ensembles of Intrinsically Disordered Proteins Depend Strongly on Force Field: A Comparison to Experiment. J. Chem. Theory Comput. 2015, 11, 5513.10.1021/acs.jctc.5b00736. - DOI - PubMed
    1. Lindorff-Larsen K.; Maragakis P.; Piana S.; Eastwood M. P.; Dror R. O.; Shaw D. E. Systematic Validation of Protein Force Fields against Experimental Data. PLoS One 2012, 7, e3213110.1371/journal.pone.0032131. - DOI - PMC - PubMed
    1. Smith J. S.; Isayev O.; Roitberg A. E. ANI-1: an extensible neural network potential with DFT accuracy at force field computational cost. Chem. Sci. 2017, 8, 3192.10.1039/C6SC05720A. - DOI - PMC - PubMed
    1. Smith J. S.; Nebgen B. T.; Zubatyuk R.; Lubbers N.; Devereu C.; Barros K.; Tretiak S.; Isayev O.; Roitberg A. E. Approaching coupled cluster accuracy with a general-purpose neural network potential through transfer learning. Nat. Commun. 2019, 10, 290310.1038/s41467-019-10827-4. - DOI - PMC - PubMed
    1. Ko T. W.; Finkler J. A.; Goedecker S.; Behler J. General-Purpose Machine Learning Potentials Capturing Nonlocal Charge Transfer. Acc. Chem. Res. 2021, 54, 808.10.1021/acs.accounts.0c00689. - DOI - PubMed