Skip to content

Commit 7dfc72c

Browse files
committed
Adjust integrate tests in DeePKS for acceleration.
1 parent 7cd5d0d commit 7dfc72c

File tree

52 files changed

+381
-384
lines changed

Some content is hidden

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

52 files changed

+381
-384
lines changed

tests/deepks/102_NO_GO_deepks_md/INPUT

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ cal_force 1
3535
cal_stress 1
3636

3737
md_type nvt
38-
md_nstep 3
38+
md_nstep 1
3939
md_dt 1
4040
md_tfirst 300
4141
md_tfreq 0.025

tests/deepks/102_NO_GO_deepks_md/STRU

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,19 @@ LATTICE_CONSTANT
1313
1
1414

1515
LATTICE_VECTORS
16-
28 0 0
17-
0 28 0
18-
0 0 28
16+
15 0 0
17+
0 15 0
18+
0 0 15
1919

2020
ATOMIC_POSITIONS
2121
Cartesian
2222

2323
H
2424
0
2525
2
26-
-12.081531451316582 16.463368531712373 10.304287878967891 1 1 1
27-
-12.056180479123837 19.25408045699522 10.010554611214044 1 1 1
26+
-12.081531451316582 1.463368531712373 10.304287878967891 1 1 1
27+
-12.056180479123837 4.25408045699522 10.010554611214044 1 1 1
2828
O
2929
0
3030
1
31-
-13.1930046246741 17.91132430713516 10.440289103003526 1 1 1
31+
-13.1930046246741 2.91132430713516 10.440289103003526 1 1 1
Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
etotref -465.9986230250963
2-
etotperatomref -155.3328743417
3-
totalforceref 5.535378
4-
totalstressref 1.522437
5-
deepks_desc 2.163700
6-
deepks_dm_eig 10.419815258896964
7-
totaltimeref 11.34
1+
etotref -466.0338009902764
2+
etotperatomref -155.3446003301
3+
totalforceref 4.021344
4+
totalstressref 8.707385
5+
deepks_desc 2.249792
6+
deepks_dm_eig 10.666280804462705
7+
totaltimeref 1.72

tests/deepks/102_NO_GO_deepks_scf/INPUT

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,4 @@ cal_force 1
3030
cal_stress 1
3131
deepks_scf 1
3232
deepks_out_labels 0
33-
deepks_model model.ptg
33+
deepks_model ../Model_ProjOrb/model_lda_pbe_18.ptg

tests/deepks/102_NO_GO_deepks_scf/STRU

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ C_gga_8au_100Ry_2s2p1d.orb
77
H_gga_8au_100Ry_2s1p.orb
88

99
NUMERICAL_DESCRIPTOR
10-
../Model_ProjOrb/6au_50Ry_jle.orb
10+
../Model_ProjOrb/2au_20Ry_jle.orb
1111

1212
LATTICE_CONSTANT
1313
20 #Lattice constant
Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
etotref -69.48662943248219
2-
etotperatomref -13.8973258865
3-
totalforceref 1495.193380
4-
totalstressref 585.695791
5-
deepks_desc 6.875821
6-
deepks_dm_eig 37.56074749719721
7-
totaltimeref 2.05
1+
etotref -71.3192019559872108
2+
etotperatomref -14.2638403912
3+
totalforceref 1496.479088
4+
totalstressref 586.394190
5+
deepks_desc 7.992236
6+
deepks_dm_eig 29.373798024907867
7+
totaltimeref 1.42

tests/deepks/102_NO_KP_deepks_md/INPUT

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ INPUT_PARAMETERS
22
#Parameters (1.General)
33
suffix autotest
44
calculation md
5-
dft_functional pbe
5+
dft_functional lda
66

77
nbands 12
88
symmetry 0
@@ -11,7 +11,7 @@ orbital_dir ../../PP_ORB
1111

1212
#Parameters (2.Iteration)
1313
ecutwfc 50
14-
scf_thr 5e-7
14+
scf_thr 1e-6
1515
scf_nmax 50
1616

1717
#Parameters (3.Basis)
@@ -24,18 +24,18 @@ smearing_sigma 0.02
2424

2525
#Parameters (5.Mixing)
2626
mixing_type broyden
27-
mixing_beta 0.4
27+
mixing_beta 0.8
2828
mixing_gg0 0.0
2929

3030
#Parameters (6.File)
3131
deepks_out_labels 0
3232
deepks_scf 1
3333
cal_force 1
3434
cal_stress 1
35-
deepks_model model.ptg
35+
deepks_model ../Model_ProjOrb/model_lda_pbe_18.ptg
3636

3737
md_type nvt
38-
md_nstep 3
38+
md_nstep 1
3939
md_dt 1
4040
md_tfirst 300
4141
md_tfreq 0.025
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
K_POINTS
22
0
33
Gamma
4-
4 4 4 0 0 0
4+
2 1 1 0 0 0.5

tests/deepks/102_NO_KP_deepks_md/STRU

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@ O_gga_6au_60Ry_2s2p1d.orb
99
C_gga_8au_100Ry_2s2p1d.orb
1010

1111
NUMERICAL_DESCRIPTOR
12-
../Model_ProjOrb/6au_50Ry_jle.orb
12+
../Model_ProjOrb/2au_20Ry_jle.orb
1313

1414
LATTICE_CONSTANT
15-
1.8897259886
15+
1
1616

1717
LATTICE_VECTORS
18-
14.81696297 0 0
19-
0 14.81696297 0
20-
0 0 14.81696297
18+
14 0 0
19+
0 14 0
20+
0 0 14
2121

2222
ATOMIC_POSITIONS
2323
Cartesian
Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
etotref -839.2773861833543
2-
etotperatomref -93.2530429093
3-
totalforceref 23.723829
4-
totaltimeref 7.0021
1+
etotref -791.9912098160252
2+
etotperatomref -87.9990233129
3+
totalforceref 597.970975
4+
totalstressref 1145.703637
5+
deepks_desc 3.915230
6+
deepks_dm_eig 32.63180391167315
7+
totaltimeref 2.71

0 commit comments

Comments
 (0)