1
|
Woo J, Kim S, Kim WY. Gaussian-Approximated Poisson Preconditioner for Iterative Diagonalization in Real-Space Density Functional Theory. J Phys Chem A 2023; 127:3883-3893. [PMID: 37094552 DOI: 10.1021/acs.jpca.2c09111] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [Abstract] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Indexed: 05/03/2023]
Abstract
Various real-space methods optimized on massive parallel computers have been developed for efficient large-scale density functional theory (DFT) calculations of materials and biomolecules. The iterative diagonalization of the Hamiltonian matrix is a computational bottleneck in real-space DFT calculations. Despite the development of various iterative eigensolvers, the absence of efficient real-space preconditioners has hindered their overall efficiency. An efficient preconditioner must satisfy two conditions: appropriate acceleration of the convergence of the iterative process and inexpensive computation. This study proposed a Gaussian-approximated Poisson preconditioner (GAPP) that satisfied both conditions and was suitable for real-space methods. A low computational cost was realized through the Gaussian approximation of a Poisson Green's function. Fast convergence was achieved through the proper determination of Gaussian coefficients to fit the Coulomb energies. The performance of GAPP was evaluated for several molecular and extended systems, and it showed the highest efficiency among the existing preconditioners adopted in real-space codes.
Collapse
Affiliation(s)
- Jeheon Woo
- Department of Chemistry, KAIST, 291 Daehak-ro, Yuseong-gu, Daejeon 34141, Republic of Korea
| | - Seonghwan Kim
- Department of Chemistry, KAIST, 291 Daehak-ro, Yuseong-gu, Daejeon 34141, Republic of Korea
| | - Woo Youn Kim
- Department of Chemistry, KAIST, 291 Daehak-ro, Yuseong-gu, Daejeon 34141, Republic of Korea
| |
Collapse
|
2
|
Parkkinen P, Xu WH, Solala E, Sundholm D. Density Functional Theory under the Bubbles and Cube Numerical Framework. J Chem Theory Comput 2018; 14:4237-4245. [PMID: 29944363 PMCID: PMC6150645 DOI: 10.1021/acs.jctc.8b00456] [Citation(s) in RCA: 4] [Impact Index Per Article: 0.7] [Reference Citation Analysis] [Abstract] [Track Full Text] [Download PDF] [Figures] [Journal Information] [Subscribe] [Scholar Register] [Indexed: 11/28/2022]
Abstract
Density functional theory within the Kohn-Sham density functional theory (KS-DFT) ansatz has been implemented into our bubbles and cube real-space molecular electronic structure framework, where functions containing steep cusps in the vicinity of the nuclei are expanded in atom-centered one-dimensional (1D) numerical grids multiplied with spherical harmonics (bubbles). The remainder, i.e., the cube, which is the cusp-free and smooth difference between the atomic one-center contributions and the exact molecular function, is represented on a three-dimensional (3D) equidistant grid by using a tractable number of grid points. The implementation of the methods is demonstrated by performing 3D numerical KS-DFT calculations on light atoms and small molecules. The accuracy is assessed by comparing the obtained energies with the best available reference energies.
Collapse
Affiliation(s)
- Pauli Parkkinen
- Department of Chemistry , University of Helsinki , P.O. Box 55 ( A. I. Virtanens plats 1 ), FIN-00014 Helsinki , Finland
| | - Wen-Hua Xu
- Department of Chemistry , University of Helsinki , P.O. Box 55 ( A. I. Virtanens plats 1 ), FIN-00014 Helsinki , Finland.,College of Chemistry and Materials Science , Northwest University , Xi'an 710069 , China
| | - Eelis Solala
- Department of Chemistry , University of Helsinki , P.O. Box 55 ( A. I. Virtanens plats 1 ), FIN-00014 Helsinki , Finland
| | - Dage Sundholm
- Department of Chemistry , University of Helsinki , P.O. Box 55 ( A. I. Virtanens plats 1 ), FIN-00014 Helsinki , Finland.,Centre for Advanced Study at the Norwegian Academy of Science and Letters , Drammensveien 78 , N-0271 Oslo , Norway
| |
Collapse
|
3
|
Solala E, Losilla SA, Sundholm D, Xu W, Parkkinen P. Optimization of numerical orbitals using the Helmholtz kernel. J Chem Phys 2017; 146:084102. [PMID: 28249419 DOI: 10.1063/1.4976557] [Citation(s) in RCA: 6] [Impact Index Per Article: 0.9] [Reference Citation Analysis] [Abstract] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Indexed: 11/15/2022] Open
Abstract
We present an integration scheme for optimizing the orbitals in numerical electronic structure calculations on general molecules. The orbital optimization is performed by integrating the Helmholtz kernel in the double bubble and cube basis, where bubbles represent the steep part of the functions in the vicinity of the nuclei, whereas the remaining cube part is expanded on an equidistant three-dimensional grid. The bubbles' part is treated by using one-center expansions of the Helmholtz kernel in spherical harmonics multiplied with modified spherical Bessel functions of the first and second kinds. The angular part of the bubble functions can be integrated analytically, whereas the radial part is integrated numerically. The cube part is integrated using a similar method as we previously implemented for numerically integrating two-electron potentials. The behavior of the integrand of the auxiliary dimension introduced by the integral transformation of the Helmholtz kernel has also been investigated. The correctness of the implementation has been checked by performing Hartree-Fock self-consistent-field calculations on H2, H2O, and CO. The obtained energies are compared with reference values in the literature showing that an accuracy of 10-4 to 10-7 Eh can be obtained with our approach.
Collapse
Affiliation(s)
- Eelis Solala
- Department of Chemistry, University of Helsinki, P.O. Box 55, A.I. Virtanens plats 1, FIN-00014 Helsinki, Finland
| | - Sergio A Losilla
- Department of Chemistry, University of Helsinki, P.O. Box 55, A.I. Virtanens plats 1, FIN-00014 Helsinki, Finland
| | - Dage Sundholm
- Department of Chemistry, University of Helsinki, P.O. Box 55, A.I. Virtanens plats 1, FIN-00014 Helsinki, Finland
| | - Wenhua Xu
- Department of Chemistry, University of Helsinki, P.O. Box 55, A.I. Virtanens plats 1, FIN-00014 Helsinki, Finland
| | - Pauli Parkkinen
- Department of Chemistry, University of Helsinki, P.O. Box 55, A.I. Virtanens plats 1, FIN-00014 Helsinki, Finland
| |
Collapse
|
4
|
Parkkinen P, Losilla SA, Solala E, Toivanen EA, Xu WH, Sundholm D. A Generalized Grid-Based Fast Multipole Method for Integrating Helmholtz Kernels. J Chem Theory Comput 2017; 13:654-665. [PMID: 28094984 DOI: 10.1021/acs.jctc.6b01207] [Citation(s) in RCA: 7] [Impact Index Per Article: 1.0] [Reference Citation Analysis] [Abstract] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Indexed: 11/29/2022]
Abstract
A grid-based fast multipole method (GB-FMM) for optimizing three-dimensional (3D) numerical molecular orbitals in the bubbles and cube double basis has been developed and implemented. The present GB-FMM method is a generalization of our recently published GB-FMM approach for numerically calculating electrostatic potentials and two-electron interaction energies. The orbital optimization is performed by integrating the Helmholtz kernel in the double basis. The steep part of the functions in the vicinity of the nuclei is represented by one-center bubbles functions, whereas the remaining cube part is expanded on an equidistant 3D grid. The integration of the bubbles part is treated by using one-center expansions of the Helmholtz kernel in spherical harmonics multiplied with modified spherical Bessel functions of the first and second kind, analogously to the numerical inward and outward integration approach for calculating two-electron interaction potentials in atomic structure calculations. The expressions and algorithms for massively parallel calculations on general purpose graphics processing units (GPGPU) are described. The accuracy and the correctness of the implementation has been checked by performing Hartree-Fock self-consistent-field calculations (HF-SCF) on H2, H2O, and CO. Our calculations show that an accuracy of 10-4 to 10-7 Eh can be reached in HF-SCF calculations on general molecules.
Collapse
Affiliation(s)
- Pauli Parkkinen
- Department of Chemistry, University of Helsinki , P.O. Box 55, A. I. Virtanens plats 1, Helsinki FIN-00014, Finland
| | - Sergio A Losilla
- Department of Chemistry, University of Helsinki , P.O. Box 55, A. I. Virtanens plats 1, Helsinki FIN-00014, Finland
| | - Eelis Solala
- Department of Chemistry, University of Helsinki , P.O. Box 55, A. I. Virtanens plats 1, Helsinki FIN-00014, Finland
| | - Elias A Toivanen
- Department of Chemistry, University of Helsinki , P.O. Box 55, A. I. Virtanens plats 1, Helsinki FIN-00014, Finland
| | - Wen-Hua Xu
- Department of Chemistry, University of Helsinki , P.O. Box 55, A. I. Virtanens plats 1, Helsinki FIN-00014, Finland
| | - Dage Sundholm
- Department of Chemistry, University of Helsinki , P.O. Box 55, A. I. Virtanens plats 1, Helsinki FIN-00014, Finland
| |
Collapse
|
5
|
Choi S, Kwon OK, Kim J, Kim WY. Performance of heterogeneous computing with graphics processing unit and many integrated core for hartree potential calculations on a numerical grid. J Comput Chem 2016; 37:2193-201. [PMID: 27431905 DOI: 10.1002/jcc.24443] [Citation(s) in RCA: 7] [Impact Index Per Article: 0.9] [Reference Citation Analysis] [Abstract] [Key Words] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Received: 03/03/2016] [Revised: 05/19/2016] [Accepted: 06/13/2016] [Indexed: 12/17/2022]
Abstract
We investigated the performance of heterogeneous computing with graphics processing units (GPUs) and many integrated core (MIC) with 20 CPU cores (20×CPU). As a practical example toward large scale electronic structure calculations using grid-based methods, we evaluated the Hartree potentials of silver nanoparticles with various sizes (3.1, 3.7, 4.9, 6.1, and 6.9 nm) via a direct integral method supported by the sinc basis set. The so-called work stealing scheduler was used for efficient heterogeneous computing via the balanced dynamic distribution of workloads between all processors on a given architecture without any prior information on their individual performances. 20×CPU + 1GPU was up to ∼1.5 and ∼3.1 times faster than 1GPU and 20×CPU, respectively. 20×CPU + 2GPU was ∼4.3 times faster than 20×CPU. The performance enhancement by CPU + MIC was considerably lower than expected because of the large initialization overhead of MIC, although its theoretical performance is similar with that of CPU + GPU. © 2016 Wiley Periodicals, Inc.
Collapse
Affiliation(s)
- Sunghwan Choi
- Department of Chemistry, KAIST, 291 Daehak-Ro, Yuseong-Gu, Daejeon, 34141, Republic of Korea.,Supercomputing Service Center, Korea Institute of Science and Technology Information, 245 Daehak-Ro, Yuseong-Gu, Daejeon, 34141, Republic of Korea
| | - Oh-Kyoung Kwon
- Supercomputing Service Center, Korea Institute of Science and Technology Information, 245 Daehak-Ro, Yuseong-Gu, Daejeon, 34141, Republic of Korea.,School of Computing, KAIST, 291 Daehak-Ro, Yuseong-Gu, Daejeon, 34141, Republic of Korea
| | - Jaewook Kim
- Department of Chemistry, KAIST, 291 Daehak-Ro, Yuseong-Gu, Daejeon, 34141, Republic of Korea
| | - Woo Youn Kim
- Department of Chemistry, KAIST, 291 Daehak-Ro, Yuseong-Gu, Daejeon, 34141, Republic of Korea
| |
Collapse
|
6
|
Toivanen EA, Losilla SA, Sundholm D. The grid-based fast multipole method – a massively parallel numerical scheme for calculating two-electron interaction energies. Phys Chem Chem Phys 2015; 17:31480-90. [DOI: 10.1039/c5cp01173f] [Citation(s) in RCA: 12] [Impact Index Per Article: 1.3] [Reference Citation Analysis] [Abstract] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Indexed: 11/21/2022]
Abstract
A grid-based fast multipole method has been developed for calculating two-electron interaction energies for non-overlapping charge densities.
Collapse
Affiliation(s)
| | | | - Dage Sundholm
- Department of Chemistry
- University of Helsinki
- Finland
| |
Collapse
|
7
|
Frediani L, Sundholm D. Real-space numerical grid methods in quantum chemistry. Phys Chem Chem Phys 2015; 17:31357-9. [DOI: 10.1039/c5cp90198g] [Citation(s) in RCA: 19] [Impact Index Per Article: 2.1] [Reference Citation Analysis] [Abstract] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Indexed: 12/19/2022]
Abstract
This themed issue reports on recent progress in the fast developing field of real-space numerical grid methods in quantum chemistry.
Collapse
Affiliation(s)
- Luca Frediani
- Centre for Theoretical and Computational Chemistry
- Department of Chemistry
- UiT The Arctic University of Norway
- N-9037 Tromsø
- Norway
| | - Dage Sundholm
- Department of Chemistry
- University of Helsinki
- Finland
| |
Collapse
|
8
|
Cisneros GA, Karttunen M, Ren P, Sagui C. Classical electrostatics for biomolecular simulations. Chem Rev 2014; 114:779-814. [PMID: 23981057 PMCID: PMC3947274 DOI: 10.1021/cr300461d] [Citation(s) in RCA: 192] [Impact Index Per Article: 19.2] [Reference Citation Analysis] [MESH Headings] [Grants] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Indexed: 12/12/2022]
|
9
|
Mehine MM, Losilla SA, Sundholm D. An efficient algorithm to calculate three-electron integrals for Gaussian-type orbitals using numerical integration. Mol Phys 2013. [DOI: 10.1080/00268976.2013.793847] [Citation(s) in RCA: 4] [Impact Index Per Article: 0.4] [Reference Citation Analysis] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Indexed: 10/26/2022]
|
10
|
Losilla SA, Mehine MM, Sundholm D. Construction of the two-electron contribution to the Fock matrix by numerical integration. Mol Phys 2012. [DOI: 10.1080/00268976.2012.720725] [Citation(s) in RCA: 5] [Impact Index Per Article: 0.4] [Reference Citation Analysis] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Indexed: 10/28/2022]
Affiliation(s)
- Sergio A. Losilla
- a Department of Chemistry , University of Helsinki , A.I. Virtanens plats 1, FIN-00014 Helsinki , Finland
| | - Mooses M. Mehine
- a Department of Chemistry , University of Helsinki , A.I. Virtanens plats 1, FIN-00014 Helsinki , Finland
| | - Dage Sundholm
- a Department of Chemistry , University of Helsinki , A.I. Virtanens plats 1, FIN-00014 Helsinki , Finland
| |
Collapse
|
11
|
Losilla SA, Sundholm D. A divide and conquer real-space approach for all-electron molecular electrostatic potentials and interaction energies. J Chem Phys 2012; 136:214104. [DOI: 10.1063/1.4721386] [Citation(s) in RCA: 22] [Impact Index Per Article: 1.8] [Reference Citation Analysis] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Indexed: 11/14/2022] Open
|
12
|
Kurashige Y, Nakajima T, Sato T, Hirao K. Efficient evaluation of the Coulomb force in the Gaussian and finite-element Coulomb method. J Chem Phys 2010; 132:244107. [DOI: 10.1063/1.3457363] [Citation(s) in RCA: 2] [Impact Index Per Article: 0.1] [Reference Citation Analysis] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Indexed: 11/15/2022] Open
|
13
|
Losilla SA, Sundholm D, Jusélius J. The direct approach to gravitation and electrostatics method for periodic systems. J Chem Phys 2010; 132:024102. [PMID: 20095658 DOI: 10.1063/1.3291027] [Citation(s) in RCA: 20] [Impact Index Per Article: 1.4] [Reference Citation Analysis] [Abstract] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Indexed: 01/16/2023] Open
Abstract
The direct approach to gravitation and electrostatics (DAGE) algorithm is an accurate, efficient, and flexible method for calculating electrostatic potentials. In this paper, we show that the algorithm can be easily extended to consider systems with many different kinds of periodicities, such as crystal lattices, surfaces, or wires. The accuracy and performance are nearly the same for periodic and aperiodic systems. The electrostatic potential for semiperiodic systems, namely defects in crystal lattices, can be obtained by combining periodic and aperiodic calculations. The method has been applied to an ionic model system mimicking NaCl, and to a corresponding covalent model system.
Collapse
Affiliation(s)
- S A Losilla
- Department of Chemistry, University of Helsinki, FIN-00014 Helsinki, Finland
| | | | | |
Collapse
|
14
|
Lee HS, Tuckerman ME. Efficient solution of Poisson’s equation using discrete variable representation basis sets for Car–Parrinello ab initio molecular dynamics simulations with cluster boundary conditions. J Chem Phys 2008; 129:224108. [DOI: 10.1063/1.3036423] [Citation(s) in RCA: 13] [Impact Index Per Article: 0.8] [Reference Citation Analysis] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Indexed: 11/15/2022] Open
|
15
|
Watson MA, Hirao K. A linear-scaling spectral-element method for computing electrostatic potentials. J Chem Phys 2008; 129:184107. [DOI: 10.1063/1.3009264] [Citation(s) in RCA: 11] [Impact Index Per Article: 0.7] [Reference Citation Analysis] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Indexed: 11/14/2022] Open
|
16
|
Chinnamsetty SR, Espig M, Khoromskij BN, Hackbusch W, Flad HJ. Tensor product approximation with optimal rank in quantum chemistry. J Chem Phys 2007; 127:084110. [PMID: 17764232 DOI: 10.1063/1.2761871] [Citation(s) in RCA: 21] [Impact Index Per Article: 1.2] [Reference Citation Analysis] [Abstract] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Indexed: 11/14/2022] Open
Abstract
Tensor product decompositions with optimal separation rank provide an interesting alternative to traditional Gaussian-type basis functions in electronic structure calculations. We discuss various applications for a new compression algorithm, based on the Newton method, which provides for a given tensor the optimal tensor product or so-called best separable approximation for fixed Kronecker rank. In combination with a stable quadrature scheme for the Coulomb interaction, tensor product formats enable an efficient evaluation of Coulomb integrals. This is demonstrated by means of best separable approximations for the electron density and Hartree potential of small molecules, where individual components of the tensor product can be efficiently represented in a wavelet basis. We present a fairly detailed numerical analysis, which provides the basis for further improvements of this novel approach. Our results suggest a broad range of applications within density fitting schemes, which have been recently successfully applied in quantum chemistry.
Collapse
Affiliation(s)
- Sambasiva Rao Chinnamsetty
- Max-Planck-Institut für Mathematik in den Naturwissenschaften, Inselstrasse 22-26, D-04103 Leipzig, Germany
| | | | | | | | | |
Collapse
|
17
|
Jusélius J, Sundholm D. Parallel implementation of a direct method for calculating electrostatic potentials. J Chem Phys 2007; 126:094101. [PMID: 17362098 DOI: 10.1063/1.2436880] [Citation(s) in RCA: 25] [Impact Index Per Article: 1.5] [Reference Citation Analysis] [Abstract] [MESH Headings] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Indexed: 11/14/2022] Open
Abstract
The authors present a method for calculating the electrostatic potential directly in a straightforward manner. While traditional methods for calculating the electrostatic potential usually involve solving the Poisson equation iteratively, the authors obtain the electrostatic interaction potential by performing direct numerical integration of the Coulomb-law expression using finite-element functions defined on a grid. The singularity of the Coulomb operator is circumvented by an integral transformation and the resulting auxiliary integral is obtained using Gaussian quadrature. The three-dimensional finite-element basis is constructed as a tensor (outer) product of one-dimensional functions, yielding a partial factorization of the expressions. The resulting algorithm has, without using any prescreening or other computational tricks, a formal computational scaling of Omicron(N4/3), where N is the size of the grid. The authors show here how to implement the method for efficiently running on parallel computers. The matrix multiplications of the innermost loops are completely independent, yielding a parallel algorithm with the computational costs scaling practically linearly with the number of processors.
Collapse
|
18
|
Dunlap BI, Zope RR. Efficient quantum-chemical geometry optimization and the structure of large icosahedral fullerenes. Chem Phys Lett 2006. [DOI: 10.1016/j.cplett.2006.02.100] [Citation(s) in RCA: 44] [Impact Index Per Article: 2.4] [Reference Citation Analysis] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Indexed: 11/24/2022]
|
19
|
Berger RJ, Sundholm D. A Non-Iterative Numerical Solver of Poisson and Helmholtz Equations Using High-Order Finite-Element Functions. ADVANCES IN QUANTUM CHEMISTRY 2005. [DOI: 10.1016/s0065-3276(05)50011-x] [Citation(s) in RCA: 7] [Impact Index Per Article: 0.4] [Reference Citation Analysis] [Track Full Text] [Subscribe] [Scholar Register] [Indexed: 11/30/2022]
|