arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1708.01135cs.DCcs.SEphysics.comp-ph
收藏

一个性能可移植的分子动力学框架中的长程力

Long range forces in a performance portable Molecular Dynamics framework

William R. Saunders, James Grant, Eike H. Müller

摘要:

分子动力学(MD)代码通过跟踪一组相互作用的模型粒子的轨迹来预测物质的基本性质。为了利用各种现代众核硬件,高效的代码必须使用所有可用的并行性。同时,它们需要是便携式的,并且可以由领域专家(物理学家/化学家)轻松扩展,而无需详细了解该硬件。为了应对这一挑战,我们最近描述了一种新的领域特定语言(DSL),用于开发基于“关注点分离”的性能可移植MD代码:Python框架自动为一系列目标体系结构生成高效的并行代码。带电粒子之间的静电相互作用在许多物理系统中很重要,并且通常主导运行时间。在这里,我们讨论在我们的代码生成框架中包含远程交互算法。这些算法需要全球通信和仔细考虑,必须考虑到并行可扩展性的任何影响。我们实现了Ewald求和算法的静电力,目前缩放比较不同的系统大小和现有代码的性能比较。我们还报告了使用OpenMP共享内存并行提供的进一步性能优化。

英文摘要:

Molecular Dynamics (MD) codes predict the fundamental properties of matter by following the trajectories of a collection of interacting model particles. To exploit diverse modern manycore hardware, efficient codes must use all available parallelism. At the same time they need to be portable and easily extendible by the domain specialist (physicist/chemist) without detailed knowledge of this hardware. To address this challenge, we recently described a new Domain Specific Language (DSL) for the development of performance portable MD codes based on a "Separation of Concerns": a Python framework automatically generates efficient parallel code for a range of target architectures. Electrostatic interactions between charged particles are important in many physical systems and often dominate the runtime. Here we discuss the inclusion of long-range interaction algorithms in our code generation framework. These algorithms require global communications and careful consideration has to be given to any impact on parallel scalability. We implemented an Ewald summation algorithm for electrostatic forces, present scaling comparisons for different system sizes and compare to the performance of existing codes. We also report on further performance optimisations delivered with OpenMP shared memory parallelism.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