<html><body>
<div style="font-size: 16px; font-family: Tahoma; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; background: rgba(0, 0, 0, 0) none repeat scroll 0% 0%;">Dear Iurii,</div>
<div style="font-size: 16px; font-family: Tahoma; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; background: rgba(0, 0, 0, 0) none repeat scroll 0% 0%;"> </div>
<div style="font-size: 16px; font-family: Tahoma; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; background: rgba(0, 0, 0, 0) none repeat scroll 0% 0%;">If you permit, I will sent the two inputs and outputs to your private email address.</div>
<div style="font-size: 16px; font-family: Tahoma; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; background: rgba(0, 0, 0, 0) none repeat scroll 0% 0%;"> </div>
<div style="font-size: 16px; font-family: Tahoma; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; background: rgba(0, 0, 0, 0) none repeat scroll 0% 0%;">Mahmoud</div>
<div style="font-size: 16px; font-family: Tahoma; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; background: rgba(0, 0, 0, 0) none repeat scroll 0% 0%;"> </div>
<div style="font-family: Tahoma; color: rgb(0, 0, 0); font-size: 16px; font-weight: 400; font-style: normal; background: rgba(0, 0, 0, 0) none repeat scroll 0% 0%;">
<blockquote class="as91pFk8AX8sDPOUp66RUy8IoCRjefxNG8oLk8fg" style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">From: Iurii TIMROV via users <users@lists.quantum-espresso.org><br />
To: Mahmoud Payami Shabestari <mpayami@aeoi.org.ir>, "Quantum ESPRESSO users Forum" <users@lists.quantum-espresso.org><br />
Date: Fri, 12 Aug 2022 08:14:04 +0000<br />
Subject: Re: [QE-users] different eigenvalues results for PW/example08 in QE7.1 and QE6.7<br />
<br />
<style style="display:none;" type="text/css"><!-- P {margin-top:0;margin-bottom:0;} -->
</style>
<div dir="ltr" id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;">
<div><font color="black" face="Tahoma" size="2" style="font-family: Tahoma, serif, "EmojiFont";"><span style="font-size:16px;font-weight:normal;"><font color="black" face="Tahoma" size="2" style="font-family: Tahoma, serif, "EmojiFont";"><span style="font-size:16px;">> In a system I am investigating, searching the global minimum-energy state out of all possible occupation-matrix configurations, I found two configurations (using starting_ns_eigenvalue()=1), that the results of energy and geometry were different for the same input !!!</span></font></span></font></div>
<div> </div>
<div>This is strange. I would need to look at two calculations (input and output) that give different results in order to provide some feedback.</div>
<div> </div>
<div>Iurii</div>
<div> </div>
<div id="Signature">
<div dir="ltr" id="divtagdefaultwrapper" style="font-size: 12pt; color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif, "EmojiFont", "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols;">
<div name="divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:; margin:0">
<div name="divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:; margin:0"><font color="808080" face="'Times New Roman', Times, serif" size="3">--<br />
<span style="font-family:Cambria,Georgia,serif">Dr. Iurii TIMROV</span><br />
<span style="font-family:Cambria,Georgia,serif">Senior Research Scientist</span></font></div>
<div name="divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:; margin:0"><font color="808080" face="'Times New Roman', Times, serif" size="3"><span style="font-family:Cambria,Georgia,serif">Theory and Simulation of Materials (THEOS)</span></font></div>
<div name="divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:; margin:0"><span style="font-size:12pt; color:rgb(128,128,128); font-family:Cambria,Georgia,serif">Swiss Federal Institute of Technology Lausanne (EPFL</span><font color="808080" style="font-size:12pt; color:rgb(128,128,128); font-family:"Times New Roman",Times,serif"><font face="'Times New Roman', Times, serif"><span style="font-family:Cambria,Georgia,serif">)</span></font></font></div>
<div name="divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:; margin:0"><font color="808080" face="'Times New Roman', Times, serif" size="3"><span style="font-family:Cambria,Georgia,serif">CH-1015 Lausanne, Switzerland</span><br />
<span style="font-family:Cambria,Georgia,serif">+41 21 69 34 881</span></font></div>
<div name="divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:; margin:0"><a href="http://people.epfl.ch/265334" id="LPNoLP" tabindex="0"><span style="font-family:Cambria,Georgia,serif">http://people.epfl.ch/265334</span></a></div>
</div>
</div>
</div>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1" />
<div dir="ltr" id="divRplyFwdMsg"><font color="#000000" face="Calibri, sans-serif" style="font-size:11pt"><b>From:</b> Mahmoud Payami Shabestari <mpayami@aeoi.org.ir><br />
<b>Sent:</b> Thursday, August 11, 2022 5:53:49 PM<br />
<b>To:</b> Iurii TIMROV; Quantum ESPRESSO users Forum<br />
<b>Subject:</b> Re: [QE-users] different eigenvalues results for PW/example08 in QE7.1 and QE6.7</font>
<div> </div>
</div>
<div>
<div style="font-size: 16px; font-family: Tahoma; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; background: rgba(0, 0, 0, 0) none repeat scroll 0% 0%;">Dear Iurii,</div>
<div style="font-size: 16px; font-family: Tahoma; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; background: rgba(0, 0, 0, 0) none repeat scroll 0% 0%;"> </div>
<div style="font-size: 16px; font-family: Tahoma; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; background: rgba(0, 0, 0, 0) none repeat scroll 0% 0%;">Thank you for your reply.</div>
<div style="font-size: 16px; font-family: Tahoma; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; background: rgba(0, 0, 0, 0) none repeat scroll 0% 0%;">I found out maybe something wrong has been happened in coding.</div>
<div style="font-size: 16px; font-family: Tahoma; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; background: rgba(0, 0, 0, 0) none repeat scroll 0% 0%;">In a system I am investigating, searching the global minimum-energy state out of all possible occupation-matrix configurations, I found two configurations (using starting_ns_eigenvalue()=1), that the results of energy and geometry were different for the same input !!!</div>
<div style="font-size: 16px; font-family: Tahoma; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; background: rgba(0, 0, 0, 0) none repeat scroll 0% 0%;">Does this imply that the old versions are bug-fixed in QE-7.1?</div>
<div style="font-size: 16px; font-family: Tahoma; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; background: rgba(0, 0, 0, 0) none repeat scroll 0% 0%;"> </div>
<div style="font-size: 16px; font-family: Tahoma; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; background: rgba(0, 0, 0, 0) none repeat scroll 0% 0%;">Best regards,</div>
<div style="font-size: 16px; font-family: Tahoma; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; background: rgba(0, 0, 0, 0) none repeat scroll 0% 0%;">Mahmoud </div>
<div style="font-size: 16px; font-family: Tahoma; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; background: rgba(0, 0, 0, 0) none repeat scroll 0% 0%;"> </div>
<div id="signature" style="font-size: 16px; font-family: Tahoma; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; background: rgba(0, 0, 0, 0) none repeat scroll 0% 0%;">
<div style="font-family: Tahoma; color: rgb(0, 0, 0); font-size: 16px; font-weight: 400; font-style: normal;"> </div>
</div>
<div style="font-family: Tahoma; color: rgb(0, 0, 0); font-size: 16px; font-weight: 400; font-style: normal; background: rgba(0, 0, 0, 0) none repeat scroll 0% 0%;">
<blockquote class="as91pFk8AX8sDPOUp66RUy8IoCRjefxNG8oLk8fg" style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">From: Iurii TIMROV <iurii.timrov@epfl.ch><br />
To: Mahmoud Payami Shabestari <mpayami@aeoi.org.ir>, "Quantum ESPRESSO users Forum" <users@lists.quantum-espresso.org><br />
Date: Thu, 11 Aug 2022 10:33:10 +0000<br />
Subject: Re: [QE-users] different eigenvalues results for PW/example08 in QE7.1 and QE6.7<br />
<br />
<style style="display:none;" type="text/css"><!-- P {margin-top:0;margin-bottom:0;} -->
</style>
<div dir="ltr" id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;">
<div>In example08, after the 1st iteration the eigenvalues are:</div>
<div> </div>
<div> </div>
<div>spin 1<br />
eigenvalues:<br />
0.987 0.987 0.997 0.997 0.999</div>
<div>spin 2<br />
eigenvalues:<br />
0.200 0.200 0.335 0.335 0.384</div>
<div> </div>
<div> </div>
<div>The non-degenerate eigenvalue is the 5th one (spin 2) and not the 3rd one. That's why in QE7.1 it was corrected to the 5th one while in QE6.7 it was not correct. I presume that in the old versions of the code it was the 3rd one, but then since the code evolves a lot, there were some changes and the example was not updated.</div>
<div> </div>
<div>Iurii</div>
<div> </div>
<div id="Signature">
<div dir="ltr" id="divtagdefaultwrapper" style="font-size: 12pt; color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif, "EmojiFont", "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols;">
<div name="divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:; margin:0">
<div name="divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:; margin:0"><font color="808080" face="'Times New Roman', Times, serif" size="3">--<br />
<span style="font-family:Cambria,Georgia,serif">Dr. Iurii TIMROV</span><br />
<span style="font-family:Cambria,Georgia,serif">Senior Research Scientist</span></font></div>
<div name="divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:; margin:0"><font color="808080" face="'Times New Roman', Times, serif" size="3"><span style="font-family:Cambria,Georgia,serif">Theory and Simulation of Materials (THEOS)</span></font></div>
<div name="divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:; margin:0"><span style="font-size:12pt; color:rgb(128,128,128); font-family:Cambria,Georgia,serif">Swiss Federal Institute of Technology Lausanne (EPFL</span><font color="808080" style="font-size:12pt; color:rgb(128,128,128); font-family:"Times New Roman",Times,serif"><font face="'Times New Roman', Times, serif"><span style="font-family:Cambria,Georgia,serif">)</span></font></font></div>
<div name="divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:; margin:0"><font color="808080" face="'Times New Roman', Times, serif" size="3"><span style="font-family:Cambria,Georgia,serif">CH-1015 Lausanne, Switzerland</span><br />
<span style="font-family:Cambria,Georgia,serif">+41 21 69 34 881</span></font></div>
<div name="divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:; margin:0"><a href="http://people.epfl.ch/265334" id="LPNoLP" tabindex="0"><span style="font-family:Cambria,Georgia,serif">http://people.epfl.ch/265334</span></a></div>
</div>
</div>
</div>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1" />
<div dir="ltr" id="divRplyFwdMsg"><font color="#000000" face="Calibri, sans-serif" style="font-size:11pt"><b>From:</b> users <users-bounces@lists.quantum-espresso.org> on behalf of Mahmoud Payami Shabestari via users <users@lists.quantum-espresso.org><br />
<b>Sent:</b> Wednesday, August 10, 2022 7:23:00 PM<br />
<b>To:</b> users@lists.quantum-espresso.org<br />
<b>Subject:</b> [QE-users] different eigenvalues results for PW/example08 in QE7.1 and QE6.7</font>
<div> </div>
</div>
<div>
<div style="font-size: 16px; font-family: Tahoma; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; background: rgba(0, 0, 0, 0) none repeat scroll 0% 0%;">Dear QE Developers,</div>
<div style="font-size: 16px; font-family: Tahoma; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; background: rgba(0, 0, 0, 0) none repeat scroll 0% 0%;"> </div>
<div style="font-size: 16px; font-family: Tahoma; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; background: rgba(0, 0, 0, 0) none repeat scroll 0% 0%;">Hi.</div>
<div style="font-size: 16px; font-family: Tahoma; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; background: rgba(0, 0, 0, 0) none repeat scroll 0% 0%;">I noticed that in example08 of PW (DFT+U applied for FeO), the eigenvalues in iteration 1 are different depending on using QE-6.7 or Qe-7.1. For example, in QE-6.7 the non-degenerate eigenvalue is for m=0, (the third one) while it is for m=2 (the fifth one) in QE-7.1.</div>
<div style="font-size: 16px; font-family: Tahoma; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; background: rgba(0, 0, 0, 0) none repeat scroll 0% 0%;">But the final results for E_tot are similar. </div>
<div style="font-size: 16px; font-family: Tahoma; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; background: rgba(0, 0, 0, 0) none repeat scroll 0% 0%;">I would highly appreciate if somebody please provide comments on this issue.</div>
<div style="font-size: 16px; font-family: Tahoma; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; background: rgba(0, 0, 0, 0) none repeat scroll 0% 0%;"> </div>
<div style="font-size: 16px; font-family: Tahoma; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; background: rgba(0, 0, 0, 0) none repeat scroll 0% 0%;">With best regards,</div>
<div style="font-size: 16px; font-family: Tahoma; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; background: rgba(0, 0, 0, 0) none repeat scroll 0% 0%;">Mahmoud Payami</div>
<div style="font-size: 16px; font-family: Tahoma; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; background: rgba(0, 0, 0, 0) none repeat scroll 0% 0%;"> </div>
<div style="font-size: 16px; font-family: Tahoma; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; background: rgba(0, 0, 0, 0) none repeat scroll 0% 0%;">NSTRI, AEOI, Tehran, Iran</div>
<div id="signature" style="font-size: 16px; font-family: Tahoma; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; background: rgba(0, 0, 0, 0) none repeat scroll 0% 0%;">
<div style="font-family: Tahoma; color: rgb(0, 0, 0); font-size: 16px; font-weight: 400; font-style: normal;">Email: mpayami@aeoi.org.ir</div>
<div style="font-family: Tahoma; color: rgb(0, 0, 0); font-size: 16px; font-weight: 400; font-style: normal;">Phone: +98 (0)21 82066504</div>
<div style="font-family: Tahoma; color: rgb(0, 0, 0); font-size: 16px; font-weight: 400; font-style: normal;">--------------------------------------------------------</div>
<div style="font-family: Tahoma; color: rgb(0, 0, 0); font-size: 16px; font-weight: 400; font-style: normal;"> </div>
</div>
</div>
</blockquote>
</div>
</div>
</blockquote>
</div>
</body></html>