Skip to content

Commit 91c0c03

Browse files
authored
Test: separate from deepmodeling#7304 for test cases only (deepmodeling#7382)
* feat(tests): add tests/17_DS_DFTU test suite for DFT+U with deep potential spin constraints * feat(tests): add tests/17_DS_DFTU with CI-disabled configs and READMEs Add the 17_DS_DFTU test suite for DeltaSpin and DFT+U functionality: - 47 test cases covering LCAO/PW basis, collinear/noncollinear spin, DFT+U, DeltaSpin, and their combinations - Comment out tests in tests/CMakeLists.txt and tests/17_DS_DFTU/CMakeLists.txt to prevent CI failure until DeltaSpin code is merged into develop - Add single-line README to each test directory (printed during Autotest.sh) - Rewrite CASES_CPU.txt with clear English comments explaining disabled tests
1 parent ca544e9 commit 91c0c03

262 files changed

Lines changed: 3754 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
INPUT_PARAMETERS
2+
suffix autotest
3+
calculation scf
4+
basis_type lcao
5+
ecutwfc 20
6+
gamma_only 0
7+
8+
nspin 2
9+
#nbands 28
10+
scf_thr 1.0e-6
11+
scf_nmax 50
12+
out_chg 0
13+
smearing_method gaussian
14+
smearing_sigma 0.01
15+
mixing_type broyden
16+
mixing_beta 0.4
17+
ks_solver genelpa
18+
symmetry 0
19+
20+
21+
22+
pseudo_dir ../../PP_ORB
23+
orbital_dir ../../PP_ORB
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+
1 1 1 0 0 0
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Test LCAO collinear spin (nspin=2) SCF convergence with Z magnetization, baseline for LCAO magnetic calculations
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
ATOMIC_SPECIES
2+
Fe 1.000 Fe.upf
3+
4+
NUMERICAL_ORBITAL
5+
Fe_gga_6au_100Ry_4s2p2d1f.orb
6+
7+
LATTICE_CONSTANT
8+
8.190
9+
10+
LATTICE_VECTORS
11+
1.00 0.50 0.50
12+
0.50 1.00 0.50
13+
0.50 0.50 1.00
14+
ATOMIC_POSITIONS
15+
Direct
16+
17+
Fe
18+
0.0
19+
2
20+
0.00 0.00 0.00 mag 2.0
21+
0.51 0.51 0.51 mag -2.0
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
etotref -6787.961875326573
2+
etotperatomref -3393.9809376640
3+
totaltimeref 3.93
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
INPUT_PARAMETERS
2+
suffix autotest
3+
calculation scf
4+
basis_type lcao
5+
ecutwfc 20
6+
gamma_only 0
7+
noncolin 1
8+
#nbands 40
9+
scf_thr 1.0e-6
10+
scf_nmax 50
11+
out_chg 0
12+
smearing_method gaussian
13+
smearing_sigma 0.01
14+
mixing_type broyden
15+
mixing_beta 0.4
16+
ks_solver genelpa
17+
symmetry 0
18+
19+
pseudo_dir ../../PP_ORB
20+
orbital_dir ../../PP_ORB
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+
1 1 1 0 0 0
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Test LCAO noncollinear spin (nspin=4) SCF convergence with XYZ magnetization
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
ATOMIC_SPECIES
2+
Fe 1.000 Fe.upf
3+
4+
NUMERICAL_ORBITAL
5+
Fe_gga_6au_100Ry_4s2p2d1f.orb
6+
7+
LATTICE_CONSTANT
8+
8.190
9+
10+
LATTICE_VECTORS
11+
1.00 0.50 0.50
12+
0.50 1.00 0.50
13+
0.50 0.50 1.00
14+
ATOMIC_POSITIONS
15+
Direct
16+
17+
Fe
18+
0.0
19+
2
20+
0.00 0.00 0.00 magmom 1.155 1.155 1.155
21+
0.51 0.51 0.51 magmom -1.155 -1.155 -1.155
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
etotref -6787.961880425138
2+
etotperatomref -3393.9809384824
3+
totaltimeref 8.90

0 commit comments

Comments
 (0)