Specialising simulator generators for high-performance Monte-Carlo methods

  • Authors:
  • Gabriele Keller;Hugh Chaffey-Millar;Manuel M. T. Chakravarty;Don Stewart;Christopher Barner-Kowollik

  • Affiliations:
  • School of Computer Science and Engineering, University of New South Wales;Centre for Advanced Macromolecular Design, School of Chemical Sciences and Engineering, University of New South Wales;School of Computer Science and Engineering, University of New South Wales;School of Computer Science and Engineering, University of New South Wales;Centre for Advanced Macromolecular Design, School of Chemical Sciences and Engineering, University of New South Wales

  • Venue:
  • PADL'08 Proceedings of the 10th international conference on Practical aspects of declarative languages
  • Year:
  • 2008

Quantified Score

Hi-index 0.00

Visualization

Abstract

We address the tension between software generality and performance in the domain of simulations based on Monte-Carlo methods. We simultaneously achieve generality and high performance by a novel development methodology and software architecture centred around the concept of a specialising simulator generator. Our approach combines and extends methods from functional programming, generative programming, partial evaluation, and runtime code generation. We also show how to generate parallelised simulators. We evaluated our approach by implementing a simulator for advanced forms of polymerisation kinetics. We achieved unprecedented performance, making Monte-Carlo methods practically useful in an area that was previously dominated by deterministic PDE solvers. This is of high practical relevance, as Monte-Carlo simulations can provide detailed microscopic information that cannot be obtained with deterministic solvers.