Skip to content

Commit 4835dd0

Browse files
fixing the sigma value in example input files and adding comments to the ecutwfc keyword (#5451)
* fixing sigma value in input files and adding comments to ecutwfc keyword * fixing comments in examples using LCAO basis * fixing comments in examples using LCAO basis
1 parent c03c879 commit 4835dd0

File tree

95 files changed

+541
-202
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

95 files changed

+541
-202
lines changed

examples/bravais_lattice/fcc_SiO2/INPUT

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,13 @@ INPUT_PARAMETERS
33
pseudo_dir ../../../tests/PP_ORB
44
calculation scf
55
#Parameters (Accuracy)
6-
ecutwfc 50
6+
ecutwfc 60 ###Energy cutoff needs to be tested to ensure your calculation is reliable.[1]
77
scf_thr 1e-8
88
scf_nmax 20
99
basis_type pw
1010
latname fcc
11+
12+
13+
### [1] Energy cutoff determines the quality of numerical quadratures in your calculations.
14+
### So it is strongly recommended to test whether your result (such as converged SCF energies) is
15+
### converged with respect to the energy cutoff.

examples/bravais_lattice/hexagonal_MoS2/INPUT

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,14 @@ INPUT_PARAMETERS
33
pseudo_dir ../../../tests/PP_ORB
44
calculation scf
55
#Parameters (Accuracy)
6-
ecutwfc 50
6+
ecutwfc 60 ###Energy cutoff needs to be tested to ensure your calculation is reliable.[1]
77
scf_thr 1e-8
88
scf_nmax 20
99
smearing_sigma 0.002
1010
basis_type pw
1111
latname hexagonal
12+
13+
14+
### [1] Energy cutoff determines the quality of numerical quadratures in your calculations.
15+
### So it is strongly recommended to test whether your result (such as converged SCF energies) is
16+
### converged with respect to the energy cutoff.
Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
11
INPUT_PARAMETERS
22
pseudo_dir ../../../tests/PP_ORB
33
calculation scf
4-
ecutwfc 50
4+
ecutwfc 60 ###Energy cutoff needs to be tested to ensure your calculation is reliable.[1]
55
scf_thr 1e-08
66
scf_nmax 100
77
basis_type pw
88
latname so
9+
10+
11+
### [1] Energy cutoff determines the quality of numerical quadratures in your calculations.
12+
### So it is strongly recommended to test whether your result (such as converged SCF energies) is
13+
### converged with respect to the energy cutoff.

examples/bsse/water/INPUT

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,15 @@ INPUT_PARAMETERS
33
pseudo_dir ../../../tests/PP_ORB
44
orbital_dir ../../../tests/PP_ORB
55
#Parameters (Accuracy)
6-
ecutwfc 50
6+
ecutwfc 60 ### Please refer to orbital files[1] to set ecutwfc for LCAO basis.
77
scf_nmax 100
88
scf_thr 1e-6
99
basis_type lcao
1010

11-
gamma_only 1
11+
gamma_only 1 ### Abacus will generate KPT file when gamma_only=1.
1212

1313
smearing_method gauss
1414
smearing_sigma 0.02
15+
16+
17+
### [1]The energy cutoff of a LCAO basis can be found in lines starting with "Energy Cutoff" of a .orb file.

examples/charge_density/lcao_nspin1_Si2/INPUT

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,11 @@ nbands 8
88
basis_type lcao
99
symmetry 0
1010
#Parameters (Accuracy)
11-
ecutwfc 50
11+
ecutwfc 60 ### Please refer to orbital files[1] to set ecutwfc for LCAO basis.
1212
scf_thr 1.0e-7 // about iteration
1313
scf_nmax 100
1414
#Parameters (File)
1515
out_chg 1
16+
17+
18+
### [1]The energy cutoff of a LCAO basis can be found in lines starting with "Energy Cutoff" of a .orb file.

examples/charge_density/pw_nspin1_Al/INPUT

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,15 @@ calculation scf
55
symmetry 0
66
#Parameters (Methos)
77
basis_type pw
8-
ecutwfc 50
8+
ecutwfc 60 ###Energy cutoff needs to be tested to ensure your calculation is reliable.[1]
99
scf_thr 1.0e-8 // about iteration
1010
scf_nmax 100
1111
smearing_method gauss
12-
smearing_sigma 0.01
12+
smearing_sigma 0.015
1313
#Parameters (File)
1414
out_chg 1
15+
16+
17+
### [1] Energy cutoff determines the quality of numerical quadratures in your calculations.
18+
### So it is strongly recommended to test whether your result (such as converged SCF energies) is
19+
### converged with respect to the energy cutoff.

examples/charge_density/pw_nspin2_Fe/INPUT

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ symmetry 1
44

55
calculation scf
66
nspin 2
7-
ecutwfc 50
7+
ecutwfc 60 ###Energy cutoff needs to be tested to ensure your calculation is reliable.[1]
88
scf_thr 1.0e-8
99
scf_nmax 50
1010
out_chg 1
@@ -18,3 +18,8 @@ smearing_sigma 0.07
1818
mixing_type broyden
1919
mixing_beta 0.5
2020

21+
22+
23+
### [1] Energy cutoff determines the quality of numerical quadratures in your calculations.
24+
### So it is strongly recommended to test whether your result (such as converged SCF energies) is
25+
### converged with respect to the energy cutoff.

examples/compensating_charge/Pt-slab/INPUT

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ dft_functional pbe
44
symmetry 0
55
cal_force 1
66
calculation scf
7-
ecutwfc 60
7+
ecutwfc 60 ###Energy cutoff needs to be tested to ensure your calculation is reliable.[1]
88
scf_nmax 200
99
scf_thr 1.0e-7
1010
basis_type pw
11-
gamma_only 1
11+
gamma_only 1 ### Abacus will generate KPT file when gamma_only=1.
1212
smearing_method gauss
1313
smearing_sigma 0.02
1414
mixing_type broyden
@@ -22,3 +22,8 @@ block_up 0.75
2222
block_height 0.01
2323
block 1
2424
nelec 217
25+
26+
27+
### [1] Energy cutoff determines the quality of numerical quadratures in your calculations.
28+
### So it is strongly recommended to test whether your result (such as converged SCF energies) is
29+
### converged with respect to the energy cutoff.

examples/deepks/lcao_CsPbI3/INPUT

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,17 @@ calculation scf
77
symmetry 0
88

99
#Parameters (2.Iteration)
10-
ecutwfc 100
10+
ecutwfc 100 ### Please refer to orbital files[1] to set ecutwfc for LCAO basis.
1111
scf_thr 1e-7
1212
scf_nmax 50
1313

1414
#Parameters (3.Basis)
1515
basis_type lcao
16-
kspacing 0.1
16+
kspacing 0.1 ### Abacus will generate KPT file when kspacing is used.
1717

1818
#Parameters (4.Smearing)
1919
smearing_method gaussian
20-
smearing_sigma 0.0015
20+
smearing_sigma 0.015
2121

2222
#Parameters (5.Mixing)
2323
mixing_type broyden
@@ -30,3 +30,6 @@ deepks_model model.ptg
3030
#Parameters (7.SOC)
3131
lspinorb 1
3232

33+
34+
35+
### [1]The energy cutoff of a LCAO basis can be found in lines starting with "Energy Cutoff" of a .orb file.

examples/deepks/lcao_H2O/INPUT

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ nbands 16
88
symmetry 0
99

1010
#Parameters (2.Iteration)
11-
ecutwfc 50
11+
ecutwfc 60 ### Please refer to orbital files[1] to set ecutwfc for LCAO basis.
1212
scf_thr 1e-8
1313
scf_nmax 5
1414

@@ -31,3 +31,6 @@ deepks_out_labels 1
3131
deepks_scf 1
3232
deepks_model model.ptg
3333
deepks_bandgap 1
34+
35+
36+
### [1]The energy cutoff of a LCAO basis can be found in lines starting with "Energy Cutoff" of a .orb file.

0 commit comments

Comments
 (0)