<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%;">Thank you for yor reply and referencing the relevant paper.</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%;">Now the important question:</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%;">people prefer DFT+U, because in principle the computational cost is of order (not so larger) than that of DFT, because one just introduces a correction from "APPROXIMATE" Hubbard Model on DFT.</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 one would compare "DFT+U+ortho-atomic" with the "orbital-dependent HSE" method, can one be certain that the latter is still much more computationally expensive than the former?</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 in advance.</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%;">Bests,</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-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: Paolo Giannozzi <paolo.giannozzi@uniud.it>, Mahmoud Payami Shabestari <mpayami@aeoi.org.ir>, Quantum ESPRESSO users Forum <users@lists.quantum-espresso.org><br />
Date: Fri, 23 Sep 2022 07:37:57 +0000<br />
Subject: Re: [QE-users] Some inconsistency between QE-6.7MaX and current QE-7.1<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>Hubbard forces and stresses using "ortho-atomic" Hubbard projectors are much more expensive than with "atomic". It is explained in PRB 102, 235159 (2020). Computational scaling is discussed in the appendix C.</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> Thursday, September 22, 2022 9:03:17 PM<br />
<b>To:</b> Paolo Giannozzi; Quantum ESPRESSO users Forum<br />
<b>Subject:</b> Re: [QE-users] Some inconsistency between QE-6.7MaX and current QE-7.1</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 Paolo,</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 so much for your comments.</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%;">Actually, to find some sense about the time needed to calculate force, I have performed scf calculations for <strong>just one iteration</strong>, but different numbers of atoms (4, 8, 12, 16, 32, 48, 64, 80, 96, 108) with more or less the sama number of k points in BZ. The supercells were generated from the QE-7.1/PW/example08 unitcell. The inputs and outputs are uploaded in:</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%;"><a href="https://drive.google.com/drive/folders/12cWLR7PkMI1wolxgRLnOSCi4IhtnLmEO?usp=sharing">https://drive.google.com/drive/folders/12cWLR7PkMI1wolxgRLnOSCi4IhtnLmEO?usp=sharing</a>

<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;">The results for low number of atoms seems to take reasonable times, but for larger ones the time to calculate force becomes larger than the time for just one iteration.</div>

<div style="font-family: Tahoma; color: rgb(0, 0, 0); font-size: 16px; font-weight: 400; font-style: normal;">Do you see any un-normal behavior in force calculation routine?</div>

<div style="font-family: Tahoma; color: rgb(0, 0, 0); font-size: 16px; font-weight: 400; font-style: normal;">Thank you very much for your comments.</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;">Bests, Mahmoud</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: Paolo Giannozzi <paolo.giannozzi@uniud.it><br />
To: Mahmoud Payami Shabestari <mpayami@aeoi.org.ir>, Quantum ESPRESSO users Forum <users@lists.quantum-espresso.org><br />
Date: Thu, 22 Sep 2022 18:18:51 +0200<br />
Subject: Re: [QE-users] Some inconsistency between QE-6.7MaX and current QE-7.1<br />
 
