Skip to main content

Parallelization of MD Algorithms and Load Balancing

  • Chapter
  • First Online:
Supercomputing for Molecular Dynamics Simulations

Part of the book series: SpringerBriefs in Computer Science ((BRIEFSCOMPUTER))

Abstract

MD simulation in process engineering features enormous computational demands, and therefore requires efficient parallelization techniques. This chapter describes ls1 mardyn ’s parallelization approach for shared-memory and distributed-memory architectures. This is done by first defining today’s computing architectures and their governing design principles: Heterogeneity, massive amounts of cores and data parallelism. Based on this, we are then able to reengineer ls1 mardyn in such a way that it can optimally leverage important hardware features, and describe our parallelization approach for shared- and distributed-memory systems at the example of the Intel Xeon processor and the Intel Xeon Phi coprocessor, respectively. We close this section by describing load-balancing techniques in case of a distributed-memory parallelization and heterogeneous particle distributions in the computational domain.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    http://www.lrz.de/services/compute/supermuc/.

References

  1. S. Plimpton, Fast parallel algorithms for short-range molecular dynamics. J. Comput. Phys. 117(1), 1–19 (1995)

    Article  MATH  Google Scholar 

  2. H. Meuer, E. Strohmaier, J. Dongarra, H. Simon, Top500 list (2013), http://www.top500.org. Accessed 23 June 2013

  3. J.L. Hennessy, D.A. Patterson, Computer Architecture—A Quantitative Approach, 5th edn. (Morgan Kaufmann, San Francisco, 2012)

    MATH  Google Scholar 

  4. E. Rotenberg, S. Bennett, J. Smith, Trace cache: a low latency approach to high bandwidth instruction fetching, in Proceedings of the 29th Annual IEEE/ACM International Symposium on Microarchitecture, MICRO-29, pp. 24–34 (1996)

    Google Scholar 

  5. OpenMP Architecture Review Board, OpenMP Application Program Interface Version 3 (2008)

    Google Scholar 

  6. J. Reinders, Intel threading building blocks, 1st edn. (O’Reilly & Associates Inc., Sebastopol, 2007)

    Google Scholar 

  7. Intel Cooperation, Intel(R) MPI Library for Linux OS, Version 4.1. Update 1 (2013)

    Google Scholar 

  8. S. Potluri, D. Bureddy, K. Hamidouche, A. Venkatesh, K. Kandalla, H. Subramoni, D.K.D. Panda, MVAPICH-PRISM: a proxy-based communication framework using InfiniBand and SCIF for intel MIC clusters, in Proceedings of the International Conference on High Performance Computing, Networking, Storage and Analysis, SC’13 (ACM, New York, 2013), pp. 1–11

    Google Scholar 

  9. A. Heinecke, Boosting scientific computing applications through leveraging data parallel architectures. Ph.D. thesis, Institut für Informatik, Technische Universität München, 2014. Dissertation available from publishing house Dr. Hut under ISBN: 978-3-8439-1408-6

    Google Scholar 

  10. W. Smith, A replicated data molecular dynamics strategy for the parallel Ewald sum. Comput. Phys. Commun. 67(3), 392–406 (1992)

    Article  Google Scholar 

  11. R.K. Kalia, S. de Leeuw, A. Nakano, P. Vashishta, Molecular-dynamics simulations of Coulombic systems on distributed-memory MIMD machines. Comput. Phys. Commun. 74(3), 316–326 (1993)

    Article  Google Scholar 

  12. Y. Liu, C. Hu, C. Zhao, Efficient parallel implementation of Ewald summation in molecular dynamics simulations on multi-core platforms. Comput. Phys. Commun. 182(5), 1111–1119 (2011)

    Article  MATH  Google Scholar 

  13. M. Kunaseth, D. F. Richards, J. N. Glosli, R.K. Kalia, A. Nakano, P. Vashishta, Analysis of scalable data-privatization threading algorithms for hybrid MPI/OpenMP parallelization of molecular dynamics. J. Supercomput. 1–25 (2013)

    Google Scholar 

  14. M. Buchholz, Framework zur Parallelisierung von Molekulardynamiksimulationen in verfahrenstechnischen Anwendungen. Dissertation, Institut für Informatik, Technische Universität München, 2010

    Google Scholar 

  15. J.A. Anderson, C.D. Lorenz, A. Travesset, General purpose molecular dynamics simulations fully implemented on graphics processing units. J. Comput. Phys. 227, 5342–5359 (2008)

    Article  MATH  Google Scholar 

  16. D.C. Rapaport, Enhanced molecular dynamics performance with a programmable graphics processor. Comput. Phys. Commun. 182(4), 926–934 (2011)

    Article  MATH  MathSciNet  Google Scholar 

  17. J.E. Stone, J.C. Phillips, P.L. Freddolino, D.J. Hardy, L.G. Trabuco, K. Schulten, Accelerating molecular modeling applications with graphics processors. J. Comput. Chem. 28, 2618–2640 (2007)

    Article  Google Scholar 

  18. J. van Meel, A. Arnold, D. Frenkel, S. Portegies Zwart, R. Belleman, Harvesting graphics power for MD simulations. Mol. Simul. 34(3), 259–266 (2008)

    Article  Google Scholar 

  19. K.J. Bowers, R.O. Dror, D.E. Shaw, Zonal methods for the parallel execution of range-limited N-body simulations. J. Comput. Phys. 221(1), 303–329 (2007)

    Article  MATH  MathSciNet  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Alexander Heinecke .

Rights and permissions

Reprints and permissions

Copyright information

© 2015 The Author(s)

About this chapter

Cite this chapter

Heinecke, A., Eckhardt, W., Horsch, M., Bungartz, HJ. (2015). Parallelization of MD Algorithms and Load Balancing. In: Supercomputing for Molecular Dynamics Simulations. SpringerBriefs in Computer Science. Springer, Cham. https://doi.org/10.1007/978-3-319-17148-7_3

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-17148-7_3

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-17147-0

  • Online ISBN: 978-3-319-17148-7

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics