Skip to main navigation Skip to search Skip to main content

GPAW: An open Python package for electronic structure calculations

  • Jens Jørgen Mortensen*
  • , Ask Hjorth Larsen
  • , Mikael Kuisma
  • , Aleksei V. Ivanov
  • , Alireza Taghizadeh
  • , Andrew Peterson
  • , Anubhab Haldar
  • , Asmus Ougaard Dohn
  • , Christian Schäfer
  • , Elvar Örn Jónsson
  • , Eric D. Hermes
  • , Fredrik Andreas Nilsson
  • , Georg Kastlunger
  • , Gianluca Levi
  • , Hannes Jónsson
  • , Hannu Häkkinen
  • , Jakub Fojt
  • , Jiban Kangsabanik
  • , Joachim Sødequist
  • , Jouko Lehtomäki
  • Julian Heske, Jussi Enkovaara, Kirsten Trøstrup Winther, Marcin Dulak, Marko M. Melander, Martin Ovesen, Martti Louhivuori, Michael Walter, Morten Gjerding, Olga Lopez-Acevedo, Paul Erhart, Robert Warmbier, Rolf Würdemann, Sami Kaappa, Simone Latini, Tara Maria Boland, Thomas Bligaard, Thorbjørn Skovhus, Toma Susi, Tristan Maxson, Tuomas Rossi, Xi Chen, Yorick Leonard A. Schmerwitz, Jakob Schiøtz, Thomas Olsen, Karsten Wedel Jacobsen, Kristian Sommer Thygesen
*Corresponding author for this work

Research output: Contribution to journal › Article › Scientific › peer-review

240 Citations (Scopus)
205 Downloads (Pure)

Abstract

We review the GPAW open-source Python package for electronic structure calculations. GPAW is based on the projector-augmented wave method and can solve the self-consistent density functional theory (DFT) equations using three different wave-function representations, namely real-space grids, plane waves, and numerical atomic orbitals. The three representations are complementary and mutually independent and can be connected by transformations via the real-space grid. This multi-basis feature renders GPAW highly versatile and unique among similar codes. By virtue of its modular structure, the GPAW code constitutes an ideal platform for the implementation of new features and methodologies. Moreover, it is well integrated with the Atomic Simulation Environment (ASE), providing a flexible and dynamic user interface. In addition to ground-state DFT calculations, GPAW supports many-body GW band structures, optical excitations from the Bethe-Salpeter Equation, variational calculations of excited states in molecules and solids via direct optimization, and real-time propagation of the Kohn-Sham equations within time-dependent DFT. A range of more advanced methods to describe magnetic excitations and non-collinear magnetism in solids are also now available. In addition, GPAW can calculate non-linear optical tensors of solids, charged crystal point defects, and much more. Recently, support for graphics processing unit (GPU) acceleration has been achieved with minor modifications to the GPAW code thanks to the CuPy library. We end the review with an outlook, describing some future plans for GPAW.

Original languageEnglish
Article number092503
JournalJournal of Chemical Physics
Volume160
Issue number9
DOIs
Publication statusPublished - 7 Mar 2024
Publication typeA1 Journal article-refereed

Funding

