Skip to content

Commit 37461e5

Browse files
committed
Update bfgs method
1 parent 710c6ce commit 37461e5

File tree

25 files changed

+6119
-291
lines changed

25 files changed

+6119
-291
lines changed

SiH2-3et-relax/H.ccECP.upf

Lines changed: 1995 additions & 0 deletions
Large diffs are not rendered by default.

SiH2-3et-relax/INPUT

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
INPUT_PARAMETERS
2+
# Created by Atomic Simulation Enviroment
3+
suffix abacus
4+
calculation relax
5+
relax_nmax 50
6+
nspin 2
7+
nupdown 2
8+
symmetry 0
9+
dft_functional PBE
10+
basis_type pw
11+
ecutwfc 100
12+
scf_thr 1e-07
13+
scf_nmax 50
14+
gamma_only True
15+
smearing_method gauss
16+
smearing_sigma 0.01
17+
mixing_type broyden
18+
mixing_beta 0.2
19+
mixing_beta_mag 0.8
20+
mixing_gg0 1.5
21+
mixing_gg0_mag 0
22+
ks_solver dav
23+
cal_force 1
24+
ntype 2
25+
orbital_dir .

SiH2-3et-relax/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+
1 1 1 0 0 0

SiH2-3et-relax/README.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
conda create -n ase-abacus python=3.10
2+
conda activate ase-abacus
3+
git clone https://gitlab.com/1041176461/ase-abacus.git
4+
cd ase-abacus
5+
pip install .

SiH2-3et-relax/STRU

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
ATOMIC_SPECIES
2+
Si 28.085 Si.ccECP.upf
3+
H 1.008 H.ccECP.upf
4+
5+
NUMERICAL_ORBITAL
6+
Si_gga_7au_100Ry_2s2p1d.orb
7+
H_gga_6au_100Ry_2s1p.orb
8+
9+
LATTICE_CONSTANT
10+
1.8897261258369282
11+
12+
LATTICE_VECTORS
13+
21.167088000 0.0000000000 0.0000000000
14+
0.0000000000 21.167088000 0.0000000000
15+
0.0000000000 0.0000000000 21.167088000
16+
17+
ATOMIC_POSITIONS
18+
Direct
19+
20+
Si
21+
0.0000000000
22+
1
23+
0.5000000000 0.4999990000 0.5047030000 1 1 1 v 0.0 0.0 0.0 mag 0.0
24+
25+
H
26+
0.0000000000
27+
2
28+
0.5000000000 0.5610460000 0.4685160000 1 1 1 v 0.0 0.0 0.0 mag 0.0
29+
0.5000000000 0.4389560000 0.4685160000 1 1 1 v 0.0 0.0 0.0 mag 0.0
30+

SiH2-3et-relax/Si.ccECP.upf

Lines changed: 2720 additions & 0 deletions
Large diffs are not rendered by default.

SiH2-3et-relax/SiH2-pos-fin.cif

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
data_image0
2+
_chemical_formula_structural SiH2
3+
_chemical_formula_sum "Si1 H2"
4+
_cell_length_a 21.16708843
5+
_cell_length_b 21.16708843
6+
_cell_length_c 21.16708843
7+
_cell_angle_alpha 90.0
8+
_cell_angle_beta 90.0
9+
_cell_angle_gamma 90.0
10+
11+
_space_group_name_H-M_alt "P 1"
12+
_space_group_IT_number 1
13+
14+
loop_
15+
_space_group_symop_operation_xyz
16+
'x, y, z'
17+
18+
loop_
19+
_atom_site_type_symbol
20+
_atom_site_label
21+
_atom_site_symmetry_multiplicity
22+
_atom_site_fract_x
23+
_atom_site_fract_y
24+
_atom_site_fract_z
25+
_atom_site_occupancy
26+
Si Si1 1.0 0.49999992 0.49999894409649426 0.5047026224112832 1.0000
27+
H H1 1.0 0.5000000400000001 0.5610455426063221 0.46851619853432114 1.0000
28+
H H2 1.0 0.5000000400000001 0.4389555032963629 0.4685163190552164 1.0000

SiH2-3et-relax/SiH2-pos-ini.cif

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Generated by ABACUS ModuleIO::CifParser
2+
data_?
3+
_symmetry_space_group_name_H-M 'P 1'
4+
_cell_length_a 21.16708843
5+
_cell_length_b 21.16708843
6+
_cell_length_c 21.16708843
7+
_cell_angle_alpha 90.00000000
8+
_cell_angle_beta 90.00000000
9+
_cell_angle_gamma 90.00000000
10+
_symmetry_Int_Tables_number 1
11+
_chemical_formula_structural SiH
12+
_chemical_formula_sum SiH2
13+
_cell_volume 9483.82152169
14+
_cell_formula_units_Z 1
15+
loop_
16+
_symmetry_equiv_pos_site_id
17+
_symmetry_equiv_pos_as_xyz
18+
1 'x, y, z'
19+
loop_
20+
_atom_site_type_symbol
21+
_atom_site_label
22+
_atom_site_symmetry_multiplicity
23+
_atom_site_fract_x
24+
_atom_site_fract_y
25+
_atom_site_fract_z
26+
_atom_site_occupancy
27+
Si Si0 1 0.49999992 0.49999980 0.50526114 1.0
28+
H H1 1 0.50000004 0.56098905 0.46823705 1.0
29+
H H2 1 0.50000004 0.43901114 0.46823695 1.0

