arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1610.03343physics.comp-phcond-mat.mtrl-scics.CE
收藏

基于图形处理器的高效多体势分子动力学模拟

Efficient molecular dynamics simulations with many-body potentials on graphics processing units

Zheyong Fan, Wei Chen, Ville Vierimaa, Ari Harju

摘要:

图形处理单元已被广泛用于加速经典的分子动力学模拟。然而,在加速多体势的力评估方面的进展要比成对的少得多。在传统的多体势力评估算法中,给定原子的力、维里应力和热流在不同的循环中累积,这可能会导致CUDA内核中不同线程之间的写冲突。在这项工作中,我们提供了一种新的力评估算法,该算法基于最近导出的多体势的显式成对力表达式[Phys. Rev. B 92(2015)094301]。在我们的算法中,力,维里应力,和热流为一个给定的原子可以在一个线程内积累,是免费的写冲突。我们讨论的配方和算法,并评估其性能。一个新的开源代码,GPUMD,开发的基础上提出的配方。对于Tersoff多体势,使用Tesla K40卡的GPUMD的双精度性能相当于使用约100个CPU核心(Intel Xeon CPU X5670@2.93 GHz)运行的LAMMPS(大规模原子/分子大规模并行模拟器)分子动力学代码的性能。

英文摘要:

Graphics processing units have been extensively used to accelerate classical molecular dynamics simulations. However, there is much less progress on the acceleration of force evaluations for many-body potentials compared to pairwise ones. In the conventional force evaluation algorithm for many-body potentials, the force, virial stress, and heat current for a given atom are accumulated within different loops, which could result in write conflict between different threads in a CUDA kernel. In this work, we provide a new force evaluation algorithm, which is based on an explicit pairwise force expression for many-body potentials derived recently [Phys. Rev. B 92 (2015) 094301]. In our algorithm, the force, virial stress, and heat current for a given atom can be accumulated within a single thread and is free of write conflicts. We discuss the formulations and algorithms and evaluate their performance. A new open-source code, GPUMD, is developed based on the proposed formulations. For the Tersoff many-body potential, the double precision performance of GPUMD using a Tesla K40 card is equivalent to that of the LAMMPS (Large-scale Atomic/Molecular Massively Parallel Simulator) molecular dynamics code running with about 100 CPU cores (Intel Xeon CPU X5670 @ 2.93 GHz).

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

↑