Accurate and efficient constrained molecular dynamics of polymers using Newton's method and special purpose code

In molecular dynamics simulations we can often increase the time step by imposing constraints on bond lengths and bond angles. This allows us to extend the length of the time interval and therefore the range of physical phenomena that we can afford to simulate. We examine the existing algorithms and...

Full description

Bibliographic Details
Authors: López Villellas, Lorién, Kjelgaard Mikkelsen, Carl Christian, Galano Frutos, Juan José, Marco Sola, Santiago|||0000-0001-7951-3914, Alastruey Benedé, Jesús, Ibáñez Marín, Pablo Enrique, Moretó Planas, Miquel|||0000-0002-9848-8758, Sancho Sanz, Javier, García Risueño, Pablo
Format: article
Publication Date:2023
Country:España
Institution:Universitat Politècnica de Catalunya (UPC)
Repository:UPCommons. Portal del coneixement obert de la UPC
Language:English
OAI Identifier:oai:upcommons.upc.edu:2117/386996
Online Access:https://hdl.handle.net/2117/386996
https://dx.doi.org/10.1016/j.cpc.2023.108742
Access Level:Open access
Keyword:Molecular dynamics -- Computer simulation
Constraint algorithms
Non-linear equations
Newton's method
SHAKE
LINCS
Dinàmica molecular -- Simulació per ordinador
Àrees temàtiques de la UPC::Informàtica::Arquitectura de computadors
Àrees temàtiques de la UPC::Informàtica::Informàtica teòrica::Algorísmica i teoria de la complexitat
Description
Summary:In molecular dynamics simulations we can often increase the time step by imposing constraints on bond lengths and bond angles. This allows us to extend the length of the time interval and therefore the range of physical phenomena that we can afford to simulate. We examine the existing algorithms and software for solving nonlinear constraint equations in parallel and we explain why it is necessary to advance the state-of-the-art. We present ILVES-PC, a new algorithm for imposing bond constraints on proteins accurately and efficiently. It solves the same system of differential algebraic equations as the celebrated SHAKE algorithm, but ILVES-PC solves the nonlinear constraint equations using Newton's method rather than the nonlinear Gauss-Seidel method. Moreover, ILVES-PC solves the necessary linear systems using a specialized linear solver that exploits the structure of the protein. ILVES-PC can rapidly solve constraint equations as accurately as the hardware will allow. The run-time of ILVES-PC is proportional to the number of constraints. We have integrated ILVES-PC into GROMACS and simulated proteins of different sizes. Compared with SHAKE, we have achieved speedups of up to 4.9× in single-threaded executions and up to 76× in shared-memory multi-threaded executions. Moreover, ILVES-PC is more accurate than P-LINCS algorithm. Our work is a proof-of-concept of the utility of software designed specifically for the simulation of polymers.