K.S.T. acknowledges funding from the European Research Council (ERC) under the European Union’s Horizon 2020 research and innovation program Grant No. 773122 (LIMA) and Grant Agreement No. 951786 (NOMAD CoE). K.S.T. is a Villum Investigator supported by VILLUM FONDEN (Grant No. 37789). Funding for A.O.D., G.L., and Y.L.A.S. was provided by the Icelandic Research Fund (Grant Nos. 196279, 217734, and 217751, respectively). F.N. has received funding from the European Union’s Horizon 2020 research and innovation program under the Marie Skłodowska-Curie Grant Agreement No. 899987. M.M.M. was supported by the Academy of Finland (Grant No. 338228). T.O. acknowledges support from the Villum Foundation Grant No. 00029378. S.K. and K.W.J. acknowledge support from the VILLUM Center for Science of Sustainable Fuels and Chemicals, which is funded by the VILLUM Fonden research (Grant No. 9455). T.B. was funded by the Danish National Research Foundation (DNRF Grant No. 146). J.S. acknowledges funding from the Independent Research Fund Denmark (DFF-FTP) through Grant No. 9041-00161B. C.S. acknowledges support from the Swedish Research Council (VR) through Grant No. 2016-06059 and funding from the Horizon Europe research and innovation program of the European Union under the Marie Skłodowska-Curie Grant Agreement No. 101065117. Partially funded by the European Union. The views and opinions expressed are, however, those of the author(s) only and do not necessarily reflect those of the European Union or REA. Neither the European Union nor the granting authority can be held responsible for them. T.S. received funding from the European Research Council (ERC) under the European Union’s Horizon 2020 research and innovation program (Grant Agreement No. 756277-ATMEN). O.L.-A. has been supported by Minciencias and the University of Antioquia (Colombia). K.T.W. was supported by the U.S. Department of Energy, Office of Science, Office of Basic Energy Sciences, Chemical Sciences, Geosciences, and Biosciences Division, Catalysis Science Program, and the SUNCAT Center for Interface Science and Catalysis. G.K. acknowledges funding from V-Sustain: The VILLUM Centre for the Science of Sustainable Fuels and Chemicals (Grant No. 9455). Additional funding: Knut and Alice Wallenberg Foundation (Grant No. 2019.0140; J.F. and P.E.), the Swedish Research Council (Grant No. 2020-04935; J.F. and P.E.), the European Union’s Horizon 2020 research and innovation program under the Marie Skłodowska-Curie Grant Agreement No. 101065117 (C.S.). Computations and code development work have been enabled by the resources provided by the Niflheim Linux cluster supercomputer installed at the Department of Physics at the Technical University of Denmark, CSC–IT Center for Science, Finland, through national supercomputers and through access to the LUMI supercomputer owned by the EuroHPC Joint Undertaking, and the National Academic Infrastructure for Supercomputing in Sweden (NAISS) at NSC, PDC, and C3SE, partially funded by the Swedish Research Council through Grant Agreement No. 2022-06725. We gratefully acknowledge these organizations for providing computational resources and facilities. K.S.T. acknowledges funding from the European Research Council (ERC) under the European Union’s Horizon 2020 research and innovation program Grant No. 773122 (LIMA) and Grant Agreement No. 951786 (NOMAD CoE). K.S.T. is a Villum Investigator supported by VILLUM FONDEN (Grant No. 37789). Funding for A.O.D., G.L., and Y.L.A.S. was provided by the Icelandic Research Fund (Grant Nos. 196279, 217734, and 217751, respectively). F.N. has received funding from the European Union’s Horizon 2020 research and innovation program under the Marie Skłodowska-Curie Grant Agreement No. 899987. M.M.M. was supported by the Academy of Finland (Grant No. 338228). T.O. acknowledges support from the Villum Foundation Grant No. 00029378. S.K. and K.W.J. acknowledge support from the VILLUM Center for Science of Sustainable Fuels and Chemicals, which is funded by the VILLUM Fonden research (Grant No. 9455). T.B. was funded by the Danish National Research Foundation (DNRF Grant No. 146). J.S. acknowledges funding from the Independent Research Fund Denmark (DFF-FTP) through Grant No. 9041-00161B. C.S. acknowledges support from the Swedish Research Council (VR) through Grant No. 2016-06059 and funding from the Horizon Europe research and innovation program of the European Union under the Marie Skłodowska-Curie Grant Agreement No. 101065117. Partially funded by the European Union. The views and opinions expressed are, however, those of the author(s) only and do not necessarily reflect those of the European Union or REA. Neither the European Union nor the granting authority can be held responsible for them. T.S. received funding from the European Research Council (ERC) under the European Union’s Horizon 2020 research and innovation program (Grant Agreement No. 756277-ATMEN). O.L.-A. has been supported by Minciencias and the University of Antioquia (Colombia). K.T.W. was supported by the U.S. Department of Energy, Office of Science, Office of Basic Energy Sciences, Chemical Sciences, Geosciences, and Biosciences Division, Catalysis Science Program, and the SUNCAT Center for Interface Science and Catalysis. G.K. acknowledges funding from V-Sustain: The VILLUM Centre for the Science of Sustainable Fuels and Chemicals (Grant No. 9455). Additional funding: Knut and Alice Wallenberg Foundation (Grant No. 2019.0140; J.F. and P.E.), the Swedish Research Council (Grant No. 2020-04935; J.F. and P.E.), the European Union’s Horizon 2020 research and innovation program under the Marie Skłodowska-Curie Grant Agreement No. 101065117 (C.S.). Computations and code development work have been enabled by the resources provided by the Niflheim Linux cluster supercomputer installed at the Department of Physics at the Technical University of Denmark, CSC-IT Center for Science, Finland, through national supercomputers and through access to the LUMI supercomputer owned by the EuroHPC Joint Undertaking, and the National Academic Infrastructure for Supercomputing in Sweden (NAISS) at NSC, PDC, and C3SE, partially funded by the Swedish Research Council through Grant Agreement No. 2022-06725. We gratefully acknowledge these organizations for providing computational resources and facilities.

FundersFunder number
VILLUM Centre for the Science of Sustainable Fuels and Chemicals
Universidad de Antioquia
The Office of Basic Energy Sciences (BES), Department of Energy, Washington DC
European High Performance Computing Joint Undertaking
Danmarks Frie Forskningsfond
VILLUM Center for Science
CSC – IT Center for Science
U.S. Department of Energy
China Scholarship Council
Catalysis Science Program
French Embassy in Canada’s Office of Science and Technology
Danmarks Tekniske Universitet, DTU
European Research Council
Chemical Sciences, Geosciences, and Biosciences Division
European Commission756277-ATMEN
National Academic Infrastructure for Supercomputing2022-06725
Horizon 2020 Framework Programme951786, 773122
Villum Fonden00029378, 37789
H2020 Marie Skłodowska-Curie Actions899987
Knut och Alice Wallenbergs Stiftelse2019.0140, 2020-04935
Icelandic Centre for Research217751, 196279, 217734
Strategic Research Council at the Research Council of Finland338228
Horizon Europe research and innovation program of the European Union101065117
Danmarks Grundforskningsfond146
Vetenskapsrådet2016-06059
DFF-FTP9041-00161B
VILLUM Fonden research9455

    Publication forum classification

    • Publication forum level 1

    ASJC Scopus subject areas

    • General Physics and Astronomy
    • Physical and Theoretical Chemistry

    Fingerprint

    Dive into the research topics of 'GPAW: An open Python package for electronic structure calculations'. Together they form a unique fingerprint.

    Cite this