Skip to content

Commit fd20c86

Browse files
dyzhengdyzheng
andauthored
Test: Delete ntype (#1770)
* Test: delete ntype settings in examples * Test: delete ntype in INPUT if all test cases * Test: delete ntype in INPUT of new test cases * Fix: delete ntype settings in new test cases Co-authored-by: dyzheng <[email protected]>
1 parent 2944539 commit fd20c86

File tree

366 files changed

+308
-377
lines changed

Some content is hidden

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

366 files changed

+308
-377
lines changed

examples/bravais_lattice/fcc_SiO2/INPUT

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
INPUT_PARAMETERS
22
#Parameters (General)
3-
pseudo_dir ../../../tests/PP_ORB
4-
ntype 1
3+
pseudo_dir ../../../tests/PP_ORB
54
calculation scf
65
#Parameters (Accuracy)
76
ecutwfc 50

examples/bravais_lattice/hexagonal_MoS2/INPUT

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
INPUT_PARAMETERS
22
#Parameters (General)
3-
pseudo_dir ../../../tests/PP_ORB
4-
ntype 2
3+
pseudo_dir ../../../tests/PP_ORB
54
calculation scf
65
#Parameters (Accuracy)
76
ecutwfc 50

examples/bravais_lattice/so_SnTe/INPUT

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
INPUT_PARAMETERS
22
pseudo_dir ../../../tests/PP_ORB
3-
ntype 2
43
calculation scf
54
ecutwfc 50
65
scf_thr 1e-08

examples/bsse/water/INPUT

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ INPUT_PARAMETERS
22
#Parameters (General)
33
pseudo_dir ../../../tests/PP_ORB
44
orbital_dir ../../../tests/PP_ORB
5-
ntype 3
65
#Parameters (Accuracy)
76
ecutwfc 50
87
scf_nmax 100

examples/bsse/water/run.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,15 @@ ABACUS_NPROCS=$(awk -F "=" '$1=="ABACUS_NPROCS"{print $2}' ../../SETENV)
55
ABACUS_THREADS=$(awk -F "=" '$1=="ABACUS_THREADS"{print $2}' ../../SETENV)
66

77
cp STRU_0 STRU
8-
sed -i "/ntype/ c\ntype 2" INPUT
98
OMP_NUM_THREADS=${ABACUS_THREADS} mpirun -np ${ABACUS_NPROCS} ${ABACUS_PATH} | tee H2O_scf.output
109
mv OUT.ABACUS/running_scf.log OUT.ABACUS/running_scf_H2O.log
1110
cp STRU_1 STRU
12-
sed -i "/ntype/ c\ntype 2" INPUT
1311
OMP_NUM_THREADS=${ABACUS_THREADS} mpirun -np ${ABACUS_NPROCS} ${ABACUS_PATH} | tee O_scf.output
1412
mv OUT.ABACUS/running_scf.log OUT.ABACUS/running_scf_O.log
1513
cp STRU_2 STRU
16-
sed -i "/ntype/ c\ntype 3" INPUT
1714
OMP_NUM_THREADS=${ABACUS_THREADS} mpirun -np ${ABACUS_NPROCS} ${ABACUS_PATH} | tee H1_scf.output
1815
mv OUT.ABACUS/running_scf.log OUT.ABACUS/running_scf_H1.log
1916
cp STRU_3 STRU
20-
sed -i "/ntype/ c\ntype 3" INPUT
2117
OMP_NUM_THREADS=${ABACUS_THREADS} mpirun -np ${ABACUS_NPROCS} ${ABACUS_PATH} | tee H2_scf.output
2218
mv OUT.ABACUS/running_scf.log OUT.ABACUS/running_scf_H2.log
2319

examples/charge_density/lcao_nspin1_Si2/INPUT

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@ INPUT_PARAMETERS
22
#Parameters (General)
33
pseudo_dir ../../../tests/PP_ORB
44
orbital_dir ../../../tests/PP_ORB
5-
calculation scf
6-
ntype 1
5+
calculation scf
76
nbands 8
87
#Parameters (Methos)
98
basis_type lcao

examples/charge_density/pw_nspin1_Al/INPUT

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
INPUT_PARAMETERS
22
#Parameters (General)
33
pseudo_dir ../../../tests/PP_ORB
4-
calculation scf
5-
ntype 1
4+
calculation scf
65
symmetry 0
76
#Parameters (Methos)
87
basis_type pw

examples/charge_density/pw_nspin2_Fe/INPUT

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
INPUT_PARAMETERS
22
pseudo_dir ../../../tests/PP_ORB
3-
ntype 2
43
symmetry 1
54

65
calculation scf

examples/compensating_charge/Pt-slab/INPUT

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
INPUT_PARAMETERS
22
pseudo_dir ../../../tests/PP_ORB
3-
ntype 1
43
dft_functional pbe
54
symmetry 0
65
cal_force 1

examples/deepks/lcao_H2O/INPUT

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ suffix abacus
44
pseudo_dir ../../../tests/PP_ORB
55
orbital_dir ../../../tests/PP_ORB
66
calculation scf
7-
ntype 2
87
nbands 6
98
symmetry 0
109

0 commit comments

Comments
 (0)