Skip to main content

On Performance Enhancement of Molecular Dynamics Simulation Using HPC Systems

  • Conference paper
  • First Online:
Proceedings of Second International Conference on Computing, Communications, and Cyber-Security

Part of the book series: Lecture Notes in Networks and Systems ((LNNS,volume 203))

  • 1828 Accesses

Abstract

The proposed work aims to enhance performance of molecular dynamics (MD) simulation code using various high-performance computing (HPC) approaches. The two-dimensional (2D) legacy code is parallelized using message-passing interface (MPI). Parallelization strategies when deployed with HPC platform, the performance and scalability improve with reduction in required computational time. Simulation experiments included two different numbers of atoms deployment keeping step size, time step, initial and boundary condition constant. Various profiling tools have been applied for identifying the hot spots that consume most of the execution time in the code. MD code is optimized employing following four approaches namely (1) force decomposition, (2) force decomposition with data organization, (3) intra- and inter-force decomposition with data organization and (4) intra- and inter-force decomposition with data organization and grid management. The output of these approaches is tested for the required accuracy by comparing its results with original standard MPI parallelized code. Simulation results for these approaches are found satisfactory from performance aspect. A comparative study is carried based on various performance metrics like execution time, speedup ratio and efficiency with multiprocessors. These approaches, when deployed on various platforms, are found better than standard MPI parallelized code except for the data organization approach. When the code is reformed implementing all approaches, the maximum speedup is found in the range of 2.5–4.5 times based on use of number of processors. Enhancement of code performance by saving computation time helps to solve the large-scale problems more efficiently.

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 169.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 219.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

