Monte Carlo MP2 on Many Graphical Processing Units.

In the Monte Carlo second-order many-body perturbation (MC-MP2) method, the long sum-of-product matrix expression of the MP2 energy, whose literal evaluation may be poorly scalable, is recast into a single high-dimensional integral of functions of electron pair coordinates, which is evaluated by the scalable method of Monte Carlo integration. The sampling efficiency is further accelerated by the redundant-walker algorithm, which allows a maximal reuse of electron pairs. Here, a multitude of graphical processing units (GPUs) offers a uniquely ideal platform to expose multilevel parallelism: fine-grain data-parallelism for the redundant-walker algorithm in which millions of threads compute and share orbital amplitudes on each GPU; coarse-grain instruction-parallelism for near-independent Monte Carlo integrations on many GPUs with few and infrequent interprocessor communications. While the efficiency boost by the redundant-walker algorithm on central processing units (CPUs) grows linearly with the number of electron pairs and tends to saturate when the latter exceeds the number of orbitals, on a GPU it grows quadratically before it increases linearly and then eventually saturates at a much larger number of pairs. This is because the orbital constructions are nearly perfectly parallelized on a GPU and thus completed in a near-constant time regardless of the number of pairs. In consequence, an MC-MP2/cc-pVDZ calculation of a benzene dimer is 2700 times faster on 256 GPUs (using 2048 electron pairs) than on two CPUs, each with 8 cores (which can use only up to 256 pairs effectively). We also numerically determine that the cost to achieve a given relative statistical uncertainty in an MC-MP2 energy increases as O(n3) or better with system size n, which may be compared with the O(n5) scaling of the conventional implementation of deterministic MP2. We thus establish the scalability of MC-MP2 with both system and computer sizes.

[1]  Koji Yasuda,et al.  Two‐electron integral evaluation on the graphics processor unit , 2008, J. Comput. Chem..

[2]  Peter Pulay,et al.  A low-scaling method for second order Møller–Plesset calculations , 2001 .

[3]  R. Baer,et al.  Expeditious Stochastic Approach for MP2 Energies in Large Electronic Systems. , 2012, Journal of Chemical Theory and Computation.

[4]  Frank Neese,et al.  Sparse maps—A systematic infrastructure for reduced-scaling electronic structure methods. I. An efficient and simple linear scaling local MP2 method that uses an intermediate basis of pair natural orbitals. , 2015, The Journal of chemical physics.

[5]  Martin Head-Gordon,et al.  Scaled opposite-spin second order Møller-Plesset correlation energy: an economical electronic structure method. , 2004, The Journal of chemical physics.

[6]  Mark S Gordon,et al.  Quantum Chemical Calculations Using Accelerators: Migrating Matrix Operations to the NVIDIA Kepler GPU and the Intel Xeon Phi. , 2014, Journal of chemical theory and computation.

[7]  Edward F. Valeev,et al.  Communication: stochastic evaluation of explicitly correlated second-order many-body perturbation energy. , 2014, The Journal of chemical physics.

[8]  Martin Head-Gordon,et al.  Closely approximating second-order Mo/ller–Plesset perturbation theory with a local triatomics in molecules model , 2000 .

[9]  A Eugene DePrince,et al.  Coupled Cluster Theory on Graphics Processing Units I. The Coupled Cluster Doubles Method. , 2011, Journal of chemical theory and computation.

[10]  Mark S. Gordon,et al.  New Multithreaded Hybrid CPU/GPU Approach to Hartree-Fock. , 2012, Journal of chemical theory and computation.

[11]  Thomas Kjærgaard,et al.  Efficient linear-scaling second-order Møller-Plesset perturbation theory: The divide-expand-consolidate RI-MP2 model. , 2016, The Journal of chemical physics.

[12]  Seiichiro Ten-no,et al.  Stochastic determination of effective Hamiltonian for the full configuration interaction solution of quasi-degenerate electronic states. , 2013, The Journal of chemical physics.

[13]  N. Metropolis,et al.  Equation of State Calculations by Fast Computing Machines , 1953, Resonance.

[14]  Yihan Shao,et al.  Accelerating resolution-of-the-identity second-order Møller-Plesset quantum chemistry calculations with graphical processing units. , 2008, The journal of physical chemistry. A.

[15]  Ali Alavi,et al.  Investigation of the full configuration interaction quantum Monte Carlo method using homogeneous electron gas models. , 2012, The Journal of chemical physics.

[16]  S. Hirata,et al.  Stochastic evaluation of second-order many-body perturbation energies. , 2012, The Journal of chemical physics.

[17]  Yang,et al.  Direct calculation of electron density in density-functional theory. , 1991, Physical review letters.

[18]  So Hirata,et al.  Stochastic evaluation of second-order Dyson self-energies. , 2013, The Journal of chemical physics.

[19]  L. Mitas,et al.  Applications of quantum Monte Carlo methods in condensed systems , 2010, 1010.4992.

[20]  J. B. Anderson,et al.  Monte Carlo methods in electronic structures for large systems. , 2000, Annual review of physical chemistry.

[21]  So Hirata,et al.  Convergence Acceleration of Parallel Monte Carlo Second-Order Many-Body Perturbation Calculations Using Redundant Walkers. , 2013, Journal of chemical theory and computation.

