ABACUS is an electronic structure package based on density functional theory(DFT), adopting either plane wave basis or numerical atomic orbitals. Please refer to our GitHub repository for more information and support.
- Table of contents
- Features
- Download and install
- Quickstart guide
- Citations
- Development team
- Communicating and making contributions
- Miscellaneous
ABACUS provides the following features and functionalities:
- Three types of supported basis sets: pw, LCAO, and LCAO-in-pw.
- Ground-state total energy calculations using Kohn-Sham (KS) density functional theory (DFT) with local-density, generalized gradient approximations (LDA/GGAs), Meta-GGA(requires LIBXC, only for PW), and hybrid functionals (PBE0 and HSE06, only for LCAO and currently under test).
- Geometry relaxations with Conjugated Gradient (CG), BFGS, and FIRE methods.
- Semi-empirical van der Waals energy correction using the Grimme DFT-D2/D3 scheme.
- NVT and NVE molecular dynamics simulation. AIMD, DP potential, LJ potential are supported.
- Stress calculations and cell relaxations.
- Electric polarization calculation using Berry Phase theory.
- Interface to the Wannier90 package.
- Real-time time dependent density functional theory (TDDFT).
- Print-out of the electrostatic potential.
- Mulliken charge analysis (only for LCAO).
- Projected density of states (PDOS) (only for LCAO).
- DFT+U calculation (only for LCAO).
- Solvation model method for solvation energy.
- Stochastic DFT (only for PW).
- DeePKS method (under development, only for LCAO).
- Electric field and dipole correction.
- Orbital-free DFT.
- (subsidiary tool)Plot_tools for plot PDOS and PBANDS.
- (subsidiary tool)Generator for second generation numerical orbital basis.
- Interface with DPGEN
- Interface with phonopy
ABACUS can be downloaded from our official website or GitHub release page for stable versions. You can also get the developing version from our GitHub repository.
Please refer to the installation guide for instruction on the structure of the package and how to install ABACUS.
The following files are the central input files for ABACUS. Before executing the program, please make sure these files are prepared and stored in the working directory.
-
INPUT
This is the main input file that contains the setting parameters used in the calculation. For a complete list of the input parameters, please consult this instruction.
Attention: Users cannot change the filename “INPUT” to other names.
-
STRU
This is the structure file that contains the structural information about the system, e.g., lattice constant, lattice vectors, and positions of the atoms within a unit cell. The positions can be given either in direct or Cartesian coordinates. Moreover, the name of the atom (and location of the pseudopotential and numerical orbital files, see below) needs to be specified in the STRU file. The name of the structure file can be changed to a different name by explicitly specifying the name in the INPUT file.
Specifications of the STRU file can be found in this short instruction.
-
KPT
This is the k-point file that contains the information of the k-grid setting for the Brillouin zone sampling. Specification of the k-point file can be found in this short instruction.
-
The pseudopotential files
Norm-conserving pseudopotentials are used in ABACUS, in the UPF file format.The filename of each element’s pseudopotential needs to be specified in the STRU file, together with the directory of the pseudopotential files unless they are already present in the working directory.
More information on pseudopotentials is given here.
-
The numerical orbital files
This part is only required in LCAO calculations. The filename for each element’s numerical orbital basis needs to be specified in the STRU file, together with the directory of the orbital files unless they are already present in the working directory. ABACUS provides numerical atomic basis sets of different accuracy levels for most elements commonly used. Users can download these basis sets from the website. Moreover, users can generate numerical atomic orbitals by themselves, and the procedure is provided in this short introduction.
After putting all required input files under one folder, enter this folder.
cd input_folder
Perform calculation by:
mpirun -np 4 abacus
You can replace 4
with your desired number of process, typically the result of the command nproc
.
When the calculation finishes, the program will create an output directory (default: OUT.ABACUS/), into which the following output files will be generated:
INPUT
: contains all input parameters, user’s input and default.istate.info
: information of energy eigenvalues.running_${calculation}.log
: contains the running details. Information on the variable calculation is found in the list of keywords. For example, if we are doing a SCF calculation, the log files will be named running_scf.log.STRU_READIN_ADJUST.cif
: structure file in the cif formatter.warning.log
: errors and warning messages.- directories containing element information. For example, Si/:
Si.NONLOCAL
: non-local pseudopotential projectors.Si-P.ORBITAL
: pseudo atomic orbitals, p orbitalSi-S.ORBITAL
: pseudo atomic orbitals, s orbitalv_loc_g.dat
: vlocal in G space
The following provides basic sample jobs in ABACUS. More can be found in the directories examples/
and tests/
, and the corresponding reference outputs can be found in the file result.ref
under each subdirectory.
Note that the examples there are intended as quick hands-on jobs, and the results are NOT converged with regard to basis set or k point sampling.
- Basic electronic structure calculation with PW basis set
- Basic electronic structure calculation with LCAO basis set
- DFT + dispersion calculations
- Density of states
- Band structure
- Magnetic properties
- Force calculation and structure relaxation
- Stress calculation and cell relaxation
- Molecular dynamics
- Macroscopic polarization calculation
- ABACUS-wannier90 interface
- Real-time time dependent density functional theory
- Electrostatic potential
- Mulliken charge
- Hybrid functional
- Electric field and dipole correction
- Stochastic DFT and mix stochastic-deterministic DFT
- Wave functions
- BSSE for molecular formation energy
- ABACUS-DPGEN interface
- ABACUS-phonopy interface
The following references are required to be cited when using ABACUS. Specifically:
-
For general purpose:
[1]. Mohan Chen, G. C. Guo, and Lixin He. "Systematically improvable optimized atomic basis sets for ab initio calculations." Journal of Physics: Condensed Matter 22.44 (2010): 445501.
[2]. Pengfei Li, et al. "Large-scale ab initio simulations based on systematically improvable atomic basis." Computational Materials Science 112 (2016): 503-517.
-
If Stochastic DFT is used:
[1]. Qianrui Liu, and Mohan Chen. "Plane-Wave-Based Stochastic-Deterministic Density Functional Theory for Extended Systems." https://arxiv.org/abs/2204.05662.
-
If DFT+U is used:
[1]. Xin Qu, et al. "DFT+ U within the framework of linear combination of numerical atomic orbitals." The Journal of Chemical Physics (2022).
-
If second generation numerical orbital basis is used:
[1]. Peize Lin, Xinguo Ren, and Lixin He. "Strategy for constructing compact numerical atomic orbital basis sets by incorporating the gradients of reference wavefunctions." Physical Review B 103.23 (2021): 235131.
-
If berry curvature calculation is used in LCAO base:
[1]. Gan Jin, Daye Zheng, and Lixin He. "Calculation of Berry curvature using non-orthogonal atomic orbitals." Journal of Physics: Condensed Matter 33.32 (2021): 325503.
-
If DeePKS is used:
[1]. Wenfei Li, Qi Ou, et al. "DeePKS+ABACUS as a Bridge between Expensive Quantum Mechanical Models and Machine Learning Potentials." https://arxiv.org/abs/2206.10093.
-
If hybrid functional is used:
[1]. Peize Lin, Xinguo Ren, and Lixin He. "Efficient Hybrid Density Functional Calculations for Large Periodic Systems Using Numerical Atomic Orbitals." Journal of Chemical Theory and Computation 2021, 17(1), 222–239.
[2]. Peize Lin, Xinguo Ren, and Lixin He. "Accuracy of Localized Resolution of the Identity in Periodic Hybrid Functional Calculations with Numerical Atomic Orbitals." Journal of Physical Chemistry Letters 2020, 11, 3082-3088.
The current development team consists the following research groups/affiliations:
- University of Science and Technology of China (Dr. Lixin He)
- Peking University (Dr. Mohan Chen)
- Institute of Physics, Chinese Academy of Sciences (Dr. Xinguo Ren)
- AI for Science Institute
If you find a bug or have some questions, please refer to our GitHub issue tracker, and our developers are willing to help. We also provide guidelines on how to make contributions to ABACUS.
- Structure of the package
- Submitting an Issue
- Comment Style for documentation
- Code formatting style
- Submitting a Pull Request
- Commit Message Guidelines back to top