References

  1. Rapaport DC (2004) The art of molecular dynamics simulation, 2nd edn. Bar-Ilan University, Israel

    Book  Google Scholar 

  2. Chris M, Meyer R (2017) A hybrid algorithm for parallel molecular dynamics simulation computer physics communications. Comput Phys Commun 219:196–208

    Article  Google Scholar 

  3. Brown WM, Wang P, Steven J, Arnold N, Tharrington AN (2011) Implementing molecular dynamics on hybrid high performance computers—short range forces. Comput Phys Commun 182(4):898–911

    Article  Google Scholar 

  4. Anirban P, Abhishek A, Soumyendu R, Baidurya B (2014) Performance metrics in a hybrid MPI–OpenMP based molecular dynamics simulation with short-range interactions. J Parallel Distrib Comput 74(3):2203–2214

    Article  Google Scholar 

  5. Shrinidhi H, Shrihari H, Raghu H, Yashonath S, Mohan TS (2012) Parallelizing molecular dynamics solutions for high performance. In: ATIP’12: proceedings of the ATIP/A*CRC workshop on accelerator technologies for high-performance computing: does Asia lead the way? Article No: 32, pp 1–4

    Google Scholar 

  6. Urban B, Benjamin T, Bernard R, Dusanka J (2012) Implementation of the force decomposition machine for molecular dynamics simulations. J Mol Graph Model 38:243–247

    Article  Google Scholar 

  7. Loft R, Thomas S, Dennis J (2001) Terascale spectral element dynamical core for atmospheric general circulation models. In: SC’01: proceedings of the 2001 ACM/IEEE conference on Supercomputing. Denver, USA, pp 18

    Google Scholar 

  8. Wenqian D, Letian K, Keqin L, Ziyu H, Xiang-Hui X (2016) Implementing molecular dynamics simulation on sunway Taihu Light system. In: IEEE 18th international conference on high performance computing and communications. Sydney, Australia

    Google Scholar 

  9. Terry W, Reinhard V, Hanxleden J, Andrew M, Scott LR (1994) Parallelizing molecular dynamics using spatial decomposition. In: Proceedings of IEEE scalable high performance computing conference, vol 1. Knoxville, TN, USA, pp 95–102

    Google Scholar 

  10. Steffen H, Dirk P (2016) Towards understanding optimal load-balancing of heterogeneous short-range molecular dynamics. In: 2016 IEEE 23rd international conference on high performance computing workshops (HiPCW). Hyderabad, India. ISBN 978-1-5090-5774-0

    Google Scholar 

  11. Techopedia Homepage: https://www.techopedia.com/definition/6308/cache-miss. Last accessed 2020/02/24

  12. Liem SY, Brown D, Clarke JHR (1991) Molecular dynamics simulations on distributed memory machines. Comput Phys Commun 67(2):261–267. ISSN 0010-4655. https://doi.org/10.1016/0010-4655(91)90021-C

  13. Ptitz M, Kolb A (1998) Optimization techniques for parallel molecular dynamics using domain decomposition. Comput Phys Commun 113(2-3):145–167

    Google Scholar 

  14. Krishna S, Dmitriy M, Stephane R (2017) Parallel adaptively restrained molecular dynamics. In: International conference on high performance computing & simulation. Genova, Italy, pp 308–314

    Google Scholar 

  15. Preeti M, Venkatram V, Christopher K, Todd M, Michael P (2016) Optimal execution of co-analysis for large-scale molecular dynamics simulations. In: International conference for high performance computing, networking, storage and analysis Salt Lake City, UT

    Google Scholar 

  16. Preeti M, Christopher K, Todd M, Venkatram V, Michael P (2017) Scalable in situ analysis of molecular dynamics simulations. In: ISAV’17: proceedings of the in situ infrastructures on enabling extreme-scale analysis and visualization, pp 1–6

    Google Scholar 

  17. Chen Y, Tong G, Tianqi W, Rushi P, Qingqing X, Ahmed S, Chunshu W, Jiayi S, Charles L, Vipin S, Woody S, Martin H (2019) Fully integrated FPGA molecular dynamics simulations. In: SC’19: proceedings of the international conference for high performance computing, networking, storage and analysis, Article No: 67, pp 1–31

    Google Scholar 

  18. Yihang W, Joao M, Pratyush T (2020) Machine learning approaches for analyzing and enhancing molecular dynamics simulations. Curr Opin Struct Biol 61:139–145

    Article  Google Scholar 

  19. Shu JW, Wang B, Chen M, Wang JZ (2003) Optimization techniques for parallel force-decomposition. Comput Phys Commun 154(2):121–130

    Article  Google Scholar 

  20. Integrated performances monitoring homepage. https://ipm-hpc.sourceforge.net/. Last accessed 22 Feb 2019

  21. Lawrence Livermore National Laboratory. Livermore computing center high performance computing homepage. https://hpc.llnl.gov/software/development-environment-software/tau-tuning-and-analysis-utilities. Last accessed 3 Apr 2019

  22. Performance visualization for Parallel Programs. https://www.mcs.anl.gov/research/projects/perfvis/software/viewers/index.html. Last accessed data 10 Mar 2019

Download references

Acknowledgements

We are grateful to the Institute of Plasma Research (IPR) for providing us the work environment and constant support. This work was fully funded through the Regular Research Project (RP) by the Board of Research in Nuclear Sciences (BRNS).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Gaurang Raval .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2021 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Rathod, T., Shah, M., Shah, N., Raval, G., Bhavsar, M., Ganesh, R. (2021). On Performance Enhancement of Molecular Dynamics Simulation Using HPC Systems. In: Singh, P.K., Wierzchoń, S.T., Tanwar, S., Ganzha, M., Rodrigues, J.J.P.C. (eds) Proceedings of Second International Conference on Computing, Communications, and Cyber-Security. Lecture Notes in Networks and Systems, vol 203. Springer, Singapore. https://doi.org/10.1007/978-981-16-0733-2_73

Download citation

  • DOI: https://doi.org/10.1007/978-981-16-0733-2_73

  • Published:

  • Publisher Name: Springer, Singapore

  • Print ISBN: 978-981-16-0732-5

  • Online ISBN: 978-981-16-0733-2

  • eBook Packages: EngineeringEngineering (R0)

Publish with us

Policies and ethics