KSSOLV(Kohn-Sham Solver)is a MATLAB(Matrix Laboratory)toolbox for solving the Kohn-Sham density functional theory(KS-DFT)with the plane-wave basis set.In the KS-DFT calculations,the most expensive part is commonly the...KSSOLV(Kohn-Sham Solver)is a MATLAB(Matrix Laboratory)toolbox for solving the Kohn-Sham density functional theory(KS-DFT)with the plane-wave basis set.In the KS-DFT calculations,the most expensive part is commonly the diagonalization of Kohn-Sham Hamiltonian in the self-consistent field(SCF)scheme.To enable a personal computer to perform medium-sized KS-DFT calculations that contain hundreds of atoms,we present a hybrid CPU-GPU implementation to accelerate the iterative diagonalization algorithms implemented in KSSOLV by using the MATLAB built-in Parallel Computing Toolbox.We compare the performance of KSSOLV-GPU on three types of GPU,including RTX3090,V100,and A100,with conventional CPU implementation of KSSOLV respectively and numerical results demonstrate that hybrid CPU-GPU implementation can achieve a speedup of about 10 times compared with sequential CPU calculations for bulk silicon systems containing up to 128 atoms.展开更多
基金supported by the National Natural Science Foundation of China (No.21688102,No.21803066,and No.22003061)the Chinese Academy of Sciences Pioneer Hundred Talents Program (KJ2340000031,KJ2340007002)+7 种基金the National Key Research and Development Program of China(2016YFA0200604)the Anhui Initiative in Quantum Information Technologies (AHY090400)the Strategic Priority Research of Chinese Academy of Sciences(XDC01040100)CAS Project for Young Scientists in Basic Research (YSBR-005)the Fundamental Research Funds for the Central Universities (WK2340000091,WK2060000018)the Hefei National Laboratory for Physical Sciences at the Microscale (SK2340002001)the Research Start-Up Grants (KY2340000094)the Academic Leading Talents Training Program(KY2340000103) from University of Science and Technology of China
文摘KSSOLV(Kohn-Sham Solver)is a MATLAB(Matrix Laboratory)toolbox for solving the Kohn-Sham density functional theory(KS-DFT)with the plane-wave basis set.In the KS-DFT calculations,the most expensive part is commonly the diagonalization of Kohn-Sham Hamiltonian in the self-consistent field(SCF)scheme.To enable a personal computer to perform medium-sized KS-DFT calculations that contain hundreds of atoms,we present a hybrid CPU-GPU implementation to accelerate the iterative diagonalization algorithms implemented in KSSOLV by using the MATLAB built-in Parallel Computing Toolbox.We compare the performance of KSSOLV-GPU on three types of GPU,including RTX3090,V100,and A100,with conventional CPU implementation of KSSOLV respectively and numerical results demonstrate that hybrid CPU-GPU implementation can achieve a speedup of about 10 times compared with sequential CPU calculations for bulk silicon systems containing up to 128 atoms.