new developments in the quantum espresso software
play

New developments in the quantum ESPRESSO software distribution for - PowerPoint PPT Presentation

New developments in the quantum ESPRESSO software distribution for quantum simulations at the nanoscale Paolo Giannozzi Universit` a di Udine, Italy Workshop From experiments to theory & models... Roma Tor Vergata, 2017/12/5 Typeset by


  1. New developments in the quantum ESPRESSO software distribution for quantum simulations at the nanoscale Paolo Giannozzi Universit` a di Udine, Italy Workshop From experiments to theory & models... Roma Tor Vergata, 2017/12/5 – Typeset by Foil T EX –

  2. At the nanoscale Nanoscale : phenomena happening on a scale of lengths up to a few tens of nm. Can be studied using quantum , or first-principle , simulations, that is: calculations based on the electronic structure

  3. Size vs accuracy

  4. At the nanoscale: nanocatalysis Cobalt-base catalyser for water splitting: J. Am. Chem. Soc. 135 , 15353 (2013)

  5. At the nanoscale: systems of biological interest Metal- β -amyloid interactions; Metallomics 4 , 156 (2012).

  6. Quantum simulations: basics odinger equation for nuclei R ≡ { � Time-dependent Schr¨ R I } and electrons r ≡ { � r i } : � � h∂ ˆ h 2 h 2 Φ( r , R ; t ) ¯ ¯ ˆ � � ∇ 2 2 m ∇ 2 i ¯ = − R I − r i + V ( r , R ) Φ( r , R ; t ) � � ∂t 2 M I I i Born-Oppenheimer (or adiabatic ) approximation, valid for M I >> m : Φ( r , R ; t ) ≃ Φ( R )Ψ( r | R ) e − i ˆ ˆ Et/ ¯ h Problem splits into an electronic problem depending upon nuclear positions : � � h 2 ¯ � 2 m ∇ 2 − r i + V ( r , R ) Ψ( r , R ) = E ( R )Ψ( r , R ) � i and a nuclear problem under an effective interatomic potential E ( R ) , typically treated as classical , with forces on nuclei: F I = −∇ � R I E ( R ) .

  7. Density-Functional Theory Transforms the many-electron problem into an equivalent problem of (fictitious) non-interacting electrons, the Kohn-Sham equations : � � h 2 − ¯ 2 m ∇ 2 Hφ v ≡ r + V R ( � r ) φ v ( � r ) = ǫ v φ v ( � r ) � The effective potential is a functional of the charge density: Z I e 2 � � r ) | 2 V R ( � r ) = − + v [ n ( � r )] , n ( � r ) = | φ v ( � r − � | � R I | v I (Hohenberg-Kohn 1964, Kohn-Sham 1965). Exact form is unknown, but simple approximate forms yielding very accurate (ground-state) results are known.

  8. Density-Functional Theory II The total energy is also a functional of the charge density: h 2 − ¯ � � � φ ∗ r ) ∇ 2 φ v ( � E ⇒ E [ { φ } , R ] = v ( � r ) d� r + V R ( � r ) n ( � r ) d� r + 2 m v � n ( � r ) n ( � e 2 r ′ ) e 2 Z I Z J r ′ + E xc [ n ( � rd� � + d� r )] + r − � | � R I − � 2 2 r ′ | | � R J | I � = J Kohn-Sham equations arise from the minimization of the energy functional: � φ ∗ E ( R ) = min φ E [ { φ } , R ] , i ( � r ) φ j ( � r ) d� r = δ ij Hellmann-Feynman theorem holds. Forces on nuclei: � � F I = −∇ � R I E ( R ) = − n ( � r ) ∇ � R I V R ( � r ) d� r

  9. Density-Functional Theory in practice • Expanding the Kohn-Sham orbitals into a suitable basis set turns Density- Functional Theory into a multi-variate minimization problem, and the Kohn- Sham equations into a non-linear matrix eigenvalue problem • The use of pseudopotentials allows one to ignore chemically inert core states and to use plane waves • Plane waves are orthogonal and the matrix elements of the Hamiltonian are usually easy to calculate; the completeness of the basis is easy to check • Plane waves allow to efficiently calculate matrix-vector products and to solve the Poisson equation using Fast Fourier Transforms (FFTs) (NB: Other approaches based on different basis sets and all-electron atoms exist)

  10. Requirements on effective software for quantum simulations at the nanoscale • Diffusion of first-principle techniques among non-specialists requires software that is easy to use and (reasonably) error-proof • Challenging calculations stress the limits of available computer power: software should be fast and efficient • Introducing innovation requires new ideas to materialize into new algorithms through codes: software should be easy to extend and to improve • Complex problems require a mix of solutions coming from different approaches and methods: software should be interoperable with other software • Finally, scientific ethics requires that results should be reproducible and algorithms susceptible of validation

  11. The quantum ESPRESSO distribution quantum ESPRESSO (QE) stands for Quantum opEn-Source Package for Research in Electronic Structure, Simulation, and Optimization QE is a distribution (an integrated suite) of software for first-principle simulations , i.e., atomistic calculations based on electronic structure, using density-functional theory, a plane-wave basis set, pseudopotentials. QE is freely available under the terms of the GNU General Public License Main goals of QE are • innovation in theoretical methods and numerical algorithms • efficiency on modern computer architectures A great effort is also devoted to user friendliness and to the formation of a users’ and developers’ community QE exists since 2002, resulting from the merge of pre-existing packages; some core components have been under development for ∼ 30 years

  12. quantum ESPRESSO contributors QE is one of the community codes of H2020 project MaX – Materials at the Exascale , receives contributions from many individuals and partner institutions in Europe and worldwide. Who “owns” QE ... ? ... the quantum ESPRESSO Foundation: a non–profit (“limited by guarantee”) company, based in London, that • coordinates and supports research, education, and outreach within the QE community • owns the trademarks and protects the open-source character of QE • raises funds to foster the QE project and its development Current members of the Foundation: SISSA, EPFL, ICTP, IOM-CNR, Cineca, North Texas University Oxford University

  13. Users’ community: factoids • 2000+ registered users for the p w forum mailing list • An average of ∼ 10 messages a days on p w forum • Latest version downloaded 9500 times in less than two months [*] • 30+ Schools or tutorials since 2002, attended by ∼ 1200 users • 4 developers’ schools since 2013, latest in 2017 • Annual developers’ meeting since 2010 [*] Number may be inflated by bots, failed or repeated downloads, etc.

  14. This is the main documenting paper. After 8 years and ∼ 6000 citations ...

  15. ... a new version is out. What happened meanwhile?

  16. Requirements on effective software for quantum simulations at the nanoscale • Diffusion of first-principle techniques among non-specialists requires software that is easy to use and (reasonably) error-proof • Challenging calculations stress the limits of available computer power: software should be fast and efficient • Introducing innovation requires new ideas to materialize into new algorithms through codes: software should be easy to extend and to improve • Complex problems require a mix of solutions coming from different approaches and methods: software should be interoperable with other software • Finally, scientific ethics requires that results should be reproducible and algorithms susceptible of validation

  17. Verification and Validation of electronic-structure codes Systematic comparisons of different pseudopotential and all-electron DFT codes: Reproducibility in density-functional theory calculations of solids , K. Lejaeghere et multis aliis , Science 351 (6280), aad3000 (2016), DOI 10.1126/science.aad3000 Tests precision of the computational methods, not physical accuracy of results. Main outcome: everybody is converging towards the same set of results.

  18. Comparing QE with Gaussian-based code CRYSTAL Effect of the basis set Comparison of charge density in Si Comparison of charge density in Al

  19. Requirements on effective software for quantum simulations at the nanoscale • Diffusion of first-principle techniques among non-specialists requires software that is easy to use and (reasonably) error-proof • Challenging calculations stress the limits of available computer power: software should be fast and efficient • Introducing innovation requires new ideas to materialize into new algorithms through codes: software should be easy to extend and to improve • Complex problems require a mix of solutions coming from different approaches and methods: software should be interoperable with other software • Finally, scientific ethics requires that results should be reproducible and algorithms susceptible of validation

  20. Solutions for interoperability • I/O with schema-based, standard-compliant XML file, plus binary files (optionally in portable HDF5 format) for large records (e.g. wavefunctions, charge density). Allows easy parsing and transferral of data both inside QE and between QE and external software. • More modular code and parallelization logic. Allows to call QE code as a library and to execute it inside a MPI communicator provided by the external software Applications: • QM-MM, with LAMMPS for the MM part (Comput. Phys. Commun. 195 , 191 (2015), new version using MPI still under development) • Advanced minimization algorithms (basin hopping, genetic algorithms) • Path-Integral Molecular Dynamics with i-Pi (CPC 185 , 1019 (2014)) • High-throughput computing with AiiDA (Comput. Mater. Sci. 111 218 (2016))

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend