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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Rapaport DC (2004) The art of molecular dynamics simulation, 2nd edn. Bar-Ilan University, Israel
Chris M, Meyer R (2017) A hybrid algorithm for parallel molecular dynamics simulation computer physics communications. Comput Phys Commun 219:196–208
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
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
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
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
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
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
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
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
Techopedia Homepage: https://www.techopedia.com/definition/6308/cache-miss. Last accessed 2020/02/24
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
Ptitz M, Kolb A (1998) Optimization techniques for parallel molecular dynamics using domain decomposition. Comput Phys Commun 113(2-3):145–167
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
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
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
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
Yihang W, Joao M, Pratyush T (2020) Machine learning approaches for analyzing and enhancing molecular dynamics simulations. Curr Opin Struct Biol 61:139–145
Shu JW, Wang B, Chen M, Wang JZ (2003) Optimization techniques for parallel force-decomposition. Comput Phys Commun 154(2):121–130
Integrated performances monitoring homepage. https://ipm-hpc.sourceforge.net/. Last accessed 22 Feb 2019
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
Performance visualization for Parallel Programs. https://www.mcs.anl.gov/research/projects/perfvis/software/viewers/index.html. Last accessed data 10 Mar 2019
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
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2021 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.
About this paper
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)