Skip to content

Commit 5f75213

Browse files
authored
Merge branch 'develop' into tests/out-wfc
2 parents 8aee777 + 586a02b commit 5f75213

File tree

7 files changed

+25
-21
lines changed

7 files changed

+25
-21
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
# About ABACUS
1414

15-
ABACUS (Atomic-orbital Based Ab-initio Computation at UStc) is an open-source package based on density functional theory (DFT). The package utilizes both plane wave and numerical atomic basis sets with the usage of norm-conserving pseudopotentials to describe the interactions between nuclear ions and valence electrons. ABACUS supports LDA, GGA, meta-GGA, and hybrid functionals. Apart from single-point calculations, the package allows geometry optimizations and ab-initio molecular dynamics with various ensembles. The package also provides a variety of advanced functionalities for simulating materials, including the DFT+U, VdW corrections, and implicit solvation model, etc. In addition, ABACUS strives to provide a general infrastructure to facilitate the developments and applications of novel machine-learning-assisted DFT methods (DeePKS, DP-GEN, DeepH, DeePTB etc.) in molecular and material simulations.
15+
ABACUS (**A**tomic-orbital **B**ased **A**b-initio **C**omputation at **US**tc) is an open-source package based on density functional theory (DFT). The package utilizes both plane wave and numerical atomic basis sets with the usage of pseudopotentials to describe the interactions between nuclear ions and valence electrons. ABACUS supports LDA, GGA, meta-GGA, and hybrid functionals. Apart from single-point calculations, the package allows geometry optimizations and ab-initio molecular dynamics with various ensembles. The package also provides a variety of advanced functionalities for simulating materials, including the DFT+U, VdW corrections, and implicit solvation model, etc. In addition, ABACUS strives to provide a general infrastructure to facilitate the developments and applications of novel machine-learning-assisted DFT methods (DeePKS, DP-GEN, DeepH, DeePTB etc.) in molecular and material simulations.
1616

1717
# Online Documentation
1818
For detailed documentation, please refer to [our documentation website](https://abacus.deepmodeling.com/).

docs/CITATIONS.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,18 @@ The following references are required to be cited when using ABACUS. Specificall
44

55
- **For general purpose:**
66

7+
*For LCAO basis:*
8+
79
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.
810

911
Pengfei Li, et al. "Large-scale ab initio simulations based on systematically improvable atomic basis." Computational Materials Science 112 (2016): 503-517.
1012

13+
Peize Lin, Xinguo Ren, Xiaohui Liu, Lixin He. Ab initio electronic structure calculations based on numerical atomic orbitals: Basic fomalisms and recent progresses. Wiley Interdisciplinary Reviews: Computational Molecular Science, 2024, 14(1): e1687.
14+
15+
*For LCAO and PW basis:*
16+
17+
Weiqing Zhou, Deye Zheng, Qianrui Liu, et al. ABACUS: An Electronic Structure Analysis Package for the AI Era. arXiv preprint arXiv:2501.08697, 2025.
18+
1119
- **If Stochastic DFT is used:**
1220

1321
Qianrui Liu, and Mohan Chen. "Plane-Wave-Based Stochastic-Deterministic Density Functional Theory for Extended Systems." <https://arxiv.org/abs/2204.05662>.

docs/DevelopingTeam.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ The current development team consists the following research groups/affiliations
44
- University of Science and Technology of China (Dr. Lixin He)
55
- Peking University (Dr. Mohan Chen)
66
- Institute of Physics, Chinese Academy of Sciences (Dr. Xinguo Ren)
7-
- Beijing AI for Science Institute
8-
- Institute of Artificial Intelligence, Hefei Comprehensive National Science Center.
7+
- Beijing AI for Science Institute (Dr. Daye Zheng)
8+
- Institute of Artificial Intelligence, Hefei Comprehensive National Science Center (Dr. Lixin He).

docs/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77
ABACUS Documentation
88
=================================================
99

10-
ABACUS (Atomic-orbital Based Ab-initio Computation at UStc) is
10+
ABACUS (**A**tomic-orbital **B**ased **A**b-initio **C**omputation at **US**tc) is
1111
an open-source computer code package based on density functional
1212
theory (DFT). The package utilizes both plane wave and numerical
13-
atomic basis sets with the usage of norm-conserving pseudopotentials
13+
atomic basis sets with the usage of pseudopotentials
1414
to describe the interactions between nuclear ions and valence electrons.
1515
ABACUS supports LDA, GGA, meta-GGA, and hybrid functionals. Apart from
1616
single-point calculations, the package allows geometry optimizations

docs/quick_start/easy_install.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Easy Installation
22

3-
This guide helps you install ABACUS with basic features. **For DeePKS, DeePMD and Libxc support, or building with `make`, please refer to [the advanced installation guide](../advanced/install.md)** after going through this page. We recommend building ABACUS with `cmake` to avoid dependency issues. We recommend compiling ABACUS(and possibly its requirements) from the source code using the latest compiler for the best performace. You can try [toolchain](#install-requirements-by-toolchain) to install ABACUS and dependencies in a source-code compilation way with convience. You can also deploy ABACUS **without building** by [Docker](#container-deployment) or [conda](#install-by-conda). Please note that ABACUS only supports Linux; for Windows users, please consider using [WSL](https://learn.microsoft.com/en-us/windows/wsl/) or docker.
3+
This guide helps you install ABACUS with basic features. **For DeePKS, DeePMD and Libxc support, or building with `make`, please refer to [the advanced installation guide](../advanced/install.md)** after going through this page. We recommend building ABACUS with `cmake` to avoid dependency issues. We recommend compiling ABACUS (and possibly its requirements) from the source code using the latest compiler for the best performace. You can try [toolchain](#install-requirements-by-toolchain) to install ABACUS and dependencies in a source-code compilation way with convience. You can also deploy ABACUS **without building** by [Docker](#container-deployment) or [conda](#install-by-conda). Please note that ABACUS only supports Linux; for Windows users, please consider using [WSL](https://learn.microsoft.com/en-us/windows/wsl/) or docker.
44

55
## Get ABACUS source code
66

@@ -79,7 +79,7 @@ git remote -v
7979

8080
# Replace "origin" with "upstream" or the remote name corresponding to deepmodeling/abacus-develop if necessary
8181
git fetch origin
82-
git checkout v3.8.4 # Replace the tag with the latest version
82+
git checkout v3.x.x # Replace the tag with the latest version, like v3.10.0
8383
git describe --tags # Verify if the tag has been successfully checked out
8484
```
8585

docs/quick_start/hands_on.md

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
### A quick LCAO example
66

7-
ABACUS is well known for its support of LCAO (Linear Combination of Atomic Orbital) basis set in calculating periodic condensed matter systems, so it's a good choice to start from a LCAO example of self-consistent field (SCF) calculation. Here, FCC MgO has been chosen as a quick start example. The default name of a structure file in ABACUS is `STRU`. The `STRU` file for FCC MgO in a LCAO calculation is shown below:
7+
ABACUS is well known for its support of LCAO (Linear Combination of Atomic Orbital) basis set in calculating periodic condensed matter systems. It's a good choice to start from a LCAO example of self-consistent field (SCF) calculation. Here, FCC MgO has been chosen as a quick start example. The default name of a structure file in ABACUS is `STRU`. The `STRU` file for FCC MgO in a LCAO calculation is shown below:
88

99
```
1010
#This is the atom file containing all the information
@@ -48,11 +48,10 @@ Next, the `INPUT` file is required, which sets all key parameters to direct ABAC
4848
```
4949
INPUT_PARAMETERS
5050
suffix MgO
51-
ntype 2
5251
pseudo_dir ./
5352
orbital_dir ./
5453
ecutwfc 100 # Rydberg
55-
scf_thr 1e-4 # Rydberg
54+
scf_thr 1e-6 # SCF criterion
5655
basis_type lcao
5756
calculation scf # this is the key parameter telling abacus to do a scf calculation
5857
```
@@ -71,7 +70,7 @@ Gamma
7170
After all the above input files have been set, one should be able to run the first quick example. The simplest way is to use the command line, e.g.:
7271

7372
```
74-
mpirun -np 2 abacus
73+
OMP_NUM_THREADS=1 mpirun -np 2 abacus
7574
```
7675

7776
The main output information is stored in the file `OUT.MgO/running_scf.log`, which starts with
@@ -138,10 +137,9 @@ The `INPUT` file follows as:
138137
```
139138
INPUT_PARAMETERS
140139
suffix MgO
141-
ntype 2
142140
pseudo_dir ./
143141
ecutwfc 100 # Rydberg
144-
scf_thr 1e-4 # Rydberg
142+
scf_thr 1e-6 # SCF criterion
145143
basis_type pw # changes the type of basis set
146144
calculation scf # this is the key parameter telling abacus to do a scf calculation
147145
```
@@ -201,12 +199,11 @@ The `INPUT` is provided as follows:
201199
```
202200
INPUT_PARAMETERS
203201
suffix MgO
204-
ntype 2
205202
nelec 0.0
206203
pseudo_dir ./
207204
orbital_dir ./
208205
ecutwfc 100 # Rydberg
209-
scf_thr 1e-4 # Rydberg
206+
scf_thr 1e-6 # SCF criterion
210207
basis_type lcao
211208
calculation cell-relax # this is the key parameter telling abacus to do a optimization calculation
212209
force_thr_ev 0.01 # the threshold of the force convergence, in unit of eV/Angstrom
@@ -223,11 +220,10 @@ The `INPUT` is provided as follows:
223220
```
224221
INPUT_PARAMETERS
225222
suffix MgO
226-
ntype 2
227223
nelec 0.0
228224
pseudo_dir ./
229225
ecutwfc 100 # Rydberg
230-
scf_thr 1e-4 # Rydberg
226+
scf_thr 1e-6 # SCF criterion
231227
basis_type pw
232228
calculation cell-relax # this is the key parameter telling abacus to do a optimization calculation
233229
force_thr_ev 0.01 # the threshold of the force convergence, in unit of eV/Angstrom
@@ -236,4 +232,4 @@ relax_nmax 100 # the maximal number of ionic iteration steps
236232
out_stru 1
237233
```
238234

239-
Use the same `KPT`, `STRU`, and pseudopotential files as in the above SCF-PW examples. The final optimized structure can be found in `STRU_NOW.cif` and `OUT.MgO/running_cell-relax.log`.
235+
Use the same `KPT`, `STRU`, and pseudopotential files as in the above SCF-PW examples. The final optimized structure can be found in `STRU_NOW.cif` and `STRU_ION_D` with different format.

docs/quick_start/output.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ The following files are the central output files for ABACUS. After executing the
66

77
Different from `INPUT` given by the users, `OUT.suffix/INPUT` contains all parameters in ABACUS.
88

9-
> **Note:** `OUT.suffix/INPUT` contain the initial default of ABACUS instead of the real parameters used in calculations. If you want to figure out the real parameters used in calculations, you can open `OUT.suffix/runing_scf.log` and research corresponding parameter you are interested.
9+
> **Note:** `OUT.suffix/INPUT` contain the initial default of ABACUS instead of the real parameters used in calculations. This file is stored for reproduction in case the default value is changed during development. If you want to figure out the real parameters used in calculations, you can open `OUT.suffix/runing_scf.log` and research corresponding parameter you are interested.
1010
1111
For a complete list of input parameters, please consult this [instruction](../advanced/input_files/input-main.md).
1212

@@ -33,9 +33,9 @@ BAND Energy(ev) Occupation Kpoint = 1
3333
5 9.41058 0
3434
```
3535

36-
## *STRU_SIMPLE.cif*
36+
## *STRU.cif*
3737

38-
ABACUS generates a `.cif` format structure file based on the input file `STRU`, facilitating users to visualize with commonly used software. `STRU_READIN_ADJUST.cif` is the structure after considering symmetry.
38+
ABACUS generates a `.cif` format structure file based on the input file `STRU`, facilitating users to visualize with commonly used software.
3939

4040
## *warning.log*
4141

0 commit comments

Comments
 (0)