<div dir="ltr">Thank you Oliviero Andreusii.<div><br></div><div>I already tried execstack however, segmentation fault issue with smearing still exists.</div><div><br></div><div>Ken</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Nov 29, 2021 at 1:01 PM Andreussi, Oliviero <<a href="mailto:Oliviero.Andreussi@unt.edu">Oliviero.Andreussi@unt.edu</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 style="overflow-wrap: break-word;">
I am not sure the bug solution is easy to find, here are the details (thanks to Edan Bainglass): you need to install exectstack
<div><br>
</div>
<div><span style="white-space:pre-wrap"></span>sudo apt-get install execstack</div>
<div><br>
</div>
<div>And apply it to the QE executables:</div>
<div><br>
</div>
<div><span style="white-space:pre-wrap"></span>sudo execstack -s “path-to-executable” </div>
<div><br>
</div>
<div>Where path-to-executable points to the relevant QE executables in the QE/bin directory. </div>
<div><br>
</div>
<div>Best,</div>
<div><br>
</div>
<div>
<div>Oliviero Andreussi<br>
--<br>
Assistant Professor<br>
Department of Physics<br>
University of North Texas<br>
<a href="mailto:oliviero.andreussi@unt.edu" target="_blank">Email: oliviero.andreussi@unt.edu</a> <br>
Phone: +1-(940)-369-5316<br>
Skype: olivieroandreussi<br>
Web: <a href="https://www.materialab.org" target="_blank">https://www.materialab.org</a>
</div>
<div><br>
<blockquote type="cite">
<div>On Nov 28, 2021, at 9:47 PM, kenneth senados <<a href="mailto:kenneth.senados@ustp.edu.ph" target="_blank">kenneth.senados@ustp.edu.ph</a>> wrote:</div>
<br>
<div>
<div dir="auto">Thank you Oliviero Andreussi. This makes sense. I am indeed using WSL. I'll look into this.
<div dir="auto"><br>
</div>
<div dir="auto">Ken</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Mon, Nov 29, 2021, 12:04 PM Andreussi, Oliviero <<a href="mailto:Oliviero.Andreussi@unt.edu" target="_blank">Oliviero.Andreussi@unt.edu</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 style="overflow-wrap: break-word;">In case you are trying to run QE-6.8 under windows using gfortran and WSL, there is a known bug of gfortran under WSL that only affects 6.8 when running smearing calculations. The solution
is reported in the QE wiki.
<div><br>
</div>
<div>
<div>Oliviero Andreussi<br>
--<br>
Assistant Professor<br>
Department of Physics<br>
University of North Texas<br>
<a href="mailto:oliviero.andreussi@unt.edu" rel="noreferrer" target="_blank">Email: oliviero.andreussi@unt.edu</a> <br>
Phone: +1-(940)-369-5316<br>
Skype: olivieroandreussi<br>
Web: <a href="https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.materialab.org%2F&data=04%7C01%7Coliviero.andreussi%40unt.edu%7Cba2ce8ebdda24b0ee6d308d9b2eb01cd%7C70de199207c6480fa318a1afcba03983%7C0%7C0%7C637737545754807765%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=99G33aiQwmPC%2Bv9zFuclH%2FaK7lIsJi0Brb5AjSlpmcM%3D&reserved=0" rel="noreferrer" target="_blank">
https://www.materialab.org</a> </div>
<div><br>
<blockquote type="cite">
<div>On Nov 28, 2021, at 8:52 PM, Oliver Generalao <<a href="mailto:oliver.b.generalao@gmail.com" rel="noreferrer" target="_blank">oliver.b.generalao@gmail.com</a>> wrote:</div>
<br>
<div>
<div dir="ltr">Context: I encountered this error way back in 2016-2017.
<div><br>
</div>
<div>If this is your first time to encounter this issue after compiling QE, it is more likely that there were errors thrown during compilation (you may need to check the compilation logs)</div>
<div>or you can run QE (<b>pw.x</b>) in debug mode to see more details on the error.</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Mon, Nov 29, 2021 at 10:04 AM kenneth senados <<a href="mailto:kenneth.senados@ustp.edu.ph" rel="noreferrer" target="_blank">kenneth.senados@ustp.edu.ph</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 dir="ltr">Good day! I Need help with the segmentation fault encountered while running examples in Tutorial 2016 in QE 6.8. The file is Tutorial 2016 > DAY1-TOTAL_ENERGY > PART 4. This is the one for aluminum.
<div>
<div>In the &SYSTEM part of an scf input file, I noticed that <br>
</div>
<div><br>
</div>
<div><font color="#0000ff">&SYSTEM</font></div>
<div><font color="#0000ff">.</font></div>
<div><font color="#0000ff">.</font></div>
<div><font color="#0000ff">occupations='smearing'</font><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>Results to Segmentation Faults like the one below</div>
</div>
<div><br>
</div>
<div>--------------------------------------------------------------------------<br>
</div>
<div>Program received signal SIGSEGV: Segmentation fault - invalid memory reference.<br>
<br>
Backtrace for this error:<br>
<br>
Program received signal SIGSEGV: Segmentation fault - invalid memory reference.<br>
<br>
Backtrace for this error:<br>
<br>
Program received signal SIGSEGV: Segmentation fault - invalid memory reference.<br>
<br>
Backtrace for this error:<br>
<br>
Program received signal SIGSEGV: Segmentation fault - invalid memory reference.<br>
<br>
Backtrace for this error:<br>
#0 0x7f23eb2d0d21 in ???<br>
#1 0x7f23eb2cfef5 in ???<br>
#0 0x7f2e76550d21 in ???<br>
#1 0x7f2e7654fef5 in ???<br>
#0 0x7f4640c80d21 in ???<br>
#1 0x7f4640c7fef5 in ???<br>
#0 0x7f87c9b40d21 in ???<br>
#1 0x7f87c9b3fef5 in ???<br>
#2 0x7f2e761a620f in ???<br>
#3 0x7fffc7f775fc in ???<br>
#2 0x7f46408d620f in ???<br>
#3 0x7fffd5b72ecc in ???<br>
#2 0x7f87c979620f in ???<br>
#3 0x7ffff9d81c8c in ???<br>
#2 0x7f23eaf2620f in ???<br>
#3 0x7fffc936f96c in ???<br>
--------------------------------------------------------------------------<br>
Primary job terminated normally, but 1 process returned<br>
a non-zero exit code. Per user-direction, the job has been aborted.<br>
--------------------------------------------------------------------------<br>
--------------------------------------------------------------------------<br>
<br>
</div>
<div><br>
</div>
<div>when smearing is removed, the code runs well.</div>
<div><br>
</div>
<div>Hope you can help me.</div>
<div><br>
</div>
<div>Thank you!</div>
<div><br>
</div>
<div>Ken</div>
</div>
<br>
<font size="3" face="Times New Roman">Disclaimer:<br>
<i>The information in this electronic message is privileged and confidential, intended only for use of the individual or entity named as addressee and recipient. If you are not the addressee indicated in this message (or responsible for delivery of
the message to such person), you may not copy, use, disseminate or deliver this message. In such case, you should immediately delete this e-mail and notify the sender by reply e-mail. Please advise immediately if you or your employer do not consent to Internet
e-mail for messages of this kind. Opinions, conclusions and other information expressed in this message are not given, nor endorsed by and are not the responsibility of
</i><span style="font-style:italic">USTP</span><i> unless otherwise indicated by an authorized representative of
</i><span style="font-style:italic">USTP</span><i> independent of this message.</i></font>_______________________________________________<br>
Quantum ESPRESSO is supported by MaX (<a href="https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.max-centre.eu%2F&data=04%7C01%7Coliviero.andreussi%40unt.edu%7Cba2ce8ebdda24b0ee6d308d9b2eb01cd%7C70de199207c6480fa318a1afcba03983%7C0%7C0%7C637737545754817723%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=aVp51NDeZg5MHveiJJ0POrZFpwdMx9HqCL3%2Fc03Wvzo%3D&reserved=0" rel="noreferrer noreferrer" target="_blank">www.max-centre.eu</a>)<br>
users mailing list <a href="mailto:users@lists.quantum-espresso.org" rel="noreferrer" target="_blank">
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=04%7C01%7Coliviero.andreussi%40unt.edu%7Cba2ce8ebdda24b0ee6d308d9b2eb01cd%7C70de199207c6480fa318a1afcba03983%7C0%7C0%7C637737545754817723%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=jGZEL9KEetHzyvLt8WSc6GnbSWi6w1vEbnen9kaZHHA%3D&reserved=0" rel="noreferrer noreferrer" target="_blank">https://lists.quantum-espresso.org/mailman/listinfo/users</a></blockquote>
</div>
_______________________________________________<br>
Quantum ESPRESSO is supported by MaX (<a href="https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.max-centre.eu%2F&data=04%7C01%7Coliviero.andreussi%40unt.edu%7Cba2ce8ebdda24b0ee6d308d9b2eb01cd%7C70de199207c6480fa318a1afcba03983%7C0%7C0%7C637737545754817723%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=aVp51NDeZg5MHveiJJ0POrZFpwdMx9HqCL3%2Fc03Wvzo%3D&reserved=0" rel="noreferrer" target="_blank">www.max-centre.eu</a>)<br>
users mailing list <a href="mailto:users@lists.quantum-espresso.org" rel="noreferrer" target="_blank">
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=04%7C01%7Coliviero.andreussi%40unt.edu%7Cba2ce8ebdda24b0ee6d308d9b2eb01cd%7C70de199207c6480fa318a1afcba03983%7C0%7C0%7C637737545754827677%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=9nRDjB0AkyEwq877icJptjaBPvJQxG5AwcGRQvkece4%3D&reserved=0" rel="noreferrer" target="_blank">https://lists.quantum-espresso.org/mailman/listinfo/users</a></div>
</blockquote>
</div>
<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%2F&data=04%7C01%7Coliviero.andreussi%40unt.edu%7Cba2ce8ebdda24b0ee6d308d9b2eb01cd%7C70de199207c6480fa318a1afcba03983%7C0%7C0%7C637737545754827677%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=0hsrA3uKFGjHYKnni%2BhtWfDQwcFS9%2FA6i4W8K9rFDKA%3D&reserved=0" rel="noreferrer noreferrer" target="_blank">www.max-centre.eu</a>)<br>
users mailing list <a href="mailto:users@lists.quantum-espresso.org" rel="noreferrer" target="_blank">
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=04%7C01%7Coliviero.andreussi%40unt.edu%7Cba2ce8ebdda24b0ee6d308d9b2eb01cd%7C70de199207c6480fa318a1afcba03983%7C0%7C0%7C637737545754837634%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=yx%2FiWZ9zqLu3ZChuXNSEUSd2%2BHuljxH2KHu%2BlX1eDHs%3D&reserved=0" rel="noreferrer noreferrer" target="_blank">https://lists.quantum-espresso.org/mailman/listinfo/users</a></blockquote>
</div>
<br>
<font size="3" face="Times New Roman">Disclaimer:<br>
<i>The information in this electronic message is privileged and confidential, intended only for use of the individual or entity named as addressee and recipient. If you are not the addressee indicated in this message (or responsible for delivery of
the message to such person), you may not copy, use, disseminate or deliver this message. In such case, you should immediately delete this e-mail and notify the sender by reply e-mail. Please advise immediately if you or your employer do not consent to Internet
e-mail for messages of this kind. Opinions, conclusions and other information expressed in this message are not given, nor endorsed by and are not the responsibility of
</i><span style="font-style:italic">USTP</span><i> unless otherwise indicated by an authorized representative of
</i><span style="font-style:italic">USTP</span><i> independent of this message.</i></font>_______________________________________________<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@lists.quantum-espresso.org" target="_blank">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></div>
</blockquote>
</div>
<br>
</div>
</div>
_______________________________________________<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>
<br>
<font size="3" face="Times New Roman" color="Black">Disclaimer:<br><i>The information
in this electronic message is privileged and confidential, intended only
for use of the individual or entity named as addressee and recipient.
If you are not the addressee indicated in this message (or responsible
for delivery of the message
to such person), you may not copy, use, disseminate or deliver this
message. In such case, you should immediately delete this e-mail and
notify the sender by reply e-mail. Please advise immediately if you or
your employer do not consent to Internet e-mail
for messages of this kind. Opinions, conclusions and other information
expressed in this message are not given, nor endorsed by and are not the
responsibility of </i><span style="font-style:italic">USTP</span><i> unless otherwise indicated by an authorized representative of </i><span style="font-style:italic">USTP</span><i> independent of this message.</i></font>