Skip to content

Commit 9bc15ba

Browse files
committed
add README in tests
1 parent 5a3c86a commit 9bc15ba

File tree

1 file changed

+128
-0
lines changed

1 file changed

+128
-0
lines changed

tests/README

Lines changed: 128 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,128 @@
1+
--------------------------------------
2+
Purposes for this test directory is:
3+
--------------------------------------
4+
1, cover most features of ABACUS
5+
2, autotest script to check if the version is correct.
6+
(reference result calculated by one core and saved in result.ref)
7+
(user can change NUMBEROFPROCESS value in integrate/general_info to test by multi cores)
8+
9+
--------------------------------------
10+
Folders in this directory
11+
--------------------------------------
12+
01_PW: KSDFT calculations in PW basis with multple k-point setting.
13+
02_NAO_Gamma: KSDFT calculations in NAO basis with gamma-only k-point setting.
14+
03_NAO_multik: KSDFT calculations in NAO basis with multiple k-point setting.
15+
04_LJ_DP: Lennard-Jones potentials and Deep Potentials.
16+
05_rtTDDFT: Real-time TDDFT tests.
17+
06_SDFT: Stochastic DFT tests.
18+
07_OFDFT: Orbital-free DFT tests.
19+
08_EXX: Hybrid functional and LR-TDDFT tests.
20+
09_DeePKS: DeePKS tests.
21+
10_others: Other tests such as LCAO in pw.
22+
11_PW_GPU: KSDFT calculations in PW basis with multple k-point setting using GPU.
23+
12_NAO_Gamma_GPU: KSDFT calculations in NAO basis with gamma-only k-point setting using GPU.
24+
13_NAO_multik_GPU: KSDFT calculations in NAO basis with multiple k-point setting using GPU.
25+
15_rtTDDFT_GPU: Real-time TDDFT tests using LCAO basis running on GPU.
26+
16_SDFT_GPU: Integrate tests for stochastic DFT running on GPU.
27+
CMakeLists.txt: Cmake file for this directory.
28+
integrate: Store acripts for integrte tests.
29+
libxc: Examples related to LibXC, will be refactored soon.
30+
performance: Examples related to performance of ABACUS, will be refactored soon.
31+
PP_ORB: Collection of all the used pseudopotentials and numerical atomic orbitals.
32+
README: This file
33+
34+
35+
--------------------------------------
36+
How to run tests
37+
--------------------------------------
38+
39+
1. Modify the file '/integrate/general_info' and set appropriate parameters.
40+
2. Set the appropriate 'abacus' in the Autotst.sh.
41+
3. Enter each integrate test directory, try this script for autotests
42+
../integrate/Autotest.sh
43+
4. if you want to focus on No.xxx example, such as 101_PW_OU:
44+
cd 101_PW_OU and then type
45+
./../integrate/Single.sh $parameter
46+
# you can choose $parameter among "" (empty), debug or ref
47+
# 'ref': generate result.ref file (the answer you need)
48+
49+
50+
--------------------------------------
51+
Some comman names appear in the tests
52+
--------------------------------------
53+
_PW plain wave bases
54+
_NO numerical atoms orbitals bases
55+
_NP expand numerical atoms orbitals in plane-wave basis
56+
57+
_OU old upf pseudopotential file
58+
_15 SG15 pseudopotential file
59+
_VW vwr pseudopotential file
60+
_DJ DOJO pseudopotential file
61+
62+
_FD smearing methodL Fermi-dirac
63+
_FX smearing method: Fixed occupations
64+
_M2 smearing method: mp2
65+
_MP smearing method: Methfessel-Paxton (MP)
66+
_MV smearing method: Marzari-Vanderbilt
67+
_SG smearing method: Gaussian
68+
69+
_SY turn on symmetry
70+
_CG cg diagonalization method
71+
_DA david diagonalization method
72+
73+
_S1 one spin channel
74+
_S2 two spin channels
75+
_S4 four spin channels
76+
77+
_GE genelpa diagonalization method
78+
_SC scalapack diagonalization method
79+
80+
_RE relax calculation
81+
_CR cell-relax calculation
82+
_CF calculate and output force
83+
_CS calculate and output stress
84+
_MD molecular dynamics
85+
_TD real-time TDDFT
86+
_LR linear response TDDFT
87+
88+
_OH output Halmitonian matrix
89+
_OB output bands file
90+
_OD output DOS file
91+
_OW output wave functions
92+
_OC output charge density
93+
_OK output kinetic energy density
94+
95+
_GO gamma_only method
96+
_KP all K-Points method
97+
98+
_FM ferromagnetic nspin=2
99+
_AF anti-ferromagnetic nspin=2 anti initial magnetism
100+
101+
_PU DFT plus U
102+
_BS BSSE
103+
104+
_PL mixing_type plain mixing
105+
_KK mixing_type kerker mixing
106+
_PU mixing_type pulay mixing
107+
_PK mixing_type pulay-kerker mixing
108+
_BD mixing_type broyden mixing
109+
110+
_SO spin orbit coupling (SOC)
111+
112+
_XX EXX
113+
_VD VDW (both d2 or d3)
114+
115+
_MG move ions method: cg
116+
_MF move ions method: FIRE
117+
_MB move ions method: bfgs
118+
_MT move ions method: bfgs_traj
119+
120+
_1O first-order charge extrapolation
121+
_2O second-order charge extrapolation
122+
123+
Orbital free DFT properties
124+
125+
_OF orbital free density functional theory (OFDFT)
126+
_OP optimization method used in OFDFT
127+
_KE kinetic energy functional used in OFDFT
128+
_CO convergence check

0 commit comments

Comments
 (0)