1
|
Maia JDC, Dos Anjos Formiga Cabral L, Rocha GB. GPU algorithms for density matrix methods on MOPAC: linear scaling electronic structure calculations for large molecular systems. J Mol Model 2020; 26:313. [PMID: 33090341 DOI: 10.1007/s00894-020-04571-6] [Citation(s) in RCA: 4] [Impact Index Per Article: 1.0] [Reference Citation Analysis] [Abstract] [Key Words] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Received: 06/04/2020] [Accepted: 10/08/2020] [Indexed: 11/29/2022]
Abstract
Purification of the density matrix methods should be employed when dealing with complex chemical systems containing many atoms. The running times for these methods scale linearly with the number of atoms if we consider the sparsity from the density matrix. Since the efficiency expected from those methods is closely tied to the underlying parallel implementations of the linear algebra operations (e.g., P2 = P × P), we proposed a central processing unit (CPU) and graphics processing unit (GPU) parallel matrix-matrix multiplication in SVBR (symmetrical variable block row) format for energy calculations through the SP2 algorithm. This algorithm was inserted in MOPAC's MOZYME method, using the original LMO Fock matrix assembly, and the atomic integral calculation implemented on it. Correctness and performance tests show that the implemented SP2 is accurate and fast, as the GPU is able to achieve speedups up to 40 times for a water cluster system with 42,312 orbitals running in one NVIDIA K40 GPU card compared to the single-threaded version. The GPU-accelerated SP2 algorithm using the MOZYME LMO framework enables the calculations of semiempirical wavefunction with stricter SCF criteria for localized charged molecular systems, as well as the single-point energies of molecules with more than 100.000 LMO orbitals in less than 1 h. Graphical abstract Parallel CPU and GPU purification algorithms for electronic structure calculations were implemented in MOPAC's MOZYME method. Some matrices in these calculations, e.g., electron density P, are compressed, and the developed linear algebra operations deal with non-zero entries only. We employed the NVIDIA/CUDA platform to develop GPU algorithms, and accelerations up to 40 times for larger systems were achieved.
Collapse
Affiliation(s)
- Julio Daniel Carvalho Maia
- Centro de Informática, Universidade Federal da Paraíba, João Pessoa, PB, CEP: 58055-000, Brazil.,Theoretical and Computational Biophysics Group - Beckman Institute, University of Illinois at Urbana-Champaign, Urbana, IL, 61801, USA
| | | | - Gerd Bruno Rocha
- Departamento de Química - CCEN, Universidade Federal da Paraíba, Caixa Postal: 5093, João Pessoa, PB, CEP: 58051-970, Brazil.
| |
Collapse
|
3
|
Smith DGA, Burns LA, Sirianni DA, Nascimento DR, Kumar A, James AM, Schriber JB, Zhang T, Zhang B, Abbott AS, Berquist EJ, Lechner MH, Cunha LA, Heide AG, Waldrop JM, Takeshita TY, Alenaizan A, Neuhauser D, King RA, Simmonett AC, Turney JM, Schaefer HF, Evangelista FA, DePrince AE, Crawford TD, Patkowski K, Sherrill CD. Psi4NumPy: An Interactive Quantum Chemistry Programming Environment for Reference Implementations and Rapid Development. J Chem Theory Comput 2018; 14:3504-3511. [DOI: 10.1021/acs.jctc.8b00286] [Citation(s) in RCA: 73] [Impact Index Per Article: 12.2] [Reference Citation Analysis] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Indexed: 11/28/2022]
Affiliation(s)
- Daniel G. A. Smith
- Center for Computational Molecular Science and Technology, School of Chemistry and Biochemistry, School of Computational Science and Engineering, Georgia Institute of Technology, Atlanta, Georgia 30332-0400, United States
| | - Lori A. Burns
- Center for Computational Molecular Science and Technology, School of Chemistry and Biochemistry, School of Computational Science and Engineering, Georgia Institute of Technology, Atlanta, Georgia 30332-0400, United States
| | - Dominic A. Sirianni
- Center for Computational Molecular Science and Technology, School of Chemistry and Biochemistry, School of Computational Science and Engineering, Georgia Institute of Technology, Atlanta, Georgia 30332-0400, United States
| | - Daniel R. Nascimento
- Department of Chemistry and Biochemistry, Florida State University, Tallahassee, Florida 32306-4390, United States
| | - Ashutosh Kumar
- Department of Chemistry, Virginia Tech, Blacksburg, Virginia 24061, United States
| | - Andrew M. James
- Department of Chemistry, Virginia Tech, Blacksburg, Virginia 24061, United States
| | - Jeffrey B. Schriber
- Department of Chemistry, Emory University, Atlanta, Georgia 30322, United States
| | - Tianyuan Zhang
- Department of Chemistry, Emory University, Atlanta, Georgia 30322, United States
| | - Boyi Zhang
- Center for Computational Quantum Chemistry, University of Georgia, Athens, Georgia 30602, United States
| | - Adam S. Abbott
- Center for Computational Quantum Chemistry, University of Georgia, Athens, Georgia 30602, United States
| | - Eric J. Berquist
- University of Pittsburgh, Pittsburgh, Pennsylvania 15260, United States
| | - Marvin H. Lechner
- Department of Chemistry, Technical University of Munich, 80333 Munich, Germany
| | - Leonardo A. Cunha
- The Technical Institute of Aeronautics, São José dos Campos, 12228-900, Brazil
| | - Alexander G. Heide
- Department of Chemistry, Bethel University, St. Paul, Minnesota 55112, United States
| | - Jonathan M. Waldrop
- Department of Chemistry and Biochemistry, Auburn University, Auburn, Alabama 36849, United States
| | - Tyler Y. Takeshita
- Department of Chemistry, University of California Berkeley, Berkeley, California 94720, United States
| | - Asem Alenaizan
- Center for Computational Molecular Science and Technology, School of Chemistry and Biochemistry, School of Computational Science and Engineering, Georgia Institute of Technology, Atlanta, Georgia 30332-0400, United States
| | - Daniel Neuhauser
- Department of Chemistry and Biochemistry, University of California, Los Angeles, California 90095, United States
| | - Rollin A. King
- Department of Chemistry, Bethel University, St. Paul, Minnesota 55112, United States
| | - Andrew C. Simmonett
- National Institutes of Health - National Heart, Lung and Blood Institute, Laboratory of Computational Biology, 5635 Fishers Lane, T-900 Suite, Rockville, Maryland 20852, United States
| | - Justin M. Turney
- Center for Computational Quantum Chemistry, University of Georgia, Athens, Georgia 30602, United States
| | - Henry F. Schaefer
- Center for Computational Quantum Chemistry, University of Georgia, Athens, Georgia 30602, United States
| | | | - A. Eugene DePrince
- Department of Chemistry and Biochemistry, Florida State University, Tallahassee, Florida 32306-4390, United States
| | - T. Daniel Crawford
- Department of Chemistry, Virginia Tech, Blacksburg, Virginia 24061, United States
| | - Konrad Patkowski
- Department of Chemistry and Biochemistry, Auburn University, Auburn, Alabama 36849, United States
| | - C. David Sherrill
- Center for Computational Molecular Science and Technology, School of Chemistry and Biochemistry, School of Computational Science and Engineering, Georgia Institute of Technology, Atlanta, Georgia 30332-0400, United States
| |
Collapse
|