<div>Did you recompile le code after changing it?</div><br><div><signature id="local-80497166-1ed1">--<br><span style="font-size:0.9em;color:gray;">Lorenzo Paulatto - Paris<span></span></span></signature></div><div class="gmail_quote_attribution">On Jan 23 2021, at 7:27 am, Shivesh Sivakumar <shiveshsivakumar@gmail.com> 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">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">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/">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">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">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">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">https://lists.quantum-espresso.org/mailman/listinfo/users</a></div></blockquote></div><div>_______________________________________________</div><div>Quantum ESPRESSO is supported by MaX (www.max-centre.eu)</div><div>users mailing list users@lists.quantum-espresso.org</div><div>https://lists.quantum-espresso.org/mailman/listinfo/users</div></blockquote>