<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 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>
</body></html>