<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
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 class=""><br class="">
</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>sudo apt-get install execstack</div>
<div class=""><br class="">
</div>
<div class="">And apply it to the QE executables:</div>
<div class=""><br class="">
</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>sudo execstack -s “path-to-executable” </div>
<div class=""><br class="">
</div>
<div class="">Where path-to-executable points to the relevant QE executables in the QE/bin directory. </div>
<div class=""><br class="">
</div>
<div class="">Best,</div>
<div class=""><br class="">
</div>
<div class="">
<div class="">Oliviero Andreussi<br class="">
--<br class="">
Assistant Professor<br class="">
Department of Physics<br class="">
University of North Texas<br class="">
<a href="mailto:oliviero.andreussi@unt.edu" class="">Email: oliviero.andreussi@unt.edu</a> <br class="">
Phone: +1-(940)-369-5316<br class="">
Skype: olivieroandreussi<br class="">
Web: <a href="https://www.materialab.org" class="">https://www.materialab.org</a>
</div>
<div><br class="">
<blockquote type="cite" class="">
<div class="">On Nov 28, 2021, at 9:47 PM, kenneth senados <<a href="mailto:kenneth.senados@ustp.edu.ph" class="">kenneth.senados@ustp.edu.ph</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div dir="auto" class="">Thank you Oliviero Andreussi. This makes sense. I am indeed using WSL. I'll look into this.
<div dir="auto" class=""><br class="">
</div>
<div dir="auto" class="">Ken</div>
</div>
<br class="">
<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" class="">Oliviero.Andreussi@unt.edu</a>> wrote:<br class="">
</div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word;line-break:after-white-space" class="">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 class=""><br class="">
</div>
<div class="">
<div class="">Oliviero Andreussi<br class="">
--<br class="">
Assistant Professor<br class="">
Department of Physics<br class="">
University of North Texas<br class="">
<a href="mailto:oliviero.andreussi@unt.edu" target="_blank" rel="noreferrer" class="">Email: oliviero.andreussi@unt.edu</a> <br class="">
Phone: +1-(940)-369-5316<br class="">
Skype: olivieroandreussi<br class="">
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" originalsrc="https://www.materialab.org/" shash="hOCSMqEzAThFY7h9F59n8ZLX/2wt6hLWQ88jGBWXPRufrKeanBfy89xjkAx+iKGX/Bya1IMvSGMXb/+UbXlSv6szhrwbTvUpOMzGvuFQBMLQ2uuj81mdObaxXLfORNS0vw7X9k/OpwdzHkD8tnc+3rLv5MQq/ENKKgCXAEX6+WQ=" target="_blank" rel="noreferrer" class="">
https://www.materialab.org</a> </div>
<div class=""><br class="">
<blockquote type="cite" class="">
<div class="">On Nov 28, 2021, at 8:52 PM, Oliver Generalao <<a href="mailto:oliver.b.generalao@gmail.com" target="_blank" rel="noreferrer" class="">oliver.b.generalao@gmail.com</a>> wrote:</div>
<br class="">
<div class="">
<div dir="ltr" class="">Context: I encountered this error way back in 2016-2017.
<div class=""><br class="">
</div>
<div class="">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 class="">or you can run QE (<b class="">pw.x</b>) in debug mode to see more details on the error.</div>
</div>
<br class="">
<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" target="_blank" rel="noreferrer" class="">kenneth.senados@ustp.edu.ph</a>> wrote:<br class="">
</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" class="">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 class="">
<div class="">In the &SYSTEM part of an scf input file, I noticed that <br class="">
</div>
<div class=""><br class="">
</div>
<div class=""><font color="#0000ff" class="">&SYSTEM</font></div>
<div class=""><font color="#0000ff" class="">.</font></div>
<div class=""><font color="#0000ff" class="">.</font></div>
<div class=""><font color="#0000ff" class="">occupations='smearing'</font><br class="">
</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">Results to Segmentation Faults like the one below</div>
</div>
<div class=""><br class="">
</div>
<div class="">--------------------------------------------------------------------------<br class="">
</div>
<div class="">Program received signal SIGSEGV: Segmentation fault - invalid memory reference.<br class="">
<br class="">
Backtrace for this error:<br class="">
<br class="">
Program received signal SIGSEGV: Segmentation fault - invalid memory reference.<br class="">
<br class="">
Backtrace for this error:<br class="">
<br class="">
Program received signal SIGSEGV: Segmentation fault - invalid memory reference.<br class="">
<br class="">
Backtrace for this error:<br class="">
<br class="">
Program received signal SIGSEGV: Segmentation fault - invalid memory reference.<br class="">
<br class="">
Backtrace for this error:<br class="">
#0 0x7f23eb2d0d21 in ???<br class="">
#1 0x7f23eb2cfef5 in ???<br class="">
#0 0x7f2e76550d21 in ???<br class="">
#1 0x7f2e7654fef5 in ???<br class="">
#0 0x7f4640c80d21 in ???<br class="">
#1 0x7f4640c7fef5 in ???<br class="">
#0 0x7f87c9b40d21 in ???<br class="">
#1 0x7f87c9b3fef5 in ???<br class="">
#2 0x7f2e761a620f in ???<br class="">
#3 0x7fffc7f775fc in ???<br class="">
#2 0x7f46408d620f in ???<br class="">
#3 0x7fffd5b72ecc in ???<br class="">
#2 0x7f87c979620f in ???<br class="">
#3 0x7ffff9d81c8c in ???<br class="">
#2 0x7f23eaf2620f in ???<br class="">
#3 0x7fffc936f96c in ???<br class="">
--------------------------------------------------------------------------<br class="">
Primary job terminated normally, but 1 process returned<br class="">
a non-zero exit code. Per user-direction, the job has been aborted.<br class="">
--------------------------------------------------------------------------<br class="">
--------------------------------------------------------------------------<br class="">
<br class="">
</div>
<div class=""><br class="">
</div>
<div class="">when smearing is removed, the code runs well.</div>
<div class=""><br class="">
</div>
<div class="">Hope you can help me.</div>
<div class=""><br class="">
</div>
<div class="">Thank you!</div>
<div class=""><br class="">
</div>
<div class="">Ken</div>
</div>
<br class="">
<font size="3" face="Times New Roman" class="">Disclaimer:<br class="">
<i class="">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" class="">USTP</span><i class=""> unless otherwise indicated by an authorized representative of
</i><span style="font-style:italic" class="">USTP</span><i class=""> independent of this message.</i></font>_______________________________________________<br class="">
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" originalsrc="http://www.max-centre.eu/" shash="gLl3tc8K/xkPs8VDxN4jXcuwa9iRX33LQoE7nQQ4H/LB8W7zsiOX+wXVOJkD0gB6OHQ5L68U0Ybgi/gr3klVoLqr7V0bNJgG0O0WNPyE8Qlw1F8jHaWTgRUCWGPWHXY4yc8za5++VISuEZlpOxr1279bpf63nQ3QvYOwxM+vE5M=" rel="noreferrer noreferrer" target="_blank" class="">www.max-centre.eu</a>)<br class="">
users mailing list <a href="mailto:users@lists.quantum-espresso.org" target="_blank" rel="noreferrer" class="">
users@lists.quantum-espresso.org</a><br class="">
<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" originalsrc="https://lists.quantum-espresso.org/mailman/listinfo/users" shash="vsyjjvKFjpTALTpUcGG6J6InVS0ERoMhjj55RSifSEkHyO9hu5alJSA++1l3PUrH27belXaxwy/H1A77orj/GWtToFvygY/xPlU2uxepH410w1SDtjqfPtrda+dfgHwJAJBYqxB3HD9rF36jaZU//Ko7wIIKB9Slg19RYIqRMug=" rel="noreferrer noreferrer" target="_blank" class="">https://lists.quantum-espresso.org/mailman/listinfo/users</a></blockquote>
</div>
_______________________________________________<br class="">
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" originalsrc="http://www.max-centre.eu/" shash="gLl3tc8K/xkPs8VDxN4jXcuwa9iRX33LQoE7nQQ4H/LB8W7zsiOX+wXVOJkD0gB6OHQ5L68U0Ybgi/gr3klVoLqr7V0bNJgG0O0WNPyE8Qlw1F8jHaWTgRUCWGPWHXY4yc8za5++VISuEZlpOxr1279bpf63nQ3QvYOwxM+vE5M=" target="_blank" rel="noreferrer" class="">www.max-centre.eu</a>)<br class="">
users mailing list <a href="mailto:users@lists.quantum-espresso.org" target="_blank" rel="noreferrer" class="">
users@lists.quantum-espresso.org</a><br class="">
<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" originalsrc="https://lists.quantum-espresso.org/mailman/listinfo/users" shash="eDz8Eseo0JM700NcnxK4ubM700AJfLSpjRkpBdAWqMLVsCf6bBnWSHGfQ1g8HGpcF9LzNzsq9dTLwIGuAdERztiVftc2Xl93HoSPTUmlnQVikT4YXnvpgGR7hONy8sFR2uOAYcQSYZzYTHeTxLyZdoMXHhMmE9Gjw8OgVfl4rJQ=" target="_blank" rel="noreferrer" class="">https://lists.quantum-espresso.org/mailman/listinfo/users</a></div>
</blockquote>
</div>
<br class="">
</div>
</div>
_______________________________________________<br class="">
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" originalsrc="http://www.max-centre.eu/" shash="khePtSUGPp4SPpEgb06uWymUlcZMJDbsfWrIw9a2IpytnLTPJM8B2gny464w+y4MbCgvkkK2AdUTl3HKpGr+jLDiiUGD01anE/uJZgpyCVDDEAENdb98qpixlvlDehxmYBM4FnXjRwASaGXEJ5nvHRPA+EV7gOd4Ntl5J7HByug=" rel="noreferrer noreferrer" target="_blank" class="">www.max-centre.eu</a>)<br class="">
users mailing list <a href="mailto:users@lists.quantum-espresso.org" target="_blank" rel="noreferrer" class="">
users@lists.quantum-espresso.org</a><br class="">
<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" originalsrc="https://lists.quantum-espresso.org/mailman/listinfo/users" shash="V6KxhVEpW6cD6z4nCbGolypZcMFiqzroLfn6hwB6ogW9JeJXZa//kI+Eiw+esHGszTbJOqwDOOR0M+fmqOxR5oENURYkYVyQQV26OsHyuScvdPt3PV6pxqE2z8nWnZ0UlnY8sMVONjEfg+TWUR+/HxljK3urhr9JYfW8kYnTP70=" rel="noreferrer noreferrer" target="_blank" class="">https://lists.quantum-espresso.org/mailman/listinfo/users</a></blockquote>
</div>
<br class="">
<font size="3" face="Times New Roman" class="">Disclaimer:<br class="">
<i class="">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" class="">USTP</span><i class=""> unless otherwise indicated by an authorized representative of
</i><span style="font-style:italic" class="">USTP</span><i class=""> independent of this message.</i></font>_______________________________________________<br class="">
Quantum ESPRESSO is supported by MaX (<a href="http://www.max-centre.eu" class="">www.max-centre.eu</a>)<br class="">
users mailing list <a href="mailto:users@lists.quantum-espresso.org" class="">users@lists.quantum-espresso.org</a><br class="">
<a href="https://lists.quantum-espresso.org/mailman/listinfo/users" class="">https://lists.quantum-espresso.org/mailman/listinfo/users</a></div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>