<div style="font-family: monospace, courier new, courier">Not sure what you mean exactly. As a rule of thumb, the calculation of<br />
the Hubbard contribution to forces should take no more than 1/3 or 1/4,<br />
likely much less than that, of the time needed for a scf calculation, at<br />
least for the simple ("atomic") U projection.<br />
<br />
Paolo<br />
<br />
On 21/09/2022 19:31, Mahmoud Payami Shabestari via users wrote:<br />
> Dear Paolo,<br />
> Thank you so much for the comment on automatic parallelization.<br />
> On the second issue, how can one estimate the execution time for force<br />
> calculation as a function of number of Hubbard levels in a DFT+U<br />
> calculation with ortho-atomic U_projection?<br />
> Thank you in advance.<br />
> Bests,<br />
> Mahmoud<br />
><br />
>     From: Paolo Giannozzi <<a href="mailto:paolo.giannozzi%40uniud.it">paolo.giannozzi@uniud.it</a>><br />
>     To: <a href="mailto:users%40lists.quantum-espresso.org">users@lists.quantum-espresso.org</a><br />
>     Date: Tue, 20 Sep 2022 07:58:42 +0200<br />
>     Subject: Re: [QE-users] Some inconsistency between QE-6.7MaX and<br />
>     current QE-7.1<br />
>     The optimization you are referring to is actually an automatic choice of<br />
>     parallelization option, but it is not used if you explicitly specify the<br />
>     parallelization options (e.g. with -nk N -nd M). For the original<br />
>     problem: one has to see under which exact coonditions it happens<br />
><br />
>     Paolo<br />
><br />
>     On 20/09/2022 05:01, Mahmoud Payami Shabestari via users wrote:<br />
>      > Dear QE Developers,<br />
>      > Hi.<br />
>      > Kindly, when I use the same scf input for QE-6.7MaX and QE-7.1, the<br />
>      > results of forces on atoms are more or less similar but with a small<br />
>      > difference. However, the calculated pressures are<br />
>     SIGNIFICANTLY_DIFFERENT.<br />
>      > Secondly, when the number of atoms is of order say 50, the<br />
>     calculation<br />
>      > of forces on atoms using QE-7.1 is VERY VERY time consuming.<br />
>      > In the release note of QE7.1 one feature mentioned is an "automatic"<br />
>      > optimizations for accelerating the calculations.<br />
>      > Could it happen that in some cases instead of optimizations one<br />
>      > encounters with deceleration?<br />
>      > How can one disable this automatic optimization?<br />
>      > Thank you in advance.<br />
>      > With Best Regards,<br />
>      > Mahmoud Payami<br />
>      > NSTRI, AEOI, Tehran, Iran<br />
>      > Email: <a href="mailto:mpayami%40aeoi.org.ir">mpayami@aeoi.org.ir</a> <mailto:mpayami%40aeoi.org.ir><br />
>      > Phone: +98 (0)21 82066504<br />
>      > --------------------------------------------------------<br />
>      ><br />
>      > _______________________________________________<br />
>      > The Quantum ESPRESSO community stands by the Ukrainian<br />
>      > people and expresses its concerns about the devastating<br />
>      > effects that the Russian military offensive has on their<br />
>      > country and on the free and peaceful scientific, cultural,<br />
>      > and economic cooperation amongst peoples<br />
>      > _______________________________________________<br />
>      > Quantum ESPRESSO is supported by MaX (<a href="http://www.max-centre.eu" target="_blank">www.max-centre.eu</a><br />
>     <<a href="https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.max-centre.eu%2F&data=05%7C01%7Cpaolo.giannozzi%40uniud.it%7C2303e817de0d4bf50b0d08da9bf72673%7C6e6ade15296c4224ac581c8ec2fd53a8%7C0%7C0%7C637993783089388282%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=F4aYKbdRY0a9vRh3SpapAW4yjdSGX9Fk0TuoTxkPR08%3D&reserved=0" target="_blank">https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.max-centre.eu%2F&data=05%7C01%7Cpaolo.giannozzi%40uniud.it%7C2303e817de0d4bf50b0d08da9bf72673%7C6e6ade15296c4224ac581c8ec2fd53a8%7C0%7C0%7C637993783089388282%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=F4aYKbdRY0a9vRh3SpapAW4yjdSGX9Fk0TuoTxkPR08%3D&reserved=0</a>>)<br />
>      > users mailing list <a href="mailto:users%40lists.quantum-espresso.org">users@lists.quantum-espresso.org</a><br />
>     <mailto:users%40lists.quantum-espresso.org><br />
>      > <a href="https://lists.quantum-espresso.org/mailman/listinfo/users" target="_blank"> https://lists.quantum-espresso.org/mailman/listinfo/users</a><br />
>     <<a href="https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.quantum-espresso.org%2Fmailman%2Flistinfo%2Fusers&data=05%7C01%7Cpaolo.giannozzi%40uniud.it%7C2303e817de0d4bf50b0d08da9bf72673%7C6e6ade15296c4224ac581c8ec2fd53a8%7C0%7C0%7C637993783089388282%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=KhYSLBGfZ4qsPLmoKsz86DtWUCejGdUMq389K8PioUY%3D&reserved=0" target="_blank">https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.quantum-espresso.org%2Fmailman%2Flistinfo%2Fusers&data=05%7C01%7Cpaolo.giannozzi%40uniud.it%7C2303e817de0d4bf50b0d08da9bf72673%7C6e6ade15296c4224ac581c8ec2fd53a8%7C0%7C0%7C637993783089388282%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=KhYSLBGfZ4qsPLmoKsz86DtWUCejGdUMq389K8PioUY%3D&reserved=0</a>><br />
><br />
>     --<br />
>     Paolo Giannozzi, Dip. Scienze Matematiche Informatiche e Fisiche,<br />
>     Univ. Udine, via delle Scienze 208, 33100 Udine, Italy<br />
>     Phone +39-0432-558216, fax +39-0432-558222<br />
>     _______________________________________________<br />
>     The Quantum ESPRESSO community stands by the Ukrainian<br />
>     people and expresses its concerns about the devastating<br />
>     effects that the Russian military offensive has on their<br />
>     country and on the free and peaceful scientific, cultural,<br />
>     and economic cooperation amongst peoples<br />
>     _______________________________________________<br />
>     Quantum ESPRESSO is supported by MaX (<a href="http://www.max-centre.eu" target="_blank">www.max-centre.eu</a><br />
>     <<a href="https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.max-centre.eu%2F&data=05%7C01%7Cpaolo.giannozzi%40uniud.it%7C2303e817de0d4bf50b0d08da9bf72673%7C6e6ade15296c4224ac581c8ec2fd53a8%7C0%7C0%7C637993783089544472%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=YKY7%2FigwjZrgcQDnGqxhc5yOf7vkJDcIR%2FV3k6cVLmA%3D&reserved=0" target="_blank">https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.max-centre.eu%2F&data=05%7C01%7Cpaolo.giannozzi%40uniud.it%7C2303e817de0d4bf50b0d08da9bf72673%7C6e6ade15296c4224ac581c8ec2fd53a8%7C0%7C0%7C637993783089544472%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=YKY7%2FigwjZrgcQDnGqxhc5yOf7vkJDcIR%2FV3k6cVLmA%3D&reserved=0</a>>)<br />
>     users mailing list <a href="mailto:users%40lists.quantum-espresso.org">users@lists.quantum-espresso.org</a><br />
>     <mailto:users%40lists.quantum-espresso.org><br />
>     <a href="https://lists.quantum-espresso.org/mailman/listinfo/users" target="_blank"> https://lists.quantum-espresso.org/mailman/listinfo/users</a><br />
>     <<a href="https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.quantum-espresso.org%2Fmailman%2Flistinfo%2Fusers&data=05%7C01%7Cpaolo.giannozzi%40uniud.it%7C2303e817de0d4bf50b0d08da9bf72673%7C6e6ade15296c4224ac581c8ec2fd53a8%7C0%7C0%7C637993783089544472%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=StaOS2DWhSVWxp%2Bi%2FF1EIgd1HQLs81fMVnZzLtZyHEY%3D&reserved=0" target="_blank">https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.quantum-espresso.org%2Fmailman%2Flistinfo%2Fusers&data=05%7C01%7Cpaolo.giannozzi%40uniud.it%7C2303e817de0d4bf50b0d08da9bf72673%7C6e6ade15296c4224ac581c8ec2fd53a8%7C0%7C0%7C637993783089544472%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=StaOS2DWhSVWxp%2Bi%2FF1EIgd1HQLs81fMVnZzLtZyHEY%3D&reserved=0</a>><br />
><br />
><br />
> _______________________________________________<br />
> The Quantum ESPRESSO community stands by the Ukrainian<br />
> people and expresses its concerns about the devastating<br />
> effects that the Russian military offensive has on their<br />
> country and on the free and peaceful scientific, cultural,<br />
> and economic cooperation amongst peoples<br />
> _______________________________________________<br />
> Quantum ESPRESSO is supported by MaX (<a href="http://www.max-centre.eu" target="_blank">www.max-centre.eu</a>)<br />
> users mailing list <a href="mailto:users%40lists.quantum-espresso.org">users@lists.quantum-espresso.org</a><br />
> <a href="https://lists.quantum-espresso.org/mailman/listinfo/users" target="_blank"> https://lists.quantum-espresso.org/mailman/listinfo/users</a><br />
<br />
--<br />
Paolo Giannozzi, Dip. Scienze Matematiche Informatiche e Fisiche,<br />
Univ. Udine, via delle Scienze 208, 33100 Udine, Italy<br />
Phone +39-0432-558216, fax +39-0432-558222</div>
</blockquote>
</div>
</div>
</blockquote>
</div>
</body></html>