...
首页> 外文期刊>Journal of chemical theory and computation: JCTC >Revisiting Molecular Dynamics on a CPU/GPU System: Water Kernel and SHAKE Parallelization
【24h】

Revisiting Molecular Dynamics on a CPU/GPU System: Water Kernel and SHAKE Parallelization

机译:重新审视CPU / GPU系统上的分子动力学:水核和SHAKE并行化

获取原文
获取原文并翻译 | 示例
           

摘要

We report graphics processing unit (GPU) and Open-MP parallel implementations of water-specific force calculations and of bond constraints for use in molecular dynamics simulations. We focus on a typical laboratory computing environment in which a CPU with a few cores is attached to a GPU. We discuss in detail the design of the code, and we illustrate performance comparable to highly optimized codes such as GROMACS. Besides speed, our code shows excellent energy conservation. Utilization of water-specific lists allows the efficient calculations of nonbonded interactions that include water molecules and results in a speed-up factor of more than 40 on the GPU compared to code optimized on a single CPU core for systems larger than 20 000 atoms. This is up 4-fold from a factor of 10 reported in our initial GPU implementation that did not include a water-specific code. Another optimization is the implementation of constrained dynamics entirely on the GPU. The routine, which enforces constraints of all bonds, runs in parallel on multiple Open-MP cores or entirely on the GPU. It is based on the conjugate gradient solution of the Lagrange multipliers (CG SHAKE). The GPU implementation is partially in double precision and requires no communication with the CPU during the execution of the SHAKE algorithm. The (parallel) implementation of SHAKE allows an increase of the time step to 2.0 fs while maintaining excellent energy conservation. Interestingly, CG SHAKE is faster than the usual bond relaxation algorithm even on a single core if high accuracy is expected. The significant speedup of the optimized components transfers the computational bottleneck of the MD calculation to the reciprocal part of particle mesh Ewald (PME).
机译:我们报告了图形处理单元(GPU)和特定于水的力计算和键约束的Open-MP并行实现,用于分子动力学模拟。我们专注于典型的实验室计算环境,在该环境中,具有几个内核的CPU连接到GPU。我们将详细讨论代码的设计,并说明可与高度优化的代码(例如GROMACS)相媲美的性能。除了速度,我们的代码还显示出出色的节能效果。通过使用特定于水的列表,可以高效地计算包括水分子在内的非键相互作用,并且与在单个CPU内核上针对大于20000原子的系统优化的代码相比,GPU上的加速因子大于40。这比我们最初的GPU实施中报告的不包含特定于水的代码的10倍增加了4倍。另一个优化是完全在GPU上实现约束动态。该例程强制所有绑定的约束,可在多个Open-MP内核上并行运行,或完全在GPU上运行。它基于拉格朗日乘数(CG SHAKE)的共轭梯度解。 GPU的实现部分具有双精度,并且在执行SHAKE算法期间不需要与CPU进行通信。 SHAKE的(并行)实现允许将时间步长增加到2.0 fs,同时保持出色的节能效果。有趣的是,即使在单个核上,如果期望达到高精度,CG SHAKE也会比通常的键松弛算法更快。优化组件的显着加速将MD计算的计算瓶颈转移到粒子网格Ewald(PME)的倒数部分。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号