Skip to content

Commit 07dff71

Browse files
authored
Merge pull request #899 from pxlxingliang/develop
test(integrate): add the test of kpar
2 parents 0d2bbd1 + af28b8d commit 07dff71

File tree

6 files changed

+50
-0
lines changed

6 files changed

+50
-0
lines changed

tests/integrate/190_PW_KPAR/INPUT

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
INPUT_PARAMETERS
2+
#Parameters (1.General)
3+
suffix autotest
4+
calculation scf
5+
ntype 1
6+
nbands 6
7+
symmetry 1
8+
pseudo_dir ../tools/PP_ORB/
9+
10+
#Parameters (2.Iteration)
11+
ecutwfc 20
12+
scf_thr 1e-8
13+
scf_nmax 100
14+
15+
#Parameters (3.Basis)
16+
basis_type pw
17+
18+
#Parameters (4.Smearing)
19+
smearing_method gauss
20+
smearing_sigma 0.002
21+
22+
kpar 2

tests/integrate/190_PW_KPAR/KPT

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
K_POINTS
2+
0
3+
Gamma
4+
2 2 2 0 0 0

tests/integrate/190_PW_KPAR/STRU

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
ATOMIC_SPECIES
2+
Si 14 Si.pz-vbc.UPF
3+
4+
LATTICE_CONSTANT
5+
10.2 // add lattice constant
6+
7+
LATTICE_VECTORS
8+
0.5 0.5 0.0
9+
0.5 0.0 0.5
10+
0.0 0.5 0.5
11+
12+
ATOMIC_POSITIONS
13+
Direct
14+
15+
Si // Element type
16+
0.0 // magnetism
17+
2
18+
0.00 0.00 0.00 1 1 1
19+
0.25 0.25 0.25 1 1 1

tests/integrate/190_PW_KPAR/jd

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
test parallel method kpar. Must be run by MPI with at least 2 cores, otherwise please ignore this test.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
etotref -212.9934339711016662
2+
etotperatomref -106.4967169856
3+
totaltimeref 0.28742

tests/integrate/CASES

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@
5959
150_PW_15_CR_VDW3
6060
170_PW_MD_1O
6161
170_PW_MD_2O
62+
190_PW_KPAR
6263

6364
201_NO_15_f_pseudopots
6465
201_NO_15_pseudopots

0 commit comments

Comments
 (0)