You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -120,10 +122,13 @@ void Exx_LRI_Interface<T, Tdata>::exx_eachiterinit(const int istep,
120
122
const K_Vectors& kv,
121
123
constint& iter)
122
124
{
125
+
std::cout << "iter=" << iter << std::endl;
123
126
if (GlobalC::exx_info.info_global.cal_exx)
124
127
{
125
-
if (!GlobalC::exx_info.info_global.separate_loop && (this->two_level_step || istep > 0))
128
+
if (!GlobalC::exx_info.info_global.separate_loop && (this->two_level_step || istep > 0 || PARAM.inp.init_wfc == "file") // non separate loop case
129
+
|| (GlobalC::exx_info.info_global.separate_loop && PARAM.inp.init_wfc == "file" && this->two_level_step == 0 && iter == 1)) // the first iter in separate loop case
0 commit comments