多核体系结构下反应分子动力学模拟的性能优化
Optimizing the Performance of Reactive Molecular Dynamics Simulations for Multi-Core Architectures
摘要:
反应分子动力学模拟计算量很大。达到可以观察到有趣的科学现象的空间和时间尺度,需要在现代硬件上实现高效和可扩展的实现。在本文中,我们专注于优化性能的广泛使用的LAMMPS/ReaxC包的多核架构。由于混合并行可以更好地利用节点上的并行性,我们采用线程并行性的绑定和非绑定列表的建设,并在复杂的ReaxFF交互的计算。为了减轻由于产生大量轨迹数据而产生的I/O开销,并为用户节省后处理的负担,我们还开发了一种用于分子种类分析的新型原位工具。我们分析了所得到的ReaxC-OMP包的米拉,IBM蓝色基因/Q超级计算机上的性能。对于尺寸从3.2万到1660万颗粒的PETN系统,我们观察到1.5- 4.5倍的加速。我们观察到Mira高达262,144个核心(1,048,576个进程)的持续性能改进,以及在包含1660万个粒子的大型模拟中91.5%的弱缩放效率。原位分子种类分析工具在各种系统尺寸和运行配置中仅引起微不足道的开销。
英文摘要:
Reactive molecular dynamics simulations are computationally demanding. Reaching spatial and temporal scales where interesting scientific phenomena can be observed requires efficient and scalable implementations on modern hardware. In this paper, we focus on optimizing the performance of the widely used LAMMPS/ReaxC package for multi-core architectures. As hybrid parallelism allows better leverage of the increasing on-node parallelism, we adopt thread parallelism in the construction of bonded and nonbonded lists, and in the computation of complex ReaxFF interactions. To mitigate the I/O overheads due to large volumes of trajectory data produced and to save users the burden of post-processing, we also develop a novel in-situ tool for molecular species analysis. We analyze the performance of the resulting ReaxC-OMP package on Mira, an IBM Blue Gene/Q supercomputer. For PETN systems of sizes ranging from 32 thousand to 16.6 million particles, we observe speedups in the range of 1.5-4.5x. We observe sustained performance improvements for up to 262,144 cores (1,048,576 processes) of Mira and a weak scaling efficiency of 91.5% in large simulations containing 16.6 million particles. The in-situ molecular species analysis tool incurs only insignificant overheads across various system sizes and run configurations.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。