[22]  Frederick R. Manby,et al.  Fast linear scaling second-order Møller-Plesset perturbation theory (MP2) using local and density fitting approximations , 2003 .

[23]  Robert M Parrish,et al.  Tensor hypercontraction density fitting. I. Quartic scaling second- and third-order Møller-Plesset perturbation theory. , 2012, The Journal of chemical physics.

[24]  Philippe Y. Ayala,et al.  Linear scaling second-order Moller–Plesset theory in the atomic orbital basis for large molecular systems , 1999 .

[25]  T. Martínez,et al.  Tensor Hypercontraction Second-Order Møller-Plesset Perturbation Theory: Grid Optimization and Reaction Energies. , 2015, Journal of chemical theory and computation.

[26]  Garnet Kin-Lic Chan,et al.  Communication: Excited states, dynamic correlation functions and spectral properties from full configuration interaction quantum Monte Carlo. , 2012, The Journal of chemical physics.

[27]  S. Hirata,et al.  Second-order many-body perturbation theory: an eternal frontier. , 2014, The journal of physical chemistry. A.

[28]  Koji Yasuda,et al.  Accelerating Density Functional Calculations with Graphics Processing Unit. , 2008, Journal of chemical theory and computation.

[29]  S. Hirata,et al.  Brueckner-Goldstone quantum Monte Carlo for correlation energies and quasiparticle energy bands of one-dimensional solids , 2014 .

[30]  Michael J. Frisch,et al.  MP2 energy evaluation by direct methods , 1988 .

[31]  Ivan S Ufimtsev,et al.  Quantum Chemistry on Graphical Processing Units. 3. Analytical Energy Gradients, Geometry Optimization, and First Principles Molecular Dynamics. , 2009, Journal of chemical theory and computation.

[32]  D. Ceperley,et al.  The calculation of excited state properties with quantum Monte Carlo , 1988 .

[33]  Georg Hetzer,et al.  Low-order scaling local electron correlation methods. I. Linear scaling local MP2 , 1999 .

[34]  Alán Aspuru-Guzik,et al.  Accelerating Correlated Quantum Chemistry Calculations Using Graphical Processing Units , 2010, Computing in Science & Engineering.

[35]  C J Umrigar,et al.  Semistochastic projector Monte Carlo method. , 2012, Physical review letters.

[36]  Ali Alavi,et al.  Fermion Monte Carlo without fixed nodes: a game of life, death, and annihilation in Slater determinant space. , 2009, The Journal of chemical physics.

[37]  Todd J. Martínez,et al.  Generating Efficient Quantum Chemistry Codes for Novel Architectures. , 2013, Journal of chemical theory and computation.

[38]  M. Troyer,et al.  Diagrammatic Monte Carlo for correlated fermions , 2009, 0907.0863.

[39]  H. G. Petersen,et al.  Error estimates on averages of correlated data , 1989 .

[40]  P Pulay,et al.  Local Treatment of Electron Correlation , 1993 .

[41]  Shigeru Nagase,et al.  Projector Monte Carlo method based on configuration state functions. Test applications to the H4 system and dissociation of LiH , 2008 .

[42]  Ali Alavi,et al.  Communications: Survival of the fittest: accelerating convergence in full configuration-interaction quantum Monte Carlo. , 2010, The Journal of chemical physics.

[43]  Jan Almlöf,et al.  Elimination of energy denominators in Møller—Plesset perturbation theory by a Laplace transform approach , 1991 .

[44]  Todd J Martínez,et al.  Atomic orbital-based SOS-MP2 with tensor hypercontraction. I. GPU-based tensor construction and exploiting sparsity. , 2016, The Journal of chemical physics.

[45]  Shigeru Obara,et al.  Efficient recursive computation of molecular integrals over Cartesian Gaussian functions , 1986 .

[46]  Peter Pulay,et al.  Local configuration interaction: An efficient approach for larger molecules , 1985 .

[47]  Henry Krakauer,et al.  Quantum Monte Carlo method using phase-free random walks with slater determinants. , 2003, Physical review letters.

[48]  Ali Alavi,et al.  Stochastic perturbation theory: a low-scaling approach to correlated electronic energies. , 2007, Physical review letters.

[49]  R. Needs,et al.  Quantum Monte Carlo simulations of solids , 2001 .

[50]  Peter Pulay,et al.  Orbital-invariant formulation and second-order gradient evaluation in Møller-Plesset perturbation theory , 1986 .

[51]  B. Alder,et al.  THE GROUND STATE OF THE ELECTRON GAS BY A STOCHASTIC METHOD , 2010 .

[52]  Georg Hetzer,et al.  Multipole approximation of distant pair energies in local MP2 calculations , 1998 .

[53]  S. Hirata,et al.  Stochastic, real-space, imaginary-time evaluation of third-order Feynman-Goldstone diagrams. , 2014, The Journal of chemical physics.

[54]  Sriram Krishnamoorthy,et al.  GPU-Based Implementations of the Noniterative Regularized-CCSD(T) Corrections: Applications to Strongly Correlated Systems. , 2011, Journal of chemical theory and computation.

[55]  Mark S. Gordon,et al.  A new approach for second‐order perturbation theory , 2016, J. Comput. Chem..

[56]  Walter Kohn,et al.  Density functional theory for systems of very many atoms , 1995 .