Quantum Monte Carlo on graphical processing units

被引:80
作者
Anderson, Amos G.
Goddard, William A., III
Schroeder, Peter
机构
[1] CALTECH, Mat & Proc Simulat Ctr, Div Chem & Chem Engn, Pasadena, CA 91125 USA
[2] CALTECH, Dept Comp Sci, Pasadena, CA 91125 USA
关键词
graphical processing units; quantum Monte Carlo; matrix multiplication; floating point error; Kahan summation formula; de-normals;
D O I
10.1016/j.cpc.2007.03.004
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
Quantum Monte Carlo (QMC) is among the most accurate methods for solving the time independent Schrodinger equation. Unfortunately, the method is very expensive and requires a vast array of computing resources in order to obtain results of a reasonable convergence level. On the other hand, the method is not only easily parallelizable across CPU clusters, but as we report here, it also has a high degree of data parallelism. This facilitates the use of recent technological advances in Graphical Processing Units (GPUs), a powerful type of processor well known to computer gamers. In this paper we report on an end-to-end QMC application with core elements of the algorithm running on a GPU. With individual kernels achieving as much as 30x speed up, the overall application performs at up to 6x faster relative to an optimized CPU implementation, yet requires only a modest increase in hardware cost. This demonstrates the speedup improvements possible for QMC in running on advanced hardware, thus exploring a path toward providing QMC level accuracy as a more standard tool. The major current challenge in running codes of this type on the GPU arises from the lack of fully compliant IEEE floating point implementations. To achieve better accuracy we propose the use of the Kahan summation formula in matrix multiplications. While this drops overall performance, we demonstrate that the proposed new algorithm can match CPU single precision. (c) 2007 Elsevier B.V. All rights reserved.
引用
收藏
页码:298 / 306
页数:9
相关论文
共 44 条
  • [1] [Anonymous], P ACM SIGGRAPH EUROG
  • [2] [Anonymous], P ASIM 2005
  • [3] [Anonymous], P ACM SIGGRAPH EUROG
  • [4] A sparse algorithm for the evaluation of the local energy in quantum Monte Carlo
    Aspuru-Guzik, A
    Salomón-Ferrer, R
    Austin, B
    Lester, WA
    [J]. JOURNAL OF COMPUTATIONAL CHEMISTRY, 2005, 26 (07) : 708 - 715
  • [5] Quantum Monte Carlo for electronic excitations of free-base porphyrin
    Aspuru-Guzik, A
    El Akramine, O
    Grossman, JC
    Lester, WA
    [J]. JOURNAL OF CHEMICAL PHYSICS, 2004, 120 (07) : 3049 - 3050
  • [6] Sparse matrix solvers on the GPU:: Conjugate gradients and multigrid
    Bolz, J
    Farmer, I
    Grinspun, E
    Schröder, P
    [J]. ACM TRANSACTIONS ON GRAPHICS, 2003, 22 (03): : 917 - 924
  • [7] BUCK I, 2004, P ACM SIGGRAPH
  • [8] QUANTUM MONTE-CARLO
    CEPERLEY, D
    ALDER, B
    [J]. SCIENCE, 1986, 231 (4738) : 555 - 560
  • [9] In pursuit of the ab initio limit for conformational energy prototypes
    Császár, AG
    Allen, WD
    Schaefer, HF
    [J]. JOURNAL OF CHEMICAL PHYSICS, 1998, 108 (23) : 9751 - 9764
  • [10] FLOATING-POINT TECHNIQUE FOR EXTENDING AVAILABLE PRECISION
    DEKKER, TJ
    [J]. NUMERISCHE MATHEMATIK, 1971, 18 (03) : 224 - +