Parallel Flat Histogram Simulations Malek O. Khan Dept. of Physical Chemistry Uppsala University.

Slides:



Advertisements
Similar presentations
Simulazione di Biomolecole: metodi e applicazioni giorgio colombo
Advertisements

Formulation of an algorithm to implement Lowe-Andersen thermostat in parallel molecular simulation package, LAMMPS Prathyusha K. R. and P. B. Sunil Kumar.
Polyelectrolyte solutions
Efficient Cosmological Parameter Estimation with Hamiltonian Monte Carlo Amir Hajian Amir Hajian Cosmo06 – September 25, 2006 Astro-ph/
Experimental Design, Response Surface Analysis, and Optimization
Influence of Charge and Network Inhomogeneities on the Swollen-Collapsed Transition in Polyelectrolyte Nanogels Prateek Jha (Northwestern University) Jos.
Modern Monte Carlo Methods: (2) Histogram Reweighting (3) Transition Matrix Monte Carlo Jian-Sheng Wang National University of Singapore.
Markov-Chain Monte Carlo
1 Quantum Monte Carlo Methods Jian-Sheng Wang Dept of Computational Science, National University of Singapore.
1 CE 530 Molecular Simulation Lecture 8 Markov Processes David A. Kofke Department of Chemical Engineering SUNY Buffalo
The Calculation of Enthalpy and Entropy Differences??? (Housekeeping Details for the Calculation of Free Energy Differences) first edition: p
R Measurement at charm resonant region Haiming HU BES Collaboration Charm 2007 Cornell University Ithaca, NY. US.
Phase Diagram of a Point Disordered Model Type-II Superconductor Peter Olsson Stephen Teitel Umeå University University of Rochester IVW-10 Mumbai, India.
Computer vision: models, learning and inference Chapter 10 Graphical Models.
Monte Carlo Methods in Partial Differential Equations.
Normalised Least Mean-Square Adaptive Filtering
Introduction to Monte Carlo Methods D.J.C. Mackay.
Monte Carlo Simulation of Ising Model and Phase Transition Studies By Gelman Evgenii.
Advanced methods of molecular dynamics Monte Carlo methods
‘Tis not folly to dream: Using Molecular Dynamics to Solve Problems in Chemistry Christopher Adam Hixson and Ralph A. Wheeler Dept. of Chemistry and Biochemistry,
Classical and Quantum Monte Carlo Methods Or: Why we know as little as we do about interacting fermions Erez Berg Student/Postdoc Journal Club, Oct
Algorithms and Software for Large-Scale Simulation of Reactive Systems _______________________________ Ananth Grama Coordinated Systems Lab Purdue University.
Free energies and phase transitions. Condition for phase coexistence in a one-component system:
Bayesian parameter estimation in cosmology with Population Monte Carlo By Darell Moodley (UKZN) Supervisor: Prof. K Moodley (UKZN) SKA Postgraduate conference,
Outline Review of extended ensemble methods (multi-canonical, Wang-Landau, flat-histogram, simulated tempering) Replica MC Connection to parallel tempering.
1 CE 530 Molecular Simulation Lecture 17 Beyond Atoms: Simulating Molecules David A. Kofke Department of Chemical Engineering SUNY Buffalo
Chicago, July 22-23, 2002DARPA Simbiosys Review 1 Monte Carlo Particle Simulation of Ionic Channels Trudy van der Straaten Umberto Ravaioli Beckman Institute.
1 Worm Algorithms Jian-Sheng Wang National University of Singapore.
Simulated Annealing.
For a new configuration of the same volume V and number of molecules N, displace a randomly selected atom to a point chosen with uniform probability inside.
Mixture Models, Monte Carlo, Bayesian Updating and Dynamic Models Mike West Computing Science and Statistics, Vol. 24, pp , 1993.
1 Statistical Mechanics and Multi- Scale Simulation Methods ChBE Prof. C. Heath Turner Lecture 14 Some materials adapted from Prof. Keith E. Gubbins:
8. Selected Applications. Applications of Monte Carlo Method Structural and thermodynamic properties of matter [gas, liquid, solid, polymers, (bio)-macro-
Markov Chain Monte Carlo and Gibbs Sampling Vasileios Hatzivassiloglou University of Texas at Dallas.
31 Polyelectrolyte Chains at Finite Concentrations Counterion Condensation N=187, f=1/3,  LJ =1.5, u=3 c  3 = c  3 =
1 M.Sc. Project of Hanif Bayat Movahed The Phase Transitions of Semiflexible Hard Sphere Chain Liquids Supervisor: Prof. Don Sullivan.
Study of Pentacene clustering MAE 715 Project Report By: Krishna Iyengar.
MatSE 385 Project Abstract Polyelectrolyte Simulation Camilo Guaqueta Matthew Wong Chunguang Xia Atomic scale simulation.
Time-dependent Schrodinger Equation Numerical solution of the time-independent equation is straightforward constant energy solutions do not require us.
Exploring the connection between sampling problems in Bayesian inference and statistical mechanics Andrew Pohorille NASA-Ames Research Center.
Chapter 7. Control Charts for Attributes
A Computational Study of Three Demon Algorithm Variants for Solving the TSP Bala Chandran, University of Maryland Bruce Golden, University of Maryland.
Parallel & Distributed Systems and Algorithms for Inference of Large Phylogenetic Trees with Maximum Likelihood Alexandros Stamatakis LRR TU München Contact:
Molecular Modelling - Lecture 2 Techniques for Conformational Sampling Uses CHARMM force field Written in C++
13. Extended Ensemble Methods. Slow Dynamics at First- Order Phase Transition At first-order phase transition, the longest time scale is controlled by.
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.
An Introduction to Monte Carlo Methods in Statistical Physics Kristen A. Fichthorn The Pennsylvania State University University Park, PA
MSc in High Performance Computing Computational Chemistry Module Parallel Molecular Dynamics (i) Bill Smith CCLRC Daresbury Laboratory
Determining the Complexity of the Quantum Adiabatic Algorithm using Monte Carlo Simulations A.P. Young, University of California Santa Cruz
Monte Carlo Linear Algebra Techniques and Their Parallelization Ashok Srinivasan Computer Science Florida State University
Data-Driven Time-Parallelization in the AFM Simulation of Proteins L. Ji, H. Nymeyer, A. Srinivasan, and Y. Yu Florida State University
Metaheuristics for the New Millennium Bruce L. Golden RH Smith School of Business University of Maryland by Presented at the University of Iowa, March.
Lecture 14: Advanced Conformational Sampling Dr. Ronald M. Levy Statistical Thermodynamics.
Kevin Stevenson AST 4762/5765. What is MCMC?  Random sampling algorithm  Estimates model parameters and their uncertainty  Only samples regions of.
Computational Physics (Lecture 10) PHY4370. Simulation Details To simulate Ising models First step is to choose a lattice. For example, we can us SC,
Systematic errors of MC simulations Equilibrium error averages taken before the system has reached equilibrium  Monitor the variables you are interested.
Generalization Performance of Exchange Monte Carlo Method for Normal Mixture Models Kenji Nagata, Sumio Watanabe Tokyo Institute of Technology.
On the understanding of self-assembly of anisotropic colloidal particles using computer simulation methods Nikoletta Pakalidou1✣ and Carlos Avendaño1 1.
Computational Physics (Lecture 10)
Overview of Molecular Dynamics Simulation Theory
Monte Carlo methods 10/20/11.
On the understanding of self-assembly of anisotropic colloidal particles using computer simulation methods Nikoletta Pakalidou1✣ and Carlos Avendaño1 1.
Maria Okuniewski Nuclear Engineering Dept.
Permeability of gases in glassy polymers by computer simulation
Simulation of Oxygen Ion Ordering as a Result of Temperature Change
12. Reweighting Methods.
14. TMMC, Flat-Histogram and Wang-Landau Method
Driven Adiabatic Dynamics Approach to the Generation of Multidimensional Free-Energy Surfaces. Mark E. Tuckerman, Dept. of Chemistry, New York University,
Presentation transcript:

Parallel Flat Histogram Simulations Malek O. Khan Dept. of Physical Chemistry Uppsala University

Original motivation: DNA condensation Fluorescence microscopy of DNA with multivalent ions K. Yoshikawa et al, Phys. Rev. Letts., 76, 3029, 1996 Parallel Flat Histogram Simulations Malek O. Khan Dept. of Physical Chemistry, Uppsala University DNA either elongated or compact not in between

Original motivation: DNA condensation Fluorescence microscopy of DNA with multivalent ions K. Yoshikawa et al, Phys. Rev. Letts., 76, 3029, 1996 Parallel Flat Histogram Simulations Malek O. Khan Dept. of Physical Chemistry, Uppsala University DNA either elongated or compact not in between “unambiguous interpretation of experimental observations” - Kenneth Ruud

 Hamiltonian  Fixed bond length  Electrostatics  Hard sphere particles  Intrinsic stiffness  Outer spherical cell  Moves - clothed pivot & translation Polyelectrolyte model R ee ii output

 Polyelectrolyte conformation  Stretched under normal conditions  Large electrostatic interactions lead to condensation Condensation of polyelectrolytes - MC  Flexible polyelectrolytes Experiments by R. Watson, J. Cooper-White & V. Tirtaatmadja, PFPC NaPSS v v  Effect of intrinsic chains stiffness??? Problem 1: Mixture of length scales - bonds and Coulomb lead to slow convergence --> parallel calculations Problem 2: Long range Coulomb interaction - every particle interacts with every other particle

Months of computer time needed for stiff polyelectrolytes Problem 1: Mixture of length scales - bonds and Coulomb lead to slow convergence --> parallel calculations Problem 2: Long range Coulomb interaction - every particle interacts with every other particle in the Monte Carlo Simulation Convergence for stiff PE (N=128) R ee Total simulation time = 6 daysAutocorrelation time ~ hours

 Cluster moves - clothed pivot  Parallel expended ensembles  Parallel flat histogram techniques Solutions

 Our implementation is a parallel implementation of a serial algorithm introduced by Engkvist & Karlström and Wang & Landau  Instead of importance sampling create a flat distribution of the quantity of interest  Correctly done this gives the potential of mean force (POMF) as a function of the quantity of interest Parallel flat histogram simulations Engkvist & Karlström, Chem. Phys. 213 (1996), Wang & Landau, PRL 86 (2001)

Potential of mean force, w Add U * If p * (  ) = constant New formulation of the problem: construct a “flat” p

Implementation Discretize U * (  ) and set to zero (here  is R ee ) For every  visited, update U * (  ) with  pen Repeat until p * (  ) is “flat” Decrease  pen ---->  pen /2 Repeat until  pen is small Parameters:  Number of bins (~ )  Initial choice of  pen ( k B T)  What is “flat” (max[|p * (  ) - |] < ( )  Finish when  pen < ( )

Parallel implementation Run copies on N cpu processors with different random number seeds Calculate individual U * and p * on every CPU During simulation sum U * and p * from all processors Distribute cpu to all processors Check averaged cpu Each processor does not have a constant p * but the sum over N cpu

Distribution functions Neutral polymer, N=240 8 million iterations 4 million iterations 1 million iterations Flat histogram method at least of same quality

Evolution of the potential of mean force Polyelectrolyte, N=64, tetravalent counterions POMF at every update of  pen shown below The right graph only shows the last 8 The POMF converges to a solution. There is no way of knowing if it is the correct solution. Experimental approach has to be taken.

Time between updates Experimental approach: Do it 11 times and collect statistics Time between updates is independent of N cpu

Errors in the POMFs Experimental approach: Do it 11 times and collect statistics Error is independent of N cpu N CPU =2 N CPU =32

Parallel efficiency Polyelectrolyte, N=64, tetravalent counterions Extra time for communication is small up to N cpu =32 alpha SC Brecca Beowulf CPU Xeon 2.8 GHz with Myrinet

Parallel efficiency (effect of system size) Larger, more complex, systems scale better

Individual processors Polyelectrolyte, N=64, tetravalent counterions N cpu = 4N cpu = 32 All CPUs do not have a flat histogram - the sum has

Polyelectrolyte, N=128, monovalent counterions + added tetravalent salt Scales to 64 processors on edda (VPAC Power5) and APAC’s Altix Itanium2. Case study: Polyelectrolytes with intrinsic stiffness

Distribution functions - Flexible PE Polyelectrolyte, N=128, monovalent counterions + added tetravalent salt l p 0 =12 Å f=0 f=0.25 f=0.5 f=0.75 f=1

Distribution functions - stiff PE Polyelectrolyte, N=128, monovalent counterions + added tetravalent salt l p 0 =120 Å f=0 f=0.25 f=0.5 f=0.75 f=1

Summary - Stiff polyelectrolytes Fluorescence microscopy of DNA K. Yoshikawa et al, Phys. Rev. Letts., 76, 3029, 1996 Monte Carlo Possible to simulate all or nothing phase transition of stiff polyelectrolytes, see double maxima for n c =38 on previous page Simulation time for each point is 1 week on 24 processors on brecca (VPAC 2.8GHz Xeon with Myrinet interconnect) (5.6 CPU months)

Gives the free energy directly Allows exploration of areas of phase space which are difficult to reach with conventional MC - complements importance sampling Parallelisation is easily implemented and shown to scale linearly to a large amount of CPUs on clusters Time between updates is independent of N CPU Error is independent of N CPU Distribution is flat over all CPUs not every individual one CPU time does not increase with N CPU (for large systems) Summary - Parallel flat histograms

Acknowledgments People Derek Chan – Big boss Simon Petris – PhD student: double layers Gareth Kennedy – MSc student: computational methods Malek Ghantous – Honours student: polymer conformation Grants & Organisations Wenner-Gren Foundation – post doc grant ARC PFPC at The University of Melbourne VPAC and APAC Australia