<div dir="ltr"><div>Hi,</div><div><br></div><div>Please, for those working in the ACE implementation. I tried to restart a non-gamma-only hybrid calculation with QE-6.2 and using USPP PAW datasets (okvan and okpaw == .true.). However, the code crashes because when the subroutine rotate_becxx (PW/src/us_exx.f90) tries to access becxx0 and it has not been set yet. As commented in the code, the subroutine sum_bec (sum_band.f90) should be called before.</div><div><br></div><div>The point is that in the subroutine electrons (PW/src/electrons.f90), there is a first conditional that gears up everything for a restarting calculation before the self-consistent loop starts. And this is the part in which the code crashes, when the sequence of subroutines implemented in the file PW/src/exx.f90 is called: exxinit -> rotate_becxx. Whereas in a 'from_scratch' run, before that same call, in the self-consistent loop, the sequence of subroutines is called before: electrons_scf -> sum_band -> sum_bec -> store_becxx0, and everything is fine.</div><div><br></div><div>Please, I'm trying to figure out whether it is possible to set becxx0 before start the self-consistent loop when restarting a hybrid calculation. If someone could help with a tip or with a sign that there is a possible solution in a next release, I will be very thankful. Maybe something could be done in the subroutines exxinit or aceinit, both implemented in PW/src/exx.f90. From the source code, it seems that things still the same in version 6.2.1.<br></div><div><br></div><div>Thank you very much!</div><div><br></div><div><span class="gmail-m_-2733412293887179733gmail-m_5376046619131891037m_-6321344893763153737m_6333377370348176066gmail-m_-7443609597193345283gmail-m_-4627483426385706070m_-3659475676208332197gmail-m_318366166282958700m_-4069557267744183932m_3925019048408858411m_5074883181905464774gmail-il">Ary Ferreira<br></span><span class="gmail-m_-2733412293887179733gmail-m_5376046619131891037m_-6321344893763153737m_6333377370348176066gmail-m_-7443609597193345283gmail-m_-4627483426385706070m_-3659475676208332197gmail-m_318366166282958700m_-4069557267744183932m_3925019048408858411m_5074883181905464774gmail-il"><br><span class="gmail-m_-2733412293887179733gmail-m_5376046619131891037m_-6321344893763153737m_6333377370348176066gmail-m_-7443609597193345283gmail-il">FAPESP</span> </span><span class="gmail-m_-2733412293887179733gmail-m_5376046619131891037m_-6321344893763153737m_6333377370348176066gmail-m_-7443609597193345283gmail-m_-4627483426385706070m_-3659475676208332197gmail-m_318366166282958700m_-4069557267744183932m_3925019048408858411m_5074883181905464774gmail-il">postdoctoral</span> fellow<br><span class="gmail-m_-2733412293887179733gmail-m_5376046619131891037m_-6321344893763153737m_6333377370348176066gmail-il"><span class="gmail-m_-2733412293887179733gmail-il"><span class="gmail-il">UFSCar</span></span></span> - Brazil<br></div><div><br>-- <br><div class="m_8321065887751791841gmail_signature"><a href="http://lattes.cnpq.br/8221674673413336" target="_blank">http://lattes.cnpq.br/<wbr>8221674673413336</a></div>
</div></div>