Skip to content

Commit 4cb0318

Browse files
committed
update results
1 parent 32c6bb8 commit 4cb0318

File tree

76 files changed

+261
-219
lines changed

Some content is hidden

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

76 files changed

+261
-219
lines changed

source/module_esolver/esolver_ks_pw.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ void ESolver_KS_PW<T, Device>::before_scf(UnitCell& ucell, const int istep)
387387
dftu->init(ucell, nullptr, this->kv.get_nks());
388388
}
389389

390-
if (!this->already_initpsi)
390+
if (!this->already_initpsi || PARAM.inp.init_wfc.substr(0,3)=="nao")
391391
{
392392
this->p_psi_init->initialize_psi(this->psi, this->kspw_psi, this->p_hamilt, GlobalV::ofs_running);
393393
this->already_initpsi = true;

source/module_psi/psi_init.cpp

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,15 @@ void PSIInit<T, Device>::initialize_psi(Psi<std::complex<double>>* psi,
162162
}
163163
} // end k-point loop
164164

165+
if (another_psi_space)
166+
{
167+
delete psi_cpu;
168+
if(PARAM.inp.device == "gpu")
169+
{
170+
delete psi_device;
171+
}
172+
}
173+
165174
ModuleBase::timer::tick("PSIInit", "initialize_psi");
166175
}
167176

tests/integrate/101_PW_15_paw/INPUT

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ calculation scf
66
nbands 6
77
symmetry 1
88
pseudo_dir ../../PP_ORB
9+
pw_seed 1
910

1011
#Parameters (2.Iteration)
1112
ecutwfc 20
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
etotref -200.9126364848390267
2-
etotperatomref -100.4563182424
3-
totalforceref 3.246238
1+
etotref -200.9125302160785509
2+
etotperatomref -100.4562651080
3+
totalforceref 3.245812
44
pointgroupref C_1h
55
spacegroupref C_2h
66
nksibzref 1
7-
totaltimeref 1.17
7+
totaltimeref 1.44

tests/integrate/101_PW_Coulomb/INPUT

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ cal_force 1
77

88
nbands 4
99
pseudo_dir ../../PP_ORB
10+
pw_seed 1
1011

1112
#Parameters (2.Iteration)
1213
ecutwfc 40
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
etotref 5.0394354547993414
2-
etotperatomref 2.5197177274
3-
totalforceref 1618.324880
4-
totalstressref 64343.921765
5-
totaltimeref 0.35
1+
etotref 5.0394354550884302
2+
etotperatomref 2.5197177275
3+
totalforceref 1618.325000
4+
totalstressref 64343.912363
5+
totaltimeref 0.25

tests/integrate/101_PW_blps_pseudopots/INPUT

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ calculation scf
66
nbands 6
77
symmetry 1
88
pseudo_dir ../../PP_ORB
9+
pw_seed 1
910
pseudo_rcut 16
1011

1112
#Parameters (2.Iteration)
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
etotref -215.9168025283933
2-
etotperatomref -107.9584012642
1+
etotref -215.9168029760272
2+
etotperatomref -107.9584014880
33
pointgroupref T_d
44
spacegroupref O_h
55
nksibzref 3
6-
totaltimeref 0.53
6+
totaltimeref 0.52

tests/integrate/101_PW_upf201_uspp_NaCl/INPUT

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ nbands 12
66
symmetry 1
77
latname fcc
88
pseudo_dir ../../PP_ORB
9+
pw_seed 1
910

1011
#Parameters (2.Iteration)
1112
ecutwfc 20
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
etotref -1675.0621003321411990
2-
etotperatomref -837.5310501661
3-
totalforceref 9.445308
4-
totalstressref 1646.071377
1+
etotref -1675.0621003323110472
2+
etotperatomref -837.5310501662
3+
totalforceref 9.445612
4+
totalstressref 1646.076135
55
pointgroupref C_2v
66
spacegroupref C_2v
77
nksibzref 5
8-
totaltimeref 1.95
8+
totaltimeref 2.26

0 commit comments

Comments
 (0)