<div dir="ltr"><div dir="ltr">Dear Lorenzo and Paolo,<br><br>Yes, I recompiled the code correctly this time and it seemed to have worked. Thanks for all the inputs.On an ending note, I wanted to know if you had any thoughts on the magnitude of exchange and correlation parts. Here's a value that I obtained: <div>Exchange contribution: -161.43363281 Ry<br></div><div>Correlation contribution: -11.572000000 Ry<br><br>What is immediately noticeable is the much smaller magnitude of correlation part. I wonder if there is a universal physical reason behind this (I'm using PBE functional) or maybe it's just an unremarkable feature of my system. </div><div><br>Thanks for all the help. <br></div><div><br></div><div><span style="color:rgb(80,0,80)">Sincerely,</span><br style="color:rgb(80,0,80)"><span style="color:rgb(80,0,80)">Shivesh Sivakumar</span><br style="color:rgb(80,0,80)"><span style="color:rgb(80,0,80)">University of Washington-Seattle</span><br style="color:rgb(80,0,80)"><span style="color:rgb(80,0,80)">WA-98105</span><div class="gmail-yj6qo gmail-ajU" style="outline:none;padding:10px 0px;width:22px;margin:2px 0px 0px;color:rgb(80,0,80)"><br class="gmail-Apple-interchange-newline"></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Jan 23, 2021 at 1:09 AM Lorenzo Paulatto <<a href="mailto:paulatz@gmail.com">paulatz@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>Did you recompile le code after changing it?</div><br><div><u></u>--<br><span style="font-size:0.9em;color:gray">Lorenzo Paulatto - Paris<span></span></span><u></u></div><div>On Jan 23 2021, at 7:27 am, Shivesh Sivakumar <<a href="mailto:shiveshsivakumar@gmail.com" target="_blank">shiveshsivakumar@gmail.com</a>> wrote:</div><blockquote><div><div>Dear Lorenzo,</div><br><div>Thank you very much for the hint. I have narrowed down the parameters that I'm looking for in the file electrons.f90. I've also made required modifications. But just overwriting these changes are not going to do the job right? Because these changes are not reflected in the electrons.o object file which presumably gets executed? I'm not really sure how to reflect the changes in the fortran code to the executable, so that pw.x calls the updated file. </div><br><div>Again, thank you very much for your help. </div><br><div><span style="color:rgb(80,0,80)">Sincerely,</span></div><div><span style="color:rgb(80,0,80)">Shivesh Sivakumar</span></div><div><span style="color:rgb(80,0,80)">University of Washington-Seattle</span></div><div><span style="color:rgb(80,0,80)">WA-98105</span>  </div></div><br><div class="gmail_quote"><div class="gmail_attr"><div>On Fri, Jan 22, 2021 at 12:03 AM Lorenzo Paulatto <<a href="mailto:paulatz@gmail.com" title="mailto:paulatz@gmail.com" target="_blank">paulatz@gmail.com</a>> wrote:</div></div><blockquote><br><br><div>On Jan 22 2021, at 5:24 am, Shivesh Sivakumar <<a href="mailto:shiveshsivakumar@gmail.com" title="mailto:shiveshsivakumar@gmail.com" target="_blank">shiveshsivakumar@gmail.com</a>> wrote:</div><blockquote><div><div>I am looking to deconstruct the total energy from my DFT calculation into its different components, including exchange and correlation.</div></div></blockquote><div><br><div>Some detail is written at each SCF step:</div><div><font style="font-family:monospace">!    total energy              =   -2165.02128665 Ry</font></div><div><font style="font-family:monospace">     estimated scf accuracy    <          7.8E-13 Ry</font></div><div><font style="font-family:monospace">     smearing contrib. (-TS)   =       0.00106813 Ry</font></div><div><font style="font-family:monospace">     internal energy E=F+TS    =   -2165.02235478 Ry</font></div><br><div><font style="font-family:monospace">     The total energy is F=E-TS. E is the sum of the following terms:</font></div><div><font style="font-family:monospace">     one-electron contribution =    -814.89710227 Ry</font></div><div><font style="font-family:monospace">     hartree contribution      =     541.02007057 Ry</font></div><div><font style="font-family:monospace">     xc contribution           =    -540.16756065 Ry</font></div><div><font style="font-family:monospace">     ewald contribution        =   -1350.97776243 Ry</font></div><br><div>You can have more details by modifying electrons.f90 around line 1400, i.e. to print <font style="font-family:monospace">etxc </font>and<font style="font-family:monospace"> etxcc </font>separately.</div><div>hth</div><br><div><div>--</div><div><span style="color:gray"><font style="font-size:0.9em">Dr. Lorenzo Paulatto</font></span></div><div><span style="color:gray"><font style="font-size:0.9em">IdR @ IMPMC -- CNRS & Sorbonne Université</font></span></div><div><span style="color:gray"><font style="font-size:0.9em">phone: +33 (0)1 442 79822 / skype: paulatz</font></span></div><div><span style="color:gray"><font style="font-size:0.9em"><a href="http://www-int.impmc.upmc.fr/~paulatto/" title="http://www-int.impmc.upmc.fr/~paulatto/" target="_blank">http://www-int.impmc.upmc.fr/~paulatto/</a></font></span><span style="color:gray"><font style="font-size:0.9em"> </font></span><span style="color:gray"><font style="font-size:0.9em"><a href="http://sf.net/p/d3q" title="http://sf.net/p/d3q" target="_blank">http://sf.net/p/d3q</a></font></span></div><div><span style="color:gray"><font style="font-size:0.9em">23-24/423, BC 115, 4 place Jussieu 75252 Paris Cédex 05</font></span></div></div></div><div>_______________________________________________</div><div>Quantum ESPRESSO is supported by MaX (<a href="http://www.max-centre.eu" title="http://www.max-centre.eu" target="_blank">www.max-centre.eu</a>)</div><div>users mailing list <a href="mailto:users@lists.quantum-espresso.org" title="mailto:users@lists.quantum-espresso.org" target="_blank">users@lists.quantum-espresso.org</a></div><div><a href="https://lists.quantum-espresso.org/mailman/listinfo/users" title="https://lists.quantum-espresso.org/mailman/listinfo/users" target="_blank">https://lists.quantum-espresso.org/mailman/listinfo/users</a></div></blockquote></div><div>_______________________________________________</div><div>Quantum ESPRESSO is supported by MaX (<a href="http://www.max-centre.eu" target="_blank">www.max-centre.eu</a>)</div><div>users mailing list <a href="mailto:users@lists.quantum-espresso.org" target="_blank">users@lists.quantum-espresso.org</a></div><div><a href="https://lists.quantum-espresso.org/mailman/listinfo/users" target="_blank">https://lists.quantum-espresso.org/mailman/listinfo/users</a></div></blockquote>_______________________________________________<br>
Quantum ESPRESSO is supported by MaX (<a href="http://www.max-centre.eu" rel="noreferrer" target="_blank">www.max-centre.eu</a>)<br>
users mailing list <a href="mailto:users@lists.quantum-espresso.org" target="_blank">users@lists.quantum-espresso.org</a><br>
<a href="https://lists.quantum-espresso.org/mailman/listinfo/users" rel="noreferrer" target="_blank">https://lists.quantum-espresso.org/mailman/listinfo/users</a></blockquote></div></div>