使用GPU进行玻璃态动力学的高加速模拟:对有限浮点精度的警告
Highly accelerated simulations of glassy dynamics using GPUs: caveats on limited floating-point precision
摘要:
现代图形处理单元(GPU)提供了令人印象深刻的计算资源,可以通过CUDA编程接口方便地访问这些资源。我们描述了如何GPU可以用来大大加快分子动力学(MD)模拟系统的大小范围高达约100万个粒子。特别强调的是在能量和动量守恒方面的数值长期稳定性,并发出警告有限的浮点精度。通过对算法精度关键部分的浮点运算进行双单模拟,得到了10^8 MD步以上的严格能量守恒。对于过冷二元Lennard-Jones混合物的缓慢动力学,我们证明了使用单浮点精度可能导致定量甚至物理上错误的结果。对于Lennard-Jones流体的模拟,与CPU的串行实现相比,所描述的实现示出了高达80的加速因子,并且发现单个GPU与使用64个分布式核的并行MD模拟进行比较。
英文摘要:
Modern graphics processing units (GPUs) provide impressive computing resources, which can be accessed conveniently through the CUDA programming interface. We describe how GPUs can be used to considerably speed up molecular dynamics (MD) simulations for system sizes ranging up to about 1 million particles. Particular emphasis is put on the numerical long-time stability in terms of energy and momentum conservation, and caveats on limited floating-point precision are issued. Strict energy conservation over 10^8 MD steps is obtained by double-single emulation of the floating-point arithmetic in accuracy-critical parts of the algorithm. For the slow dynamics of a supercooled binary Lennard-Jones mixture, we demonstrate that the use of single-floating point precision may result in quantitatively and even physically wrong results. For simulations of a Lennard-Jones fluid, the described implementation shows speedup factors of up to 80 compared to a serial implementation for the CPU, and a single GPU was found to compare with a parallelised MD simulation using 64 distributed cores.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。