SiH2-3et-relax/abacus.err

Whitespace-only changes.

SiH2-3et-relax/abacus.out

Lines changed: 144 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,144 @@
1+
2+
ABACUS v3.8.1
3+
4+
Atomic-orbital Based Ab-initio Computation at UStc
5+
6+
Website: http://abacus.ustc.edu.cn/
7+
Documentation: https://abacus.deepmodeling.com/
8+
Repository: https://github.com/abacusmodeling/abacus-develop
9+
https://github.com/deepmodeling/abacus-develop
10+
Commit: 146a50931 (Mon Oct 21 16:41:35 2024 +0800)
11+
12+
Thu Oct 24 12:09:59 2024
13+
MAKE THE DIR : OUT.abacus/
14+
RUNNING WITH DEVICE : CPU / Intel(R) Xeon(R) Platinum
15+
UNIFORM GRID DIM : 256 * 256 * 256
16+
UNIFORM GRID DIM(BIG) : 256 * 256 * 256
17+
DONE(0.28622 SEC) : SETUP UNITCELL
18+
DONE(0.286508 SEC) : INIT K-POINTS
19+
---------------------------------------------------------
20+
Self-consistent calculations for electrons
21+
---------------------------------------------------------
22+
SPIN KPOINTS PROCESSORS
23+
2 2 16
24+
---------------------------------------------------------
25+
Use plane wave basis
26+
---------------------------------------------------------
27+
ELEMENT NATOM XC
28+
Si 1
29+
H 2
30+
---------------------------------------------------------
31+
Initial plane wave basis and FFT box
32+
---------------------------------------------------------
33+
DONE(0.373599 SEC) : INIT PLANEWAVE
34+
DONE(0.725854 SEC) : LOCAL POTENTIAL
35+
DONE(0.825578 SEC) : NON-LOCAL POTENTIAL
36+
MEMORY FOR PSI (MB) : 30.921
37+
DONE(0.914662 SEC) : INIT BASIS
38+
-------------------------------------------
39+
SELF-CONSISTENT :
40+
-------------------------------------------
41+
START CHARGE : atomic
42+
DONE(3.68617 SEC) : INIT SCF
43+
* * * * * *
44+
<< Start SCF iteration.
45+
ITER TMAG AMAG ETOT/eV EDIFF/eV DRHO TIME/s
46+
DS1 2.00e+00 2.03e+00 -1.34430231e+02 0.00000000e+00 3.9191e-01 14.62
47+
DS2 2.00e+00 2.02e+00 -1.34775372e+02 -3.45141827e-01 9.7737e-02 10.50
48+
DS3 2.00e+00 2.02e+00 -1.35111314e+02 -3.35941751e-01 6.5112e-03 15.38
49+
DS4 2.00e+00 2.02e+00 -1.35170475e+02 -5.91607382e-02 1.5503e-03 26.84
50+
DS5 2.00e+00 2.02e+00 -1.35186232e+02 -1.57568707e-02 1.7038e-04 20.76
51+
DS6 2.00e+00 2.02e+00 -1.35188302e+02 -2.07018353e-03 1.5779e-05 26.53
52+
DS7 2.00e+00 2.02e+00 -1.35188101e+02 2.01251562e-04 5.6585e-06 13.65
53+
DS8 2.00e+00 2.02e+00 -1.35188148e+02 -4.72056440e-05 2.2478e-07 14.42
54+
DS9 2.00e+00 2.02e+00 -1.35188152e+02 -4.09432453e-06 7.8883e-08 12.36
55+
DS10 2.00e+00 2.02e+00 -1.35188153e+02 -1.47620397e-06 4.3864e-09 9.45
56+
>> Leave SCF iteration.
57+
* * * * * *
58+
TIME STATISTICS
59+
-----------------------------------------------------------------------------
60+
CLASS_NAME NAME TIME/s CALLS AVG/s PER/%
61+
-----------------------------------------------------------------------------
62+
total 170.93 15 11.40 100.00
63+
Driver reading 0.02 1 0.02 0.01
64+
Input_Conv Convert 0.00 1 0.00 0.00
65+
Driver driver_line 170.91 1 170.91 99.99
66+
UnitCell check_tau 0.00 1 0.00 0.00
67+
PW_Basis_Sup setuptransform 0.06 1 0.06 0.03
68+
PW_Basis_Sup distributeg 0.05 1 0.05 0.03
69+
mymath heapsort 0.10 3 0.03 0.06
70+
PW_Basis_K setuptransform 0.04 1 0.04 0.03
71+
PW_Basis_K distributeg 0.04 1 0.04 0.02
72+
PW_Basis setup_struc_factor 0.06 1 0.06 0.03
73+
ppcell_vnl init 0.01 1 0.01 0.01
74+
ppcell_vl init_vloc 0.21 1 0.21 0.12
75+
ppcell_vnl init_vnl 0.10 1 0.10 0.06
76+
WF_atomic init_at_1 0.09 1 0.09 0.05
77+
wavefunc wfcinit 0.00 1 0.00 0.00
78+
Ions opt_ions 169.89 1 169.89 99.39
79+
ESolver_KS_PW runner 169.22 1 169.22 99.00
80+
ESolver_KS_PW before_scf 2.77 1 2.77 1.62
81+
H_Ewald_pw compute_ewald 0.02 1 0.02 0.01
82+
Charge set_rho_core 0.00 1 0.00 0.00
83+
Charge atomic_rho 1.18 2 0.59 0.69
84+
PW_Basis_Sup recip2real 9.56 122 0.08 5.59
85+
PW_Basis_Sup gathers_scatterp 4.46 122 0.04 2.61
86+
Potential init_pot 2.27 1 2.27 1.33
87+
Potential update_from_charge 23.35 11 2.12 13.66
88+
Potential cal_fixed_v 0.09 1 0.09 0.05
89+
PotLocal cal_fixed_v 0.09 1 0.09 0.05
90+
Potential cal_v_eff 23.18 11 2.11 13.56
91+
H_Hartree_pw v_hartree 2.15 11 0.20 1.26
92+
PW_Basis_Sup real2recip 11.37 154 0.07 6.65
93+
PW_Basis_Sup gatherp_scatters 5.94 154 0.04 3.48
94+
PotXC cal_v_eff 20.80 11 1.89 12.17
95+
XC_Functional v_xc 20.70 11 1.88 12.11
96+
Potential interpolate_vrs 0.08 11 0.01 0.05
97+
Charge_Mixing init_mixing 0.00 1 0.00 0.00
98+
ESolver_KS_PW hamilt2density 136.57 10 13.66 79.90
99+
HSolverPW solve 136.42 10 13.64 79.81
100+
Nonlocal getvnl 0.47 20 0.02 0.28
101+
pp_cell_vnl getvnl 0.47 20 0.02 0.28
102+
Structure_Factor get_sk 0.07 28 0.00 0.04
103+
WF_atomic atomic_wfc 0.08 2 0.04 0.05
104+
Diago_DavSubspace diag_once 122.67 20 6.13 71.76
105+
Diago_DavSubspace first 24.52 20 1.23 14.34
106+
DavSubspace hpsi_func 110.08 186 0.59 64.40
107+
Operator hPsi 109.69 186 0.59 64.17
108+
Operator EkineticPW 0.87 186 0.00 0.51
109+
Operator VeffPW 106.68 186 0.57 62.41
110+
PW_Basis_K recip2real 61.85 1675 0.04 36.19
111+
PW_Basis_K gathers_scatterp 21.52 1675 0.01 12.59
112+
PW_Basis_K real2recip 45.62 1375 0.03 26.69
113+
PW_Basis_K gatherp_scatters 12.75 1375 0.01 7.46
114+
Operator NonlocalPW 2.14 186 0.01 1.25
115+
Nonlocal add_nonlocal_pp 1.19 186 0.01 0.70
116+
Diago_DavSubspace cal_elem 3.69 186 0.02 2.16
117+
Diago_DavSubspace diag_zhegvx 0.13 186 0.00 0.08
118+
Diago_DavSubspace cal_grad 93.08 166 0.56 54.46
119+
Diago_DavSubspace check_update 0.00 166 0.00 0.00
120+
Diago_DavSubspace last 1.52 34 0.04 0.89
121+
Diago_DavSubspace refresh 0.48 14 0.03 0.28
122+
ElecStatePW psiToRho 12.04 10 1.20 7.04
123+
Charge_Mixing get_drho 2.91 10 0.29 1.70
124+
Charge_Mixing inner_product_recip_rho 0.09 10 0.01 0.05
125+
Charge mix_rho 3.61 9 0.40 2.11
126+
Charge Broyden_mixing 0.58 9 0.06 0.34
127+
Charge_Mixing inner_product_recip_hartree 0.48 72 0.01 0.28
128+
ESolver_KS_PW after_scf 1.94 1 1.94 1.14
129+
ModuleIO write_rhog 1.06 1 1.06 0.62
130+
Forces cal_force_loc 0.12 1 0.12 0.07
131+
Forces cal_force_ew 0.05 1 0.05 0.03
132+
Forces cal_force_nl 0.12 1 0.12 0.07
133+
FS_Nonlocal_tools cal_becp 0.06 2 0.03 0.04
134+
FS_Nonlocal_tools cal_dbecp_f 0.06 6 0.01 0.03
135+
Forces cal_force_cc 0.00 1 0.00 0.00
136+
Forces cal_force_scc 0.38 1 0.38 0.22
137+
ModuleIO write_istate_info 0.00 1 0.00 0.00
138+
-----------------------------------------------------------------------------
139+
140+
141+
START Time : Thu Oct 24 12:09:59 2024
142+
FINISH Time : Thu Oct 24 12:12:50 2024
143+
TOTAL Time : 171
144+
SEE INFORMATION IN : OUT.abacus/

0 commit comments

Comments
 (0)