<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body>
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p>Dear <span style="font-family: Tahoma, serif, EmojiFont; font-size: 12pt;">Mahmoud,</span></p>
<p><span style="font-family: Tahoma, serif, EmojiFont; font-size: 12pt;"><br>
</span></p>
<p><span style="font-family: Tahoma, serif, EmojiFont;">> Explicitly, the starting_magnetization for O is removed in the new one. Does it mean the default value is still zero or the code searches for a better starting magnetization?</span><span style="font-family: Tahoma, serif, EmojiFont; font-size: 12pt;"><br>
</span></p>
<p><br>
</p>
<p>O atoms are nonmagnetic so that's why <span style="font-family: Tahoma, serif, EmojiFont; font-size: 12pt;">starting_magnetization for O was removed. </span></p>
<p><span style="font-family: Tahoma, serif, EmojiFont; font-size: 12pt;"><br>
</span></p>
<p><span style="font-family: Tahoma, serif, EmojiFont;">> But, comparing the results from qe-7.1 and qe-6.7, one notices significant changes in the input and outputs of feo_user_ns files.</span><span style="font-family: Tahoma, serif, EmojiFont; font-size: 12pt;"><br>
</span></p>
<p><br>
</p>
<p>FeO is metallic in DFT while it is insulting in nature. The difference between the new and old behaviour of QE is the starting occupations of the Fe-3d manifold. In older versions of QE (before 7.1) the <font size="3">starting occupations are hard-coded
 to be 6 (see PW/src/tabd.f90</font><font size="3">) while in QE7.1 the starting occupations are read from the </font>pseudopotential (in this particular example it is 7). It turns out that in this example different starting occupations for Fe-3d states lead
 to the convergence to different metallic ground states of FeO, but in any case both are wrong ground states (one needs +U and to use starting_ns_eignevalue to open a gap and thus obtain the correct ground state). But if you want to restore the old behaviour
 of QE in the new version (i.e. 7.1) you need to specify in the input the new keyword Hubbard_occ(1,1) = 6.0 and <span style="font-size: 12pt;">Hubbard_occ(2,1) = 6.0 (because you have Fe1 and Fe2) </span><span style="font-size: 12pt;">- in this case the code
 reads the starting occupations from the input and not from the pseudopotential. </span><span style="font-size: medium;"> </span></p>
<p><span style="font-size: medium;"><br>
</span></p>
<p><span style="font-size: medium;">Greetings,</span></p>
<p><span style="font-size: medium;">Iurii</span></p>
<p><br>
</p>
<div id="Signature">
<div id="divtagdefaultwrapper" dir="ltr" style="font-size: 12pt; color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif, Helvetica, 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 size="3" face="'Times New Roman', Times, serif" color="808080">--<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 size="3" face="'Times New Roman', Times, serif" color="808080"><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><br>
</div>
<span style="font-family:Cambria,Georgia,serif"></span><font color="808080"></font><span style="font-family:Cambria,Georgia,serif"></span>
<div name="divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:; margin:0">
<span style="font-family:Cambria,Georgia,serif"></span><font size="3" face="'Times New Roman', Times, serif" color="808080"><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>
<span style="font-family:Cambria,Georgia,serif"></span>
<div name="divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:; margin:0">
<span style="font-family:Cambria,Georgia,serif"></span><a href="http://people.epfl.ch/265334" tabindex="0" id="LPNoLP"><span style="font-family:Cambria,Georgia,serif">http://people.epfl.ch/265334</span></a><br>
</div>
</div>
</div>
</div>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><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, June 29, 2022 1:16:53 PM<br>
<b>To:</b> users@lists.quantum-espresso.org<br>
<b>Subject:</b> [QE-users] QE-7.1 and DFT+U</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%;">
In the new release QE-7.1, I investigated through the example08 of PW, the example of FeO.</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 the release-notes, Incompatible changes, line 3, it is mentioned that "input syntax" is changed.</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, comparing the results from qe-7.1 and qe-6.7, one notices significant changes in the input and outputs of feo_user_ns files.</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%;">
Explicitly, the starting_magnetization for O is removed in the new one. Does it mean the default value is still zero or the code searches for a better starting magnetization?</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%;">
Any comments is highly appreciated.</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 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;">
Mahmoud Payami</div>
<div style="font-family: Tahoma; color: rgb(0, 0, 0); font-size: 16px; font-weight: 400; font-style: normal;">
NSTRI, AEOI, Tehran, Iran</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;">
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>
</body>
</html>