Skip to content

Commit e0efe32

Browse files
committed
add example relax_output, delete useless out_dm parameter in 11_PW_GPU tests
1 parent b85ef9f commit e0efe32

File tree

12 files changed

+67
-9
lines changed

12 files changed

+67
-9
lines changed

examples/README

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
/*******************************************************************************/
2-
/
3-
/ These are the examples of ABACUS program.
4-
/
2+
/ Examples of ABACUS
53
/*******************************************************************************/
64

7-
These examples show how to use ABACUS to do some specify calculations and how to
5+
These examples show how to use ABACUS to run some specify calculations and how to
86
use the interfaces between ABACUS and some extenal softwares.
97

108
The examples interface_XXXX show the using of interface of ABACUS and XXXX

examples/band/lcao_Si2/run.sh

100644100755
File mode changed.

examples/band/pw_Al/run.sh

100644100755
File mode changed.

examples/density_matrix/lcao_nspin1_Si2/INPUT

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ scf_thr 1.0e-7 // about iteration
1313
scf_nmax 100
1414
#Parameters (File)
1515
gamma_only 1
16-
out_dm 1
16+
out_dmk 1
1717

1818

1919
### [1] Energy cutoff determines the quality of numerical quadratures in your calculations.

examples/dos/lcao_Si2/run.sh

100644100755
File mode changed.

examples/relax/relax_output/INPUT

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
INPUT_PARAMETERS
2+
#Parameters (General)
3+
suffix autotest
4+
5+
nbands 8
6+
calculation cell-relax
7+
ecutwfc 10
8+
scf_nmax 20
9+
10+
basis_type lcao
11+
relax_nmax 5
12+
13+
cal_stress 1
14+
stress_thr 1e-6
15+
cal_force 1
16+
force_thr_ev 1.0e-3
17+
18+
ks_solver scalapack_gvx
19+
mixing_type broyden
20+
mixing_beta 0.7
21+
22+
relax_new 0
23+
24+
pseudo_dir ../../../tests/PP_ORB
25+
orbital_dir ../../../tests/PP_ORB
26+
27+
nspin 4
28+
29+
out_chg 1
30+
out_pot 1
31+
out_dmk 1
32+
out_dmr 1
33+
#out_wfc_lcao 1 // OK
34+
out_dos 1
35+
out_band 1
36+
out_stru 1
37+
out_app_flag 0
38+
39+
out_interval 1

examples/relax/relax_output/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

examples/relax/relax_output/STRU

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
ATOMIC_SPECIES
2+
Si 1.000 Si_ONCV_PBE-1.0.upf #Element, Mass, Pseudopotential
3+
4+
NUMERICAL_ORBITAL
5+
Si_gga_8au_60Ry_2s2p1d.orb
6+
7+
LATTICE_CONSTANT
8+
10.21 #Lattice constant
9+
10+
LATTICE_VECTORS
11+
0.0 0.5 0.5 #Lattice vector 1
12+
0.5 0.0 0.5 #Lattice vector 2
13+
0.5 0.5 0.0 #Lattice vector 3
14+
15+
ATOMIC_POSITIONS
16+
Cartesian #Cartesian(Unit is LATTICE_CONSTANT)
17+
Si #Name of element
18+
0.0 #Magnetic for this element.
19+
2 #Number of atoms
20+
0.00 0.00 0.00 0 0 0 #x,y,z, move_x, move_y, move_z
21+
0.25 0.25 0.25 0 0 0

tests/11_PW_GPU/001_PW_BPCG_GPU/INPUT

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ basis_type pw
2222
ks_solver bpcg
2323
device gpu
2424
chg_extrap second-order
25-
out_dm 0
2625
pw_diag_thr 0.00001
2726

2827
cal_force 1

tests/11_PW_GPU/002_PW_CG_GPU/INPUT

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ basis_type pw
2121
ks_solver cg
2222
device gpu
2323
chg_extrap second-order
24-
out_dm 0
2524
pw_diag_thr 0.00001
2625

2726
cal_force 1

0 commit comments

Comments
 (0)