Formulation of an algorithm to implement Lowe-Andersen thermostat in parallel molecular simulation package, LAMMPS Prathyusha K. R. and P. B. Sunil Kumar.

Slides:



Advertisements
Similar presentations
PRAGMA – 9 V.S.S.Sastry School of Physics University of Hyderabad 22 nd October, 2005.
Advertisements

Biological fluid mechanics at the micro‐ and nanoscale Lecture 7: Atomistic Modelling Classical Molecular Dynamics Simulations of Driven Systems Anne Tanguy.
Advanced Molecular Dynamics Velocity scaling Andersen Thermostat Hamiltonian & Lagrangian Appendix A Nose-Hoover thermostat.
Thermal boundary conditions for molecular dynamics simulations Simon P.A. Gill and Kenny Jolley Dept. of Engineering University of Leicester, UK A pragmatic.
Simulating Mesoscopic Polymer Dynamics C.P. Lowe, M.W. Dreischor University of Amsterdam.
Molecular Dynamics at Constant Temperature and Pressure Section 6.7 in M.M.
Lecture 13: Conformational Sampling: MC and MD Dr. Ronald M. Levy Contributions from Mike Andrec and Daniel Weinstock Statistical Thermodynamics.
Survey of Molecular Dynamics Simulations: Week 2 By Will Welch For Jan Kubelka CHEM 4560/5560 Fall, 2014 University of Wyoming.
N-Body I CS 170: Computing for the Sciences and Mathematics.
Time-dependent picture for trapping of an anomalous massive system into a metastable well Jing-Dong Bao Department of Physics, Beijing.
Dr. Kirti Chandra Sahu Department of Chemical Engineering IIT Hyderabad.
Parallel Computation of the 2D Laminar Axisymmetric Coflow Nonpremixed Flames Qingan Andy Zhang PhD Candidate Department of Mechanical and Industrial Engineering.
Incorporating Solvent Effects Into Molecular Dynamics: Potentials of Mean Force (PMF) and Stochastic Dynamics Eva ZurekSection 6.8 of M.M.
PRISM Mid-Year Review Reactive Atomistics, Molecular Dynamics.
Evaluation of Fast Electrostatics Algorithms Alice N. Ko and Jesús A. Izaguirre with Thierry Matthey Department of Computer Science and Engineering University.
Phase separation of two-component systems in thin films
University of North Carolina - Chapel Hill Fluid & Rigid Body Interaction Comp Physical Modeling Craig Bennetts April 25, 2006 Comp Physical.
1 MECH 221 FLUID MECHANICS (Fall 06/07) Tutorial 6 FLUID KINETMATICS.
Parallel Flat Histogram Simulations Malek O. Khan Dept. of Physical Chemistry Uppsala University.
Lecture VII Rigid Body Dynamics CS274: Computer Animation and Simulation.
Efficient Parallel Implementation of Molecular Dynamics with Embedded Atom Method on Multi-core Platforms Reporter: Jilin Zhang Authors:Changjun Hu, Yali.
Algorithms and Software for Large-Scale Simulation of Reactive Systems _______________________________ Ananth Grama Coordinated Systems Lab Purdue University.
A Computational Approach To Mesoscopic Modelling A Computational Approach To Mesoscopic Polymer Modelling C.P. Lowe, A. Berkenbos University of Amsterdam.
Global weak solutions of an initial boundary value problem for screw pinches in plasma physics Song Jiang Institute of Applied Physics and Computational.
Computational issues in Carbon nanotube simulation Ashok Srinivasan Department of Computer Science Florida State University.
Molecular Dynamics Collection of [charged] atoms, with bonds – Newtonian mechanics – Relatively small #of atoms (100K – 10M) At each time-step – Calculate.
Molecular Dynamics A brief overview. 2 Notes - Websites "A Molecular Dynamics Primer", F. Ercolessi
Chicago, July 22-23, 2002DARPA Simbiosys Review 1 Monte Carlo Particle Simulation of Ionic Channels Trudy van der Straaten Umberto Ravaioli Beckman Institute.
Simulations of Compressible MHD Turbulence in Molecular Clouds Lucy Liuxuan Zhang, CITA / University of Toronto, Chris Matzner,
Scheduling Many-Body Short Range MD Simulations on a Cluster of Workstations and Custom VLSI Hardware Sumanth J.V, David R. Swanson and Hong Jiang University.
Basics of molecular dynamics. Equations of motion for MD simulations The classical MD simulations boil down to numerically integrating Newton’s equations.
Force Fields and Numerical Solutions Christian Hedegaard Jensen - within Molecular Dynamics.
A particle-gridless hybrid methods for incompressible flows
P ARALLELIZATION IN M OLECULAR D YNAMICS By Aditya Mittal For CME346A by Professor Eric Darve Stanford University.
Co-ordination & Harmonisation of Advanced e-Infrastructures for Research and Education Data Sharing Research Infrastructures – Proposal n GROMACs.
Dissipative Particle Dynamics. Molecular Dynamics, why slow? MD solves Newton’s equations of motion for atoms/molecules: Why MD is slow?
Overcoming Scaling Challenges in Bio-molecular Simulations Abhinav Bhatelé Sameer Kumar Chao Mei James C. Phillips Gengbin Zheng Laxmikant V. Kalé.
Molecular Dynamics Study of Aqueous Solutions in Heterogeneous Environments: Water Traces in Organic Media Naga Rajesh Tummala and Alberto Striolo School.
Advanced Molecular Dynamics Velocity scaling Andersen Thermostat Hamiltonian & Lagrangian Appendix A Nose-Hoover thermostat.
Computational Aspects of Multi-scale Modeling Ahmed Sameh, Ananth Grama Computing Research Institute Purdue University.
Comparative Study of NAMD and GROMACS
Introduction: Lattice Boltzmann Method for Non-fluid Applications Ye Zhao.
Chapter 9: Molecular-dynamics Integrate equations of motion-- classical! Discrete form of Newton’s second law Forces from interaction potential For a simple.
Application of the MCMC Method for the Calibration of DSMC Parameters James S. Strand and David B. Goldstein The University of Texas at Austin Sponsored.
Molecular dynamics (2) Langevin dynamics NVT and NPT ensembles
Molecular dynamics (4) Treatment of long-range interactions Computing properties from simulation results.
MSc in High Performance Computing Computational Chemistry Module Parallel Molecular Dynamics (i) Bill Smith CCLRC Daresbury Laboratory
EPSRC Portfolio Partnership in Complex Fluids and Complex Flows Computational Rheology The Numerical Prediction of Complex Flows of Complex Fluids Gigantic.
Grid and Particle Based Methods for Complex Flows - the Way Forward Tim Phillips Cardiff University EPSRC Portfolio Partnership on Complex Fluids and Complex.
Particle-based Viscoelastic Fluid Simulation Simon Clavet Philippe Beaudoin Pierre Poulin LIGUM, Université de Montréal.
V.M. Sliusar, V.I. Zhdanov Astronomical Observatory, Taras Shevchenko National University of Kyiv Observatorna str., 3, Kiev Ukraine
1 Rocket Science using Charm++ at CSAR Orion Sky Lawlor 2003/10/21.
M. Khalili1, M. Larsson2, B. Müller1
Parallel Molecular Dynamics A case study : Programming for performance Laxmikant Kale
Computational Techniques for Efficient Carbon Nanotube Simulation
Dynamical correlations & transport coefficients
Fundamentals of Molecular Dynamics Simulations
ReMoDy Reactive Molecular Dynamics for Surface Chemistry Simulations
Implementing Simplified Molecular Dynamics Simulation in Different Parallel Paradigms Chao Mei April 27th, 2006 CS498LVK.
Intermittency and clustering in a system of self-driven particles
Molecular Modelling - Lecture 3
Molecular Dynamics.
Algorithms and Software for Large-Scale Simulation of Reactive Systems
Dynamical correlations & transport coefficients
Dynamical correlations & transport coefficients
Fluid properties 1.
Advanced Molecular Dynamics
Computational Techniques for Efficient Carbon Nanotube Simulation
Algorithms and Software for Large-Scale Simulation of Reactive Systems
Time-dependent picture for trapping of an anomalous massive system
Presentation transcript:

Formulation of an algorithm to implement Lowe-Andersen thermostat in parallel molecular simulation package, LAMMPS Prathyusha K. R. and P. B. Sunil Kumar Complex Fluids and Biological Physics Lab Department of Physics IIT Madras

Introduction Molecular Dynamic (MD) Simulation solves Newton’s equations of motion  Microcanonical NVE ensemble NVT is more realistic than an NVE ensemble: Various thermostat used in MD simulations: Nose-Hoover thermostat Andersen thermostat Stochastic Dynamics thermostat Dissipative Particle Dynamics thermostat Lowe-Andersen thermostat

Lowe-Andersen thermostat (LAT) A thermostat with momentum conservation Simulates a wide-range of Schmidt number, Kinematic viscosity Diffusion coefficient For water, Method Step 1: Solve for positions and velocities of particles at Step 2: For all pairs of particles within (zero mean and unit variance) Generate a relative velocity from a distribution and with a probability C. P. Lowe, Europhys. Lett. 47, 145 (1999)

Single CPU simulation Soft beads in a box of size: 15x15x15 Number density: Time step: Co-ordinates of particle Elements of stress tensor Volume of the box To simulate millions of particles: LAMMPS (Large-scale Atomic/Molecular Massively Parallel Simulator) S. Plimpton, J Comp Phys, 117, 1 (1995) ( http://lammps.sandia.gov/ ) runs on a single processor or in parallel distributed-memory message-passing parallelism (MPI) spatial-decomposition of simulation domain for parallelism

Parallelization of LAT is difficult due to the pair update of velocity Domain 1. Domain 3. Domain 4. Domain 2. Spatial decomposition assign particle to each domain Each processor update position, velocities and compute forces Communication scheme for particles in nearby boxes Ghost particles  particles which aren’t part of a domain but interacting with that domain. Parallelization of LAT is difficult due to the pair update of velocity This update scheme requires the velocity of neighbor particles Processors should know the updated velocity of particle at the instant. A processor a priori don’t know a particle at the boundary is involved in collision Velocity has to be communicated every time, when there is a collision between particles. It is computationally expensive!

A modified algorithm for LAT Communicate and update velocity after few collision events Pick up no. of pairs randomly for collision No. of boundary particles This ensure that is uniformly distributed within each domain Velocity is updated using the LAT Eqn. The parameter that controls : (no. of communication at given time step) The mapping between original LAT: ( Total no. of pairs in each domain) The parameter that defines the probability K. R. Prathyusha et al., Proceedings of the ATIP/A*CRC workshop-2012, 124 (2012)

Validating LAT parallel algorithm Soft beads in a box of size: 15x15x15 does not change with the number of processors for given The relation between and The relationship between (original LAT) and : linear (No. of processor used 16) K. R. Prathyusha et al., Proceedings of the ATIP/A*CRC workshop-2012, 124 (2012)

Benchmarking of LAT parallel algorithm Soft beads with Box of size: 40x40x40 Time step: Time taken for 10000 steps K. R. Prathyusha et al., Proceedings of the ATIP/A*CRC workshop-2012, 124 (2012)

Few applications of modified LAT Polymer Dynamics Simulations Living Polymer Simulations K. R. Prathyusha et al., Proceedings of the ATIP/A*CRC workshop-2012, 124 (2012)

Thank you for your attention Conclusions A parallel version of Lowe-Andersen thermostat was developed Its suitability by comparing the original serial version with the modified parallel version, is validated Viscosity parameter in the original and modified versions of LAT exhibit linear relation The algorithm is shown to exhibit good scaling with the number of processors Acknowledgments HPCE, at IIT Madras Thank you for your attention