<!doctype html>
<html>
 <head> 
  <meta charset="UTF-8"> 
 </head>
 <body>
  <div style="font-size: 12pt; font-family: helvetica,arial,sans-serif; color: #333333;">
   <span style="font-family: helvetica; font-size: 12pt;">Thank you for the advice, I was using an older version of the code (6.2.1). I don't receive the same error when running with Quantum ESPRESSO 6.7, so whatever was wrong must have been fixed.</span>
  </div> 
  <div style="font-size: 12pt; font-family: helvetica,arial,sans-serif; color: #333333;">
   <span style="font-family: helvetica; font-size: 12pt;">From,</span>
  </div> 
  <div style="font-size: 12pt; font-family: helvetica,arial,sans-serif; color: #333333;">
   <span style="font-family: helvetica; font-size: 12pt;">John Stoppelman</span>
  </div> 
  <blockquote type="cite"> 
   <div>
    On 06/08/2021 9:32 AM Paolo Giannozzi <p.giannozzi@gmail.com> wrote:
   </div> 
   <div>
     
   </div> 
   <div>
     
   </div> 
   <div dir="ltr"> 
    <div>
     If the structure is correct and pseudopotentials reasonably good, there isn't much that can be done. You may want to use "ParO" or "PPCG" diagonalization instead of "cg" that is very slow.
    </div> 
    <div>
      
    </div> 
    <div>
     Paolo
    </div> 
   </div> 
   <br> 
   <div class="gmail_quote"> 
    <div class="gmail_attr" dir="ltr">
     On Mon, Jun 7, 2021 at 6:44 PM John Stoppelman <
     <a href="mailto:jstoppelman@comcast.net">jstoppelman@comcast.net</a>> wrote:
    </div> 
    <blockquote>
     <u></u> 
     <div> 
      <div style="font-size: 12pt; font-family: helvetica,arial,sans-serif; color: #333333;">
       <span style="font-family: helvetica; font-size: 12pt;">Hello,</span>
      </div> 
      <div style="font-size: 12pt; font-family: helvetica,arial,sans-serif; color: #333333;">
       <span style="font-family: helvetica; font-size: 12pt;">I am running a vc-relax calculation for a crystal structure, and I'm trying to compare the results between PBE and PBEsol. The SCF converges with PBE using the default Davidson diagonalization. When I switch to PBEsol pseudopotentials from the PSlibary, I receive the error: </span>
      </div> 
      <div style="font-size: 12pt; font-family: helvetica,arial,sans-serif; color: #333333;">
        
      </div> 
      <div style="font-size: 12pt; font-family: helvetica,arial,sans-serif; color: #333333;">
       Error in routine cdiaghg (797): 
       <br>S matrix not positive definite
      </div> 
      <div style="font-size: 12pt; font-family: helvetica,arial,sans-serif; color: #333333;">
       When I switch the diagonalization method to 'cg', the calculation converges as normal, however. Are there any settings I can try in order to use PBEsol with the Davidson diagonalization for the SCF? I have attached my input file.
      </div> 
      <div style="font-size: 12pt; font-family: helvetica,arial,sans-serif; color: #333333;">
       Thank you for any potential help.
      </div> 
     </div> _______________________________________________
     <br>Quantum ESPRESSO is supported by MaX (
     <a href="http://www.max-centre.eu" target="_blank" rel="noopener">www.max-centre.eu</a>)
     <br>users mailing list 
     <a href="mailto:users@lists.quantum-espresso.org" target="_blank" rel="noopener">users@lists.quantum-espresso.org</a>
     <br>
     <a href="https://lists.quantum-espresso.org/mailman/listinfo/users" target="_blank" rel="noopener">https://lists.quantum-espresso.org/mailman/listinfo/users</a>
    </blockquote> 
   </div> 
   <br clear="all">
   <br>-- 
   <br> 
   <div class="gmail_signature" dir="ltr"> 
    <div dir="ltr"> 
     <div> 
      <div dir="ltr"> 
       <div>
        Paolo Giannozzi, Dip. Scienze Matematiche Informatiche e Fisiche,
        <br>Univ. Udine, via delle Scienze 206, 33100 Udine, Italy
        <br>Phone +39-0432-558216, fax +39-0432-558222
        <br>
        <br>
       </div> 
      </div> 
     </div> 
    </div> 
   </div> _______________________________________________
   <br>Quantum ESPRESSO is supported by MaX (www.max-centre.eu)
   <br>users mailing list users@lists.quantum-espresso.org
   <br>https://lists.quantum-espresso.org/mailman/listinfo/users
  </blockquote> 
 </body>
</html>