×

KSSOLV 2.0: an efficient Matlab toolbox for solving the Kohn-Sham equations with plane-wave basis set. (English) Zbl 07679964

Summary: KSSOLV (Kohn-Sham Solver) is a MATLAB toolbox for performing Kohn-Sham density functional theory (DFT) calculations with a plane-wave basis set. KSSOLV 2.0 preserves the design features of the original KSSOLV software to allow users and developers to easily set up a problem and perform ground-state calculations as well as to prototype and test new algorithms. Furthermore, it includes new functionalities such as new iterative diagonalization algorithms, k-point sampling for electron band structures, geometry optimization and advanced algorithms for performing DFT calculations with local, semi-local, and hybrid exchange-correlation functionals. It can be used to study the electronic structures of both molecules and solids. We describe these new capabilities in this work through a few use cases. We also demonstrate the numerical accuracy and computational efficiency of KSSOLV on a variety of examples.

MSC:

82-XX Statistical mechanics, structure of matter
74-XX Mechanics of deformable solids

References:

[1] Yang, C.; Meza, J. C.; Lee, B.; Wang, L.-W., ACM Trans. Math. Softw., 36, 2, 1-35 (2009) · Zbl 1364.65112
[2] Hohenberg, P.; Kohn, W., Phys. Rev., 136, B864-B871 (1964)
[3] Kohn, W.; Sham, L. J., Phys. Rev., 140, Article A1133 pp. (1965)
[4] Lu, J.; Ying, L., J. Comput. Phys., 302, 329-335 (2015) · Zbl 1349.81020
[5] Kelley, C.; Bernholc, J.; Briggs, E.; Hamilton, S.; Lin, L.; Yang, C., J. Comput. Phys., 409, Article 109322 pp. (2020) · Zbl 1435.65082
[6] Lin, L.; Yang, C., SIAM J. Sci. Comput., 35, 5, S277-S298 (2013) · Zbl 1284.82009
[7] Shao, M.; Lin, L.; Yang, C.; Liu, F.; Da Jornada, F. H.; Deslippe, J.; Louie, S. G., Sci. China Math., 59, 8, 1593-1612 (2016) · Zbl 1354.82026
[8] Damle, A.; Lin, L.; Ying, L., SIAM J. Sci. Comput., 36, 6, A2929-A2951 (2014) · Zbl 1310.65047
[9] Lin, L.; Zepeda-Nunez, L., Multiscale Model. Simul., 17, 4, 1274-1300 (2019) · Zbl 1434.65325
[10] McClean, J. R.; Faulstich, F. M.; Zhu, Q.; O’Gorman, B.; Qiu, Y.; White, S. R.; Babbush, R.; Lin, L., New J. Phys., 22, 9, Article 093015 pp. (2020)
[11] Hu, W.; Liu, J.; Li, Y.; Ding, Z.; Yang, C.; Yang, J., J. Chem. Theory Comput., 16, 2, 964-973 (2020)
[12] Liu, J.; Hu, W.; Yang, J., J. Chem. Phys., 154, 6, Article 064101 pp. (2021)
[13] Lin, L.; Xu, Z.; Ying, L., Multiscale Model. Simul., 15, 29-55 (2017) · Zbl 1369.82020
[14] Ulbrich, M.; Wen, Z.; Yang, C.; Klockner, D.; Lu, Z., SIAM J. Sci. Comput., 37, 4, A1975-A2002 (2015) · Zbl 1325.65095
[15] Wen, Z.; Yang, C.; Liu, X.; Zhang, Y., J. Sci. Comput., 66, 3, 1175-1203 (2016) · Zbl 1373.65026
[16] Hamann, D., Phys. Rev. B, 88, 8, Article 085117 pp. (2013)
[17] Hartwigsen, C.; Gredecker, S.; Hutter, J., Phys. Rev. B, 58, 7, 3641 (1998)
[18] Liu, F.; Lin, L.; Vigil-Fowler, D.; Lischner, J.; Kemper, A. F.; Sharifzadeh, S.; Felipe, H.; Deslippe, J.; Yang, C.; Neaton, J. B., J. Comput. Phys., 286, 1-13 (2015) · Zbl 1351.78065
[19] Hu, J.; Jiang, B.; Lin, L.; Wen, Z.; Yuan, Y.-x., SIAM J. Sci. Comput., 41, 4, A2239-A2269 (2019) · Zbl 1431.65085
[20] Gao, Y.; Fu, C.; Hu, W.; Yang, J., J. Phys. Chem. Lett., 13, 1-11 (2021)
[21] Zhang, Z.; Jiao, S.; Li, J.; Wu, W.; Wan, L.; Qin, X.; Hu, W.; Yang, J., Chin. J. Chem. Phys., 34, 5, 552-564 (2021)
[22] Frisch, M. J.; Trucks, G. W.; Schlegel, H. B.; Scuseria, G. E.; Robb, M. A.; Cheeseman, J. R.; Scalmani, G.; Barone, V.; Peters- son, G. A.; Nakatsuji, H.; Li, X.; Caricato, M.; Marenich, A. V.; Bloino, J.; Janesko, W. G.; Gomperts, R.; Mennucci, B.; Hratchian, H. P.; Ortiz, J. V.; Izmaylov, A. F.; Sonnenberg, J. L.; Williams- Young, D.; Ding, F.; Lipparini, F.; Egidi, F.; Goings, J.; Peng, B.; Petrone, A.; Henderson, T.; Ranasinghe, D.; Zakrzewski, V. G.; Gao, J.; Rega, N.; Zheng, G.; Liang, W.; Hada, M.; Ehara, M.; Toyota, K.; Fukuda, R.; Hasegawa, J.; Ishida, M.; Nakajima, T.; Honda, Y.; Kitao, O.; Nakai, H.; Vreven, T.; Throssell, K.; Montgomery, J. A.; Peralta, J. E.; Ogliaro, F.; Bearpark, M. J.; Heyd, J. J.; Brothers, E. N.; Kudin, K. N.; Staroverov, V. N.; Keith, T. A.; Kobayashi, R.; Normand, J.; Raghavachari, K.; dell Ren-, A. P.; Burant, J. C.; Iyengar, S. S.; Tomasi, J.; Cossi, M.; Millam, J. M.; Klene, M.; Adamo, C.; Cammi, R.; Ochterski, J. W.; Martin, R. L.; Morokuma, K.; Farkas, O.; Foresman, J. B.; Fox, D. J., Gaussian’16 Revision C.01 (2016), Gaussian Inc.: Gaussian Inc. Wallingford CT
[23] Valiev, M.; Bylaska, E. J.; Govind, N.; Kowalski, K.; Straatsma, T. P.; Van Dam, H. J.; Wang, D.; Nieplocha, J.; Apra, E.; Windus, T. L., Comput. Phys. Commun., 181, 9, 1477-1489 (2010) · Zbl 1216.81179
[24] Shao, Y.; Gan, Z.; Epifanovsky, E.; Gilbert, A. T.; Wormit, M.; Kussmann, J.; Lange, A. W.; Behn, A.; Deng, J.; Feng, X., Mol. Phys., 113, 2, 184-215 (2015)
[25] Zhang, Y.; Suo, B.; Wang, Z.; Zhang, N.; Li, Z.; Lei, Y.; Zou, W.; Gao, J.; Peng, D.; Pu, Z., J. Chem. Phys., 152, 6, Article 064113 pp. (2020)
[26] Sun, Q.; Berkelbach, T. C.; Blunt, N. S.; Booth, G. H.; Guo, S.; Li, Z.; Liu, J.; McClain, J. D.; Sayfutyarova, E. R.; Sharma, S., WIREs Comput. Mol. Sci., 8, 1, Article e1340 pp. (2018)
[27] Soler, J. M.; Artacho, E.; Gale, J. D.; Garcia, A.; Junquera, J.; Ordejon, P.; Sanchez-Portal, D., J. Phys. Condens. Matter, 14, 11, 2745 (2002)
[28] Qin, X.; Shang, H.; Xiang, H.; Li, Z.; Yang, J., Int. J. Quant. Chem., 115, 10, 647-655 (2015)
[29] Xiang, H.; Yang, J.; Hou, J.; Zhu, Q., Phys. Rev. Lett., 97, 26, Article 266402 pp. (2006)
[30] Qin, X.; Liu, J.; Hu, W.; Yang, J., J. Phys. Chem. A, 124, 27, 5664-5674 (2020)
[31] Blum, V.; Gehrke, R.; Hanke, F.; Havu, P.; Havu, V.; Ren, X.; Reuter, K.; Scheffler, M., Comput. Phys. Commun., 180, 11, 2175-2196 (2009) · Zbl 1197.81005
[32] Chen, M.; Guo, G.; He, L., J. Phys. Condens. Matter, 22, 44, Article 445501 pp. (2010)
[33] Kresse, G.; Hafner, J., Phys. Rev. B, 47, 1, 558 (1993)
[34] Gonze, X.; Beuken, J.-M.; Caracas, R.; Detraux, F.; Fuchs, M.; Rignanese, G.-M.; Sindic, L.; Verstraete, M.; Zerah, G.; Jollet, F., Comput. Mater. Sci., 25, 3, 478-492 (2002)
[35] Giannozzi, P.; Baroni, S.; Bonini, N.; Calandra, M.; Car, R.; Cavazzoni, C.; Ceresoli, D.; Chiarotti, G. L.; Cococcioni, M.; Dabo, I., J. Phys. Condens. Matter, 21, 39, Article 395502 pp. (2009)
[36] Jia, W.; Fu, J.; Cao, Z.; Wang, L.; Chi, X.; Gao, W.; Wang, L.-W., J. Comput. Phys., 251, 102-115 (2013) · Zbl 1349.65739
[37] Hu, W.; Lin, L.; Banerjee, A. S.; Vecharynski, E.; Yang, C., J. Chem. Theory Comput., 13, 3, 1188-1198 (2017)
[38] Mortensen, J. J.; Hansen, L. B.; Jacobsen, K. W., Phys. Rev. B, 71, 3, Article 035109 pp. (2005)
[39] Enkovaara, J.; Rostgaard, C.; Mortensen, J. J.; Chen, J.; Dulak, M.; Ferrighi, L.; Gavnholt, J.; Glinsvad, C.; Haikola, V.; Hansen, H., J. Phys. Condens. Matter, 22, 25, Article 253202 pp. (2010)
[40] Xu, Q.; Sharma, A.; Suryanarayana, P., Software X, 11, Article 100423 pp. (2020)
[41] Fathurrahman, F.; Agusta, M. K.; Saputro, A. G.; Dipojono, H. K., Comput. Phys. Commun., 256, Article 107372 pp. (2020) · Zbl 1525.82029
[42] Herbst, M. F.; Levitt, A.; Cances, E., Proc. JuliaCon. Conf., 3, 69 (2021)
[43] Ihm, J.; Zunger, A.; Cohen, M. L., J. Phys. C, Solid State Phys., 12, 21, 4409 (1979)
[44] Martin, R. M., Electronic Structure, Basic Theory and Practical Methods (2020), Cambridge University Press · Zbl 1442.74001
[45] Perdew, J. P.; Zunger, A., Phys. Rev. B, 23, 10, 5048 (1981)
[46] Perdew, J. P.; Burke, K.; Ernzerhof, M., Phys. Rev. Lett., 77, 18, 3865 (1996)
[47] Stroppa, A.; Kresse, G., New J. Phys., 10, 6, Article 063020 pp. (2008)
[48] Schimka, L.; Harl, J.; Stroppa, A.; Griineis, A.; Marsman, M.; Mittendorfer, F.; Kresse, G., Nat. Mater., 9, 9, 741-744 (2010)
[49] Sun, H.; Mowbray, D. J.; Migani, A.; Zhao, J.; Petek, H.; Rubio, A., ACS Catal., 5, 7, 4242-4254 (2015)
[50] Baerends, E. J.; Ellis, D.; Ros, P., Chem. Phys., 2, 1, 41-51 (1973)
[51] Lin, L., J. Chem. Theory Comput., 12, 5, 2242-2249 (2016)
[52] Hu, W.; Lin, L.; Yang, C., J. Chem. Theory Comput., 13, 11, 5458-5467 (2017)
[53] Hu, W.; Lin, L.; Yang, C., J. Chem. Theory Comput., 13, 11, 5420-5431 (2017)
[54] Lee, J.; Lin, L.; Head-Gordon, M., J. Chem. Theory Comput., 16, 1, 243-263 (2019)
[55] Phillips, J. C.; Kleinman, L., Phys. Rev., 116, 2, 287 (1959) · Zbl 0095.44601
[56] Giannozzi, P.; De Angelis, F.; Car, R., J. Chem. Phys., 120, 13, 5903-5915 (2004)
[57] Schlipf, M.; Gygi, F., Comput. Phys. Commun., 196, 36-44 (2015) · Zbl 1360.65181
[58] Anderson, D. G., J. Assoc. Comput. Mach., 12, 4, 547-560 (1965) · Zbl 0149.11503
[59] Pulay, P., Chem. Phys. Lett., 73, 2, 393-398 (1980)
[60] Kerker, G., Phys. Rev. B, 23, 6, 3082 (1981)
[61] Kresse, G.; Furthmtiller, J., Phys. Rev. B, 54, 16, Article 11169 pp. (1996)
[62] Zhou, Y.; Chelikowsky, J. R.; Gao, X.; Zhou, A., Commun. Comput. Phys., 18, 1, 167-179 (2015) · Zbl 1388.65195
[63] Yang, C.; Meza, J. C.; Wang, L.-W., J. Comput. Phys., 217, 2, 709-721 (2006) · Zbl 1102.81340
[64] Yang, C.; Meza, J. C.; Wang, L.-W., SIAM J. Sci. Comput., 29, 5, 1854-1875 (2007) · Zbl 1154.65340
[65] Duersch, J. A.; Shao, M.; Yang, C.; Gu, M., SIAM J. Sci. Comput., 40, 5, C655-C676 (2018) · Zbl 1401.65038
[66] Davidson, C., J. Comput. Phys., 17, 87-94 (1975) · Zbl 0293.65022
[67] Zhou, Y.; Saad, Y.; Tiago, M. L.; Chelikowsky, J. R., J. Comput. Phys., 219, 1, 172-184 (2006) · Zbl 1105.65111
[68] Vecharynski, E.; Yang, C.; Pask, J. E., J. Comput. Phys., 290, 73-89 (2015) · Zbl 1349.65133
[69] Kresse, G.; FurthmUller, J., Phys. Rev. B, 54, 16, Article 11169 pp. (1996)
[70] Car, R.; Parrinello, M., Phys. Rev. Lett., 55, 22, 2471 (1985)
[71] Feynman, R. P., Phys. Rev., 56, 4, 340 (1939) · Zbl 0022.42302
[72] Head, J. D.; Zerner, M. C., Chem. Phys. Lett., 122, 3, 264-270 (1985)
[73] Coleman, T. F.; Li, Y., Math. Program., 67, 1, 189-224 (1994) · Zbl 0842.90106
[74] Liu, D. C.; Nocedal, J., Math. Program., 45, 1, 503-528 (1989) · Zbl 0696.90048
[75] Overton, M. L., HANSO: hybrid algorithm for non-smooth optimization (2006)
[76] Burke, J. V.; Lewis, A. S.; Overton, M. L., SIAM J. Optim., 15, 3, 751-779 (2005) · Zbl 1078.65048
[77] Overton, M. L., NLCG: nonlinear conjugate gradient (2010)
[78] Bitzek, E.; Koskinen, P.; Gahler, F.; Moseler, M.; Gumbsch, P., Phys. Rev. Lett., 97, 17, Article 170201 pp. (2006)
[79] Edmiston, C.; Ruedenberg, K., Rev. Mod. Phys., 35, 3, 457 (1963) · Zbl 0121.24002
[80] Marzari, N.; Mostofi, A. A.; Yates, J. R.; Souza, I.; Vanderbilt, D., Rev. Mod. Phys., 84, 1419-1475 (2012)
[81] Marzari, N.; Vanderbilt, D., Phys. Rev. B, 56, 20, Article 12847 pp. (1997)
[82] Damle, A.; Lin, L.; Ying, L., J. Chem. Theory Comput., 11, 4, 1463-1469 (2015)
[83] Carnimeo, I.; Baroni, S.; Giannozzi, P., Electron. Struct., 1, 1, Article 015009 pp. (2019)
[84] Wu, K.; Qin, X.; Hu, W.; Yang, J., J. Chem. Theory Comput. (2021)
[85] Hu, W.; Lin, L.; Banerjee, A. S.; Vecharynski, E.; Yang, C., J. Chem. Theory Comput., 13, 3, 1188-1198 (2017)
[86] Momma, K.; Izumi, F., J. Appl. Crystallogr., 44, 6 (2011)
[87] Milovanovic, M. R.; Zivkovic, J. M.; Ninkovic, D. B.; Stankovic, I. M.; Zaric, S. D., Phys. Chem. Chem. Phys., 22, 7, 4138-4143 (2020)
[88] Ma, H.; Wang, L.; Wan, L.; Li, J.; Qin, X.; Liu, J.; Hu, W.; Lin, L.; Yang, L.; Yang, J., J. Phys. Chem. A, 125, 34, 7545-7557 (2021)
[89] Vinson, J.; Rehr, J.; Kas, J.; Shirley, E., Phys. Rev. B, 83, 11, Article 115106 pp. (2011)
This reference list is based on information provided by the publisher or from digital mathematics libraries. Its items are heuristically matched to zbMATH identifiers and may contain data conversion errors. In some cases that data have been complemented/enhanced by data from zbMATH Open. This attempts to reflect the references listed in the original paper as accurately as possible without claiming completeness or a perfect matching.