Revisiting Molecular Dynamics on a CPU/GPU System: Water Kernel and SHAKE Parallelization
详细信息    查看全文
  • 作者:A. Peter Ruymgaart ; Ron Elber
  • 刊名:Journal of Chemical Theory and Computation
  • 出版年:2012
  • 出版时间:November 13, 2012
  • 年:2012
  • 卷:8
  • 期:11
  • 页码:4624-4636
  • 全文大小:468K
  • 年卷期:v.8,no.11(November 13, 2012)
  • ISSN:1549-9626
文摘
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鈥?00 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).

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700