Skip to content

Commit fc58546

Browse files
committed
Merge branch 'mc' of github.com:YuleZhang936/abacus-develop into mc
2 parents 308d474 + 593867c commit fc58546

File tree

337 files changed

+7512
-6625
lines changed

Some content is hidden

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

337 files changed

+7512
-6625
lines changed

docs/advanced/input_files/input-main.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1389,7 +1389,7 @@ These variables are used to control the geometry relaxation.
13891389

13901390
- **Type**: Integer
13911391
- **Description**: The maximal number of ionic iteration steps, the minimum value is 1.
1392-
- **Default**: 1
1392+
- **Default**: 1 for SCF, 50 for relax and cell-relax calcualtions
13931393

13941394
### relax_cg_thr
13951395

examples/band/lcao_Si2/run.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ if [[ ! -f scf.output ]] ||
1919
[[ ! ( "$(tail -1 OUT.ABACUS/running_scf.log)" == " Total Time :"* ) ]] ||
2020
[[ ! ( "$(tail -1 OUT.ABACUS/running_nscf.log)" == " Total Time :"* ) ]]
2121
then
22-
echo "job is failed!"
22+
echo "job failed!"
2323
exit 1
2424
else
25-
echo "job is successed!"
25+
echo "job succeeded!"
2626
exit 0
2727
fi
2828

examples/band/pw_Al/run.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ if [[ ! -f scf.output ]] ||
1919
[[ ! ( "$(tail -1 OUT.ABACUS/running_scf.log)" == " Total Time :"* ) ]] ||
2020
[[ ! ( "$(tail -1 OUT.ABACUS/running_nscf.log)" == " Total Time :"* ) ]]
2121
then
22-
echo "job is failed!"
22+
echo "job failed!"
2323
exit 1
2424
else
25-
echo "job is successed!"
25+
echo "job succeeded!"
2626
exit 0
2727
fi

examples/berryphase/lcao_PbTiO3/run.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ if [[ ! -f scf.output ]] ||
2121
[[ ! ( "$(tail -1 OUT.ABACUS/running_scf.log)" == " Total Time :"* ) ]] ||
2222
[[ ! ( "$(tail -1 OUT.ABACUS/running_nscf.log)" == " Total Time :"* ) ]]
2323
then
24-
echo "job is failed!"
24+
echo "job failed!"
2525
exit 1
2626
else
27-
echo "job is successed!"
27+
echo "job succeeded!"
2828
exit 0
2929
fi

examples/berryphase/pw_PbTiO3/run.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ if [[ ! -f scf.output ]] ||
1919
[[ ! ( "$(tail -1 OUT.ABACUS/running_scf.log)" == " Total Time :"* ) ]] ||
2020
[[ ! ( "$(tail -1 OUT.ABACUS/running_nscf.log)" == " Total Time :"* ) ]]
2121
then
22-
echo "job is failed!"
22+
echo "job failed!"
2323
exit 1
2424
else
25-
echo "job is successed!"
25+
echo "job succeeded!"
2626
exit 0
2727
fi

examples/bravais_lattice/fcc_SiO2/run.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ if [[ ! -f output ]] ||
1010
[[ ! -f OUT.ABACUS/running_scf.log ]] ||
1111
[[ ! ( "$(tail -1 OUT.ABACUS/running_scf.log)" == " Total Time :"* ) ]]
1212
then
13-
echo "job is failed!"
13+
echo "job failed!"
1414
exit 1
1515
else
16-
echo "job is successed!"
16+
echo "job succeeded!"
1717
exit 0
1818
fi

examples/bravais_lattice/hexagonal_MoS2/run.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ if [[ ! -f output ]] ||
1010
[[ ! -f OUT.ABACUS/running_scf.log ]] ||
1111
[[ ! ( "$(tail -1 OUT.ABACUS/running_scf.log)" == " Total Time :"* ) ]]
1212
then
13-
echo "job is failed!"
13+
echo "job failed!"
1414
exit 1
1515
else
16-
echo "job is successed!"
16+
echo "job succeeded!"
1717
exit 0
1818
fi

examples/bravais_lattice/so_SnTe/run.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ if [[ ! -f output ]] ||
1010
[[ ! -f OUT.ABACUS/running_scf.log ]] ||
1111
[[ ! ( "$(tail -1 OUT.ABACUS/running_scf.log)" == " Total Time :"* ) ]]
1212
then
13-
echo "job is failed!"
13+
echo "job failed!"
1414
exit 1
1515
else
16-
echo "job is successed!"
16+
echo "job succeeded!"
1717
exit 0
1818
fi

examples/bsse/water/INPUT

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,21 @@
1+
#this is the input of using counterpoise to correct the BSSE error
2+
#
13
INPUT_PARAMETERS
24
#Parameters (General)
35
pseudo_dir ../../../tests/PP_ORB
46
orbital_dir ../../../tests/PP_ORB
57
#Parameters (Accuracy)
6-
ecutwfc 60 ### Please refer to orbital files[1] to set ecutwfc for LCAO basis.
8+
ecutwfc 60 ###Energy cutoff needs to be tested to ensure your calculation is reliable.[1]
79
scf_nmax 100
810
scf_thr 1e-6
911
basis_type lcao
1012

11-
gamma_only 1 ### Abacus will generate KPT file when gamma_only=1.
13+
gamma_only 1 ### Abacus will generate/overwrite a KPT file when gamma_only is set to 1.
1214

1315
smearing_method gauss
14-
smearing_sigma 0.02
16+
smearing_sigma 0.015
1517

1618

17-
### [1]The energy cutoff of a LCAO basis can be found in lines starting with "Energy Cutoff" of a .orb file.
19+
### [1] Energy cutoff determines the quality of numerical quadratures in your calculations.
20+
### So it is strongly recommended to test whether your result (such as converged SCF energies) is
21+
### converged with respect to the energy cutoff.

examples/bsse/water/KPT

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ K_POINTS
22
0
33
Gamma
44
1 1 1 0 0 0
5+
###This file will be overwritten by Abacus because either kspacing is used or gamma_only is set to 1

0 commit comments

Comments
 (0)