No Arabic abstract
By including a fraction of exact exchange (EXX), hybrid functionals reduce the self-interaction error in semi-local density functional theory (DFT), and thereby furnish a more accurate and reliable description of the electronic structure in systems throughout biology, chemistry, physics, and materials science. However, the high computational cost associated with the evaluation of all required EXX quantities has limited the applicability of hybrid DFT in the treatment of large molecules and complex condensed-phase materials. To overcome this limitation, we have devised a linear-scaling yet formally exact approach that utilizes a local representation of the occupied orbitals (e.g., maximally localized Wannier functions, MLWFs) to exploit the sparsity in the real-space evaluation of the quantum mechanical exchange interaction in finite-gap systems. In this work, we present a detailed description of the theoretical and algorithmic advances required to perform MLWF-based ab initio molecular dynamics (AIMD) simulations of large-scale condensed-phase systems at the hybrid DFT level. We provide a comprehensive description of the exx algorithm, which is currently implemented in the Quantum ESPRESSO program and employs a hybrid MPI/OpenMP parallelization scheme to efficiently utilize high-performance computing (HPC) resources. This is followed by a critical assessment of the accuracy and parallel performance of this approach when performing AIMD simulations of liquid water in the canonical ensemble. With access to HPC resources, we demonstrate that exx enables hybrid DFT based AIMD simulations of condensed-phase systems containing 500-1000 atoms with a walltime cost that is comparable to semi-local DFT. In doing so, exx takes us closer to routinely performing AIMD simulations of large-scale condensed-phase systems for sufficiently long timescales at the hybrid DFT level of theory.
In the previous paper of this series [JCTC 2020, 16, 3757], we presented a theoretical and algorithmic framework based on a localized representation of the occupied space that exploits the inherent sparsity in the real-space evaluation of the EXX interaction in finite-gap systems. This was accompanied by a detailed description of exx, a massively parallel hybrid MPI/OpenMP implementation of this approach in Quantum ESPRESSO that enables linear-scaling hybrid DFT based AIMD in the NVE/NVT ensembles of condensed-phase systems containing 500--1000 atoms (in fixed orthorhombic cells) with a wall time cost comparable to semi-local DFT. In this work, we extend exx to enable hybrid DFT based AIMD of large-scale condensed-phase systems with general and fluctuating cells in the NpH/NpT ensembles. Our theoretical extension includes an analytical derivation of the EXX contribution to the stress tensor for systems in general cells with a computational complexity that scales linearly with system size. The corresponding algorithmic extensions to exx include optimized routines that: (i) handle static/fluctuating cells with non-orthogonal lattice symmetries, (ii) solve Poissons equation in general cells via an automated selection of the auxiliary grid directions in the Natan-Kronik representation of the discrete Laplacian operator, and (iii) evaluate the EXX contribution to the stress tensor. We also critically assess the computational performance of the extended exx module across several different HPC architectures via case studies on ice Ih, II, and III as well as ambient liquid water. We find that the extended exx can evaluate the EXX contribution to the stress tensor with negligible cost (< 1%) and remains highly scalable, thereby bringing us another step closer to routinely performing hybrid DFT based AIMD for large-scale condensed-phase systems across a wide range of thermodynamic conditions.
Recent developments in path integral methodology have significantly reduced the computational expense of including quantum mechanical effects in the nuclear motion in ab initio molecular dynamics simulations. However, the implementation of these developments requires a considerable programming effort, which has hindered their adoption. Here we describe i-PI, an interface written in Python that has been designed to minimise the effort required to bring state-of-the-art path integral techniques to an electronic structure program. While it is best suited to first principles calculations and path integral molecular dynamics, i-PI can also be used to perform classical molecular dynamics simulations, and can just as easily be interfaced with an empirical forcefield code. To give just one example of the many potential applications of the interface, we use it in conjunction with the CP2K electronic structure package to showcase the importance of nuclear quantum effects in high pressure water.
Real-time time-dependent density functional theory (rt-TDDFT) with hybrid exchange-correlation functional has wide-ranging applications in chemistry and material science simulations. However, it can be thousands of times more expensive than a conventional ground state DFT simulation, hence is limited to small systems. In this paper, we accelerate hybrid functional rt-TDDFT calculations using the parallel transport gauge formalism, and the GPU implementation on Summit. Our implementation can efficiently scale to 786 GPUs for a large system with 1536 silicon atoms, and the wall clock time is only 1.5 hours per femtosecond. This unprecedented speed enables the simulation of large systems with more than 1000 atoms using rt-TDDFT and hybrid functional.
Density functional theory calculations use a significant fraction of current supercomputing time. The resources required scale with the problem size, internal workings of the code and the number of iterations to convergence, the latter being controlled by what is called mixing. This note describes a new approach to handling trust-regions within these and other fixed-point problems. Rather than adjusting the trust-region based upon improvement, the prior steps are used to estimate what the parameters and trust-regions should be, effectively estimating the optimal Polyak step from the prior history. Detailed results are shown for eight structures using both the Good and Bad Multisecan
We extend density functional perturbation theory for lattice dynamics with fully relativistic ultrasoft pseudopotentials to magnetic materials. Our approach is based on the application of the time-reversal operator to the Sternheimer linear system and to its self-consistent solutions. Moreover, we discuss how to include in the formalism the symmetry operations of the magnetic point group which require the time-reversal operator. We validate our implementation by comparison with the frozen phonon method in fcc Ni and in a monatomic ferromagnetic Pt wire.