Skip to content

Commit 81149fb

Browse files
committed
update suggestions
1 parent 5ae3b10 commit 81149fb

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

docs/advanced/input_files/input-main.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1234,7 +1234,7 @@ Note: In new angle mixing, you should set `mixing_beta_mag >> mixing_beta`. The
12341234
- **Type**: Real
12351235
- **Description**: It's the density threshold for electronic iteration. It represents the charge density error between two sequential densities from electronic iterations. Usually for local orbitals, usually 1e-6 may be accurate enough.
12361236
- **Default**: 1.0e-9 (plane-wave basis), or 1.0e-7 (localized atomic orbital basis).
1237-
- **Unit**: Ry (`scf_thr_type=1`), or not exist (`scf_thr_type=2`)
1237+
- **Unit**: Ry if (`scf_thr_type=1`), **dimensionless** (`scf_thr_type=2`)
12381238

12391239
### scf_ene_thr
12401240

docs/advanced/interface/ase.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,10 @@ The command to run jobs can be set by specifying `AbacusProfile`::
7474

7575
```python
7676
from ase.calculators.abacus import AbacusProfile
77-
# for OpenMP setting
77+
# for OpenMP setting inside python env
7878
import os
79-
os.environ("OMP_NUM_THREADS") = 16
80-
# for MPI setting
79+
os.environ("OMP_NUM_THREADS") = 1
80+
# for MPI setting used in abacus
8181
mpi_num = 4
8282
# for ABACUS Profile
8383
abacus = '/usr/local/bin/abacus' # specify abacus exec

docs/quick_start/input.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ suffix MgO # the output files will be in OUT.{suffix} director
1414
pseudo_dir ./ # where the pseudopotential for each element is
1515
orbital_dir ./ # where the orbital file for each element is
1616
ecutwfc 100 # in Rydberg
17-
scf_thr 1e-6 # no unit for LCAO, Rydberg for PW
17+
scf_thr 1e-6 # dimensionless for LCAO, Rydberg for PW
1818
basis_type lcao # lcao or pw
1919
calculation scf # this is the key parameter telling abacus to do a scf calculation
2020
out_chg 0 # only output binary charge file for restart
@@ -39,7 +39,7 @@ In the above example, the meanings of the parameters are:
3939
- `pseudo_dir` : the directory where pseudopotential files are provided.
4040
- `orbital_dir` : the directory where orbital files are provided.
4141
- `ecutwfc` : the plane-wave energy cutoff for the wave function expansion (UNIT: Rydberg).
42-
- `scf_thr` : the threshold for the convergence of charge density (UNIT: Rydberg for PW, 1 for LCAO), we recommend `1e-7` for LCAO and `1e-9` for PW basis.
42+
- `scf_thr` : the threshold for the convergence of charge density (UNIT: Rydberg for PW, dimensionless for LCAO), we recommend `1e-7` for LCAO and `1e-9` for PW basis.
4343
- `basis_type` : the type of basis set for expanding the electronic wave functions, one can set lcao or pw.
4444
- `calculation` : the type of calculation to be performed by ABACUS
4545
- `out_chg` : setting for output the charge density in real space grid, -1 for no output, 0 for binary output, 1 for binary and cube output.

0 commit comments

Comments
 (0)