<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Malathe,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I usually use vc-relax, so I dont know if it is the same in the relaxation calculation you are using, but the last step of vc-relax is a scf calculation with the relaxed structure.  I just checked an old output file and you can check for this line in your relax
 output:</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span>End of BFGS Geometry Optimization</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<div><br>
</div>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span>     Final enthalpy =    -395.6714252266 Ry</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span>[...]</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span><br>
</span></div>
</blockquote>
<blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;">
<div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span> A final scf calculation at the relaxed structure.</span></div>
</div>
<div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<div>     The G-vectors are recalculated for the final unit cell</div>
</div>
</div>
<div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<div>     Results may differ from those at the preceding step.</div>
<div><br>
</div>
</div>
</div>
<div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
[...]</div>
</div>
<div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
</div>
<div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
!    total energy              =    -395.66904355 Ry</div>
</div>
</blockquote>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
The energies are slightly different.  If you are not satisfied with this energy you could of course perform a scf calculation on the relaxed structure and check that the energy is the same.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Good luck,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Brad</div>
<div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span></span></div>
<div id="Signature">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
--------------------------------------------------------</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Bradly Baer</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span style="font-family:Calibri,Arial,Helvetica,sans-serif; background-color:rgb(255,255,255); display:inline!important">Graduate Research Assistant, Walker Lab</span><br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span style="font-family:Calibri,Arial,Helvetica,sans-serif; background-color:rgb(255,255,255); display:inline!important">Interdisciplinary Materials Science</span><br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Vanderbilt University</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
</div>
</div>
<div id="appendonsend"></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 Malathe Khalil <malathe.zero1@gmail.com><br>
<b>Sent:</b> Sunday, May 17, 2020 11:43 AM<br>
<b>To:</b> Quantum ESPRESSO users Forum <users@lists.quantum-espresso.org><br>
<b>Subject:</b> Re: [QE-users] (no subject)</font>
<div> </div>
</div>
<div>
<div dir="auto">
<div>Dear Fabrizio </div>
<div dir="auto">I want to calculate the adsorption energy of a molecule on a surface. </div>
<div dir="auto">So I need the total energy of the clean slab. </div>
<div dir="auto">Can I just take the total energy from relax calculations output or I have to run scf ? </div>
<div dir="auto"><br>
</div>
<div dir="auto">Thanks </div>
<div dir="auto">Malathe </div>
<div dir="auto"><br>
<div class="x_gmail_quote" dir="auto">
<div dir="ltr" class="x_gmail_attr">On Sun, 17 May 2020, 6:04 pm Fabrizio Cossu, <<a href="mailto:fabrizio.cossu@apctp.org">fabrizio.cossu@apctp.org</a>> wrote:<br>
</div>
<blockquote class="x_gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div dir="ltr">
<div dir="ltr"><br>
</div>
<br>
<div class="x_gmail_quote">
<div dir="ltr" class="x_gmail_attr">On Sun, 17 May 2020 at 22:19, Malathe Khalil <<a href="mailto:malathe.zero1@gmail.com" target="_blank" rel="noreferrer">malathe.zero1@gmail.com</a>> wrote:<br>
</div>
<blockquote class="x_gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
<div dir="auto">Dear QE users 
<div dir="auto">What is the difference between the total energy generated by relax calculations and scf calculations? </div>
</div>
</blockquote>
<div>A structural relaxation is a scf calculation. Perhaps you mean a fixed point scf calculation, i.e. without updating the positions.<br>
</div>
<blockquote class="x_gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
<div dir="auto">
<div dir="auto"><br>
</div>
<div dir="auto">When I do relax calculations do I need to do scf calculations also?<br>
</div>
</div>
</blockquote>
<div>It depends on what you want to do. Do you want to compute some quantity self-consistently? AFAIK, some calculations require a different parameter set WRT the relaxation.<br>
</div>
<blockquote class="x_gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
<div dir="auto">
<div dir="auto"></div>
<div dir="auto"><br>
</div>
<div dir="auto">Thanks</div>
<div dir="auto">Malathe </div>
<div dir="auto"><br>
</div>
</div>
_______________________________________________<br>
Quantum ESPRESSO is supported by MaX (<a href="https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.max-centre.eu%2Fquantum-espresso&data=02%7C01%7Cbradly.b.baer%40vanderbilt.edu%7C8c38d872a03b4530f4db08d7fa817eca%7Cba5a7f39e3be4ab3b45067fa80faecad%7C0%7C1%7C637253306403248372&sdata=1zBMO0gyZXTG0VC7EAUUOJQZkBe2cOYryB%2BpzA1n1i8%3D&reserved=0" originalsrc="http://www.max-centre.eu/quantum-espresso" shash="BelY0t9eCXR2/XT3MHy04VdvoSZW7Q7Ai0J5csKyKfJ0Ji0UJAeuoisTe0l9UyVkhhMG2jQY2JSeWJzBkNILC7r+zyCMEyvrVO0iOCgNIkZpRtjFfjqFeMwEA8DcRlwPrHRbeI9mOrFRViGBeXGSVYQo7fcnS8XLDtlYt01J1jw=" rel="noreferrer noreferrer" target="_blank">www.max-centre.eu/quantum-espresso</a>)<br>
users mailing list <a href="mailto:users@lists.quantum-espresso.org" target="_blank" rel="noreferrer">
users@lists.quantum-espresso.org</a><br>
<a href="https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.quantum-espresso.org%2Fmailman%2Flistinfo%2Fusers&data=02%7C01%7Cbradly.b.baer%40vanderbilt.edu%7C8c38d872a03b4530f4db08d7fa817eca%7Cba5a7f39e3be4ab3b45067fa80faecad%7C0%7C1%7C637253306403258371&sdata=uw4H2%2BskQbIl4csuZTN%2BAG9JXXsqSz94luLjXEpgWuM%3D&reserved=0" originalsrc="https://lists.quantum-espresso.org/mailman/listinfo/users" shash="tvbZTQEx1VS76S4k1oiA57yohhGO0F7Q6jc4jm+gsG3eLN2SQFTEducHQ7jIewc9vvqilP8FwnLe2lGdh3ky1C8ZwA2ttYdGi2IxjpP9XzAX9bV7727/dMt7WfMSJgqXMMPKanFzck8Mfv26qPdvq+GxcxeZODdJ1odp13TfnD0=" rel="noreferrer noreferrer" target="_blank">https://lists.quantum-espresso.org/mailman/listinfo/users</a></blockquote>
</div>
</div>
_______________________________________________<br>
Quantum ESPRESSO is supported by MaX (<a href="https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.max-centre.eu%2Fquantum-espresso&data=02%7C01%7Cbradly.b.baer%40vanderbilt.edu%7C8c38d872a03b4530f4db08d7fa817eca%7Cba5a7f39e3be4ab3b45067fa80faecad%7C0%7C1%7C637253306403258371&sdata=mBBcvFRvpd7fsr19FWFi%2FYDrrGU9pwXjDnxs%2FwaRB%2FA%3D&reserved=0" originalsrc="http://www.max-centre.eu/quantum-espresso" shash="a+9M3nwXu2fAKXeTn+xF1g9VZX8aJmMF1JQ5gzVAjcXHiotfxdMCnPImzZBsQIZk1QpVwIBoaAeigMM+n+U3Pg4KLE2r2O+aHqK+FfHYG9ViWBEloqnDgk0elNBK3GhP+1iR/vvxZ4FscpUaMH64llAHQvHSS+fUA2BI5aFlkgE=" rel="noreferrer noreferrer" target="_blank">www.max-centre.eu/quantum-espresso</a>)<br>
users mailing list <a href="mailto:users@lists.quantum-espresso.org" target="_blank" rel="noreferrer">
users@lists.quantum-espresso.org</a><br>
<a href="https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.quantum-espresso.org%2Fmailman%2Flistinfo%2Fusers&data=02%7C01%7Cbradly.b.baer%40vanderbilt.edu%7C8c38d872a03b4530f4db08d7fa817eca%7Cba5a7f39e3be4ab3b45067fa80faecad%7C0%7C1%7C637253306403268359&sdata=zrs65af7%2BynbX3vk5JD8dnASHFFvL8eQtyniXSwBReg%3D&reserved=0" originalsrc="https://lists.quantum-espresso.org/mailman/listinfo/users" shash="jc2HR4f/RxjeGfvLiDKySbCWBf/8h8MXi6xN4iDViWsZbQoRc4tj+3fZqoD9XMjvogXIKLePLhfC6H89R4cI5n3UoMxctSWGEzQww+J/dkbIGOmXFXWZapQ2Bsc7/QcahvXW4jFGPffpap4vGdlYYCTGuEtaPDtK5R9Rge8/K1M=" rel="noreferrer noreferrer" target="_blank">https://lists.quantum-espresso.org/mailman/listinfo/users</a></blockquote>
</div>
</div>
</div>
</div>
</body>
</html>