ABSTRACT
First-principles electronic structure calculations are now accessible to a very large community of users across many disciplines, thanks to many successful software packages, some of which are described in this special issue. The traditional coding paradigm for such packages is monolithic, i.e., regardless of how modular its internal structure may be, the code is built independently from others, essentially from the compiler up, possibly with the exception of linear-algebra and message-passing libraries. This model has endured and been quite successful for decades. The successful evolution of the electronic structure methodology itself, however, has resulted in an increasing complexity and an ever longer list of features expected within all software packages, which implies a growing amount of replication between different packages, not only in the initial coding but, more importantly, every time a code needs to be re-engineered to adapt to the evolution of computer hardware architecture. The Electronic Structure Library (ESL) was initiated by CECAM (the European Centre for Atomic and Molecular Calculations) to catalyze a paradigm shift away from the monolithic model and promote modularization, with the ambition to extract common tasks from electronic structure codes and redesign them as open-source libraries available to everybody. Such libraries include "heavy-duty" ones that have the potential for a high degree of parallelization and adaptation to novel hardware within them, thereby separating the sophisticated computer science aspects of performance optimization and re-engineering from the computational science done by, e.g., physicists and chemists when implementing new ideas. We envisage that this modular paradigm will improve overall coding efficiency and enable specialists (whether they be computer scientists or computational scientists) to use their skills more effectively and will lead to a more dynamic evolution of software in the community as well as lower barriers to entry for new developers. The model comes with new challenges, though. The building and compilation of a code based on many interdependent libraries (and their versions) is a much more complex task than that of a code delivered in a single self-contained package. Here, we describe the state of the ESL, the different libraries it now contains, the short- and mid-term plans for further libraries, and the way the new challenges are faced. The ESL is a community initiative into which several pre-existing codes and their developers have contributed with their software and efforts, from which several codes are already benefiting, and which remains open to the community.
ABSTRACT
abinit is probably the first electronic-structure package to have been released under an open-source license about 20 years ago. It implements density functional theory, density-functional perturbation theory (DFPT), many-body perturbation theory (GW approximation and Bethe-Salpeter equation), and more specific or advanced formalisms, such as dynamical mean-field theory (DMFT) and the "temperature-dependent effective potential" approach for anharmonic effects. Relying on planewaves for the representation of wavefunctions, density, and other space-dependent quantities, with pseudopotentials or projector-augmented waves (PAWs), it is well suited for the study of periodic materials, although nanostructures and molecules can be treated with the supercell technique. The present article starts with a brief description of the project, a summary of the theories upon which abinit relies, and a list of the associated capabilities. It then focuses on selected capabilities that might not be present in the majority of electronic structure packages either among planewave codes or, in general, treatment of strongly correlated materials using DMFT; materials under finite electric fields; properties at nuclei (electric field gradient, Mössbauer shifts, and orbital magnetization); positron annihilation; Raman intensities and electro-optic effect; and DFPT calculations of response to strain perturbation (elastic constants and piezoelectricity), spatial dispersion (flexoelectricity), electronic mobility, temperature dependence of the gap, and spin-magnetic-field perturbation. The abinit DFPT implementation is very general, including systems with van der Waals interaction or with noncollinear magnetism. Community projects are also described: generation of pseudopotential and PAW datasets, high-throughput calculations (databases of phonon band structure, second-harmonic generation, and GW computations of bandgaps), and the library libpaw. abinit has strong links with many other software projects that are briefly mentioned.
ABSTRACT
The BigDFT project was started in 2005 with the aim of testing the advantages of using a Daubechies wavelet basis set for Kohn-Sham (KS) density functional theory (DFT) with pseudopotentials. This project led to the creation of the BigDFT code, which employs a computational approach with optimal features of flexibility, performance, and precision of the results. In particular, the employed formalism has enabled the implementation of an algorithm able to tackle DFT calculations of large systems, up to many thousands of atoms, with a computational effort that scales linearly with the number of atoms. In this work, we recall some of the features that have been made possible by the peculiar properties of Daubechies wavelets. In particular, we focus our attention on the usage of DFT for large-scale systems. We show how the localized description of the KS problem, emerging from the features of the basis set, is helpful in providing a simplified description of large-scale electronic structure calculations. We provide some examples on how such a simplified description can be employed, and we consider, among the case-studies, the SARS-CoV-2 main protease.
ABSTRACT
Efficient, mercury-free deep ultraviolet (DUV) light-emitting diodes (LEDs) are becoming a crucial challenge for many applications such as water purification. For decades, the poor p-type doping and difficult current injection of Al-rich AlGaN-based DUV LEDs have limited their efficiency and therefore their use. We present here the significant increase in AlN p-doping thanks to Mg/In codoping, which leads to an order of magnitude higher Mg solubility limit in AlN nanowires (NWs). Optimal electrical activation of acceptor impurities has been further achieved by electron irradiation, resulting in tunnel conduction through the AlN NW p-n junction. The proposed theoretical scenario to account for enhanced Mg incorporation involves an easy ionization of In-vacancy complex associated with a negative charging of Mg in In vicinity. This leads to favored incorporation of negatively charged Mg into the AlN matrix, opening the path to the realization of highly efficient NW-based LEDs in the DUV range.
ABSTRACT
We present CheSS, the "Chebyshev Sparse Solvers" library, which has been designed to solve typical problems arising in large-scale electronic structure calculations using localized basis sets. The library is based on a flexible and efficient expansion in terms of Chebyshev polynomials and presently features the calculation of the density matrix, the calculation of matrix powers for arbitrary powers, and the extraction of eigenvalues in a selected interval. CheSS is able to exploit the sparsity of the matrices and scales linearly with respect to the number of nonzero entries, making it well-suited for large-scale calculations. The approach is particularly adapted for setups leading to small spectral widths of the involved matrices and outperforms alternative methods in this regime. By coupling CheSS to the DFT code BigDFT, we show that such a favorable setup is indeed possible in practice. In addition, the approach based on Chebyshev polynomials can be massively parallelized, and CheSS exhibits excellent scaling up to thousands of cores even for relatively small matrix sizes.
ABSTRACT
The widespread popularity of density functional theory has given rise to an extensive range of dedicated codes for predicting molecular and crystalline properties. However, each code implements the formalism in a different way, raising questions about the reproducibility of such predictions. We report the results of a community-wide effort that compared 15 solid-state codes, using 40 different potentials or basis set types, to assess the quality of the Perdew-Burke-Ernzerhof equations of state for 71 elemental crystals. We conclude that predictions from recent codes and pseudopotentials agree very well, with pairwise differences that are comparable to those between different high-precision experiments. Older methods, however, have less precise agreement. Our benchmark provides a framework for users and developers to document the precision of new applications and methodological improvements.
ABSTRACT
Density functional theory calculations are computationally extremely expensive for systems containing many atoms due to their intrinsic cubic scaling. This fact has led to the development of so-called linear scaling algorithms during the last few decades. In this way it becomes possible to perform ab initio calculations for several tens of thousands of atoms within reasonable walltimes. However, even though the use of linear scaling algorithms is physically well justified, their implementation often introduces some small errors. Consequently most implementations offering such a linear complexity either yield only a limited accuracy or, if one wants to go beyond this restriction, require a tedious fine tuning of many parameters. In our linear scaling approach within the BigDFT package, we were able to overcome this restriction. Using an ansatz based on localized support functions expressed in an underlying Daubechies wavelet basis - which offers ideal properties for accurate linear scaling calculations - we obtain an amazingly high accuracy and a universal applicability while still keeping the possibility of simulating large system with linear scaling walltimes requiring only a moderate demand of computing resources. We prove the effectiveness of our method on a wide variety of systems with different boundary conditions, for single-point calculations as well as for geometry optimizations and molecular dynamics.
ABSTRACT
We demonstrate that Daubechies wavelets can be used to construct a minimal set of optimized localized adaptively contracted basis functions in which the Kohn-Sham orbitals can be represented with an arbitrarily high, controllable precision. Ground state energies and the forces acting on the ions can be calculated in this basis with the same accuracy as if they were calculated directly in a Daubechies wavelets basis, provided that the amplitude of these adaptively contracted basis functions is sufficiently small on the surface of the localization region, which is guaranteed by the optimization procedure described in this work. This approach reduces the computational costs of density functional theory calculations, and can be combined with sparse matrix algebra to obtain linear scaling with respect to the number of electrons in the system. Calculations on systems of 10,000 atoms or more thus become feasible in a systematic basis set with moderate computational resources. Further computational savings can be achieved by exploiting the similarity of the adaptively contracted basis functions for closely related environments, e.g., in geometry optimizations or combined calculations of neutral and charged systems.
ABSTRACT
Through a systematic structural search we found an allotrope of carbon with Cmmm symmetry which we predict to be more stable than graphite for pressures above 10 GPa. This material, which we refer to as Z-carbon, is formed by pure sp(3) bonds and it provides an explanation to several features in experimental x-ray diffraction and Raman spectra of graphite under pressure. The transition from graphite to Z-carbon can occur through simple sliding and buckling of graphene sheets. Our calculations predict that Z-carbon is a transparent wide band-gap semiconductor with a hardness comparable to diamond.
ABSTRACT
Unbiased open-ended methods for finding transition states are powerful tools to understand diffusion and relaxation mechanisms associated with defect diffusion, growth processes, and catalysis. They have been little used, however, in conjunction with ab initio packages as these algorithms demanded large computational effort to generate even a single event. Here, we revisit the activation-relaxation technique (ART nouveau) and introduce a two-step convergence to the saddle point, combining the previously used Lanczós algorithm with the direct inversion in interactive subspace scheme. This combination makes it possible to generate events (from an initial minimum through a saddle point up to a final minimum) in a systematic fashion with a net 300-700 force evaluations per successful event. ART nouveau is coupled with BigDFT, a Kohn-Sham density functional theory (DFT) electronic structure code using a wavelet basis set with excellent efficiency on parallel computation, and applied to study the potential energy surface of C(20) clusters, vacancy diffusion in bulk silicon, and reconstruction of the 4H-SiC surface.
Subject(s)
Computer Simulation , Models, Chemical , Carbon Compounds, Inorganic/chemistry , Fullerenes/chemistry , Quantum Theory , Silicon/chemistry , Silicon Compounds/chemistry , Surface PropertiesABSTRACT
The intriguing possibility of frictionless gliding of one solid surface on another has been predicted for certain incommensurate interfaces in crystals, based on Aubry's solution to the Frenkel-Kontorova model of a harmonic chain in a periodic potential field. Here we test this prediction for grain boundaries by comparing atomistic simulations with direct experimental observations on the structure and load-deformation behavior of gold nanopillars containing a root-two incommensurate grain boundary. The simulations show supergliding at this boundary limited by finite-size effects which cause edges to act as defects of the incommensurate structure. Structural relaxation at the edges generates stacking faults, dislocations, and asymmetric surface steps. These features as well as the related load-displacement behavior are replicated by experimental observations on the compression of nanopillars using a quantitative nanoindentation device inside a transmission electron microscope. The good agreement between the observed and predicted behavior suggests that incommensurate interfaces could play an important role in the deformation of polycrystalline materials.
ABSTRACT
Daubechies wavelets are a powerful systematic basis set for electronic structure calculations because they are orthogonal and localized both in real and Fourier space. We describe in detail how this basis set can be used to obtain a highly efficient and accurate method for density functional electronic structure calculations. An implementation of this method is available in the ABINIT free software package. This code shows high systematic convergence properties, very good performances, and an excellent efficiency for parallel calculations.
ABSTRACT
In this Letter we report kinetic lattice Monte Carlo simulations of vacancy-assisted diffusion in silicon. We show that the observed temperature dependence for vacancy migration energy is explained by the existence of three diffusion regimes for divacancies. This characteristic has been rationalized with an analytical model. In the intermediate temperature regime the divacancy dissociation plays a key role and an effective migration energy E{v}{m} approximately 2 eV is predicted, computed from either full ab initio values or mixed with experimental ones. The exact position of this temperature regime strongly depends on vacancy concentration. Previous contradictory experimental results are revisited using this viewpoint.