<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body>
<div style="font-family: "segoe ui westeuropean", "segoe ui", helvetica, arial, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
One thing to check is virtual memory fragmentation, e.g. do "cat /proc/buddy_info". (Please google this, the /proc directory has a lot of useful information.)</div>
<div style="font-family: "segoe ui westeuropean", "segoe ui", helvetica, arial, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: "segoe ui westeuropean", "segoe ui", helvetica, arial, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Some sources say that memory fragmentation "does not occur" in Linux, but others that it does. My experience is that it does, and can lead to significant slowdowns. It is not impossible that this is connected if rebooting works (for a bit).</div>
<div><br>
</div>
<div><br>
</div>
<div>
<div></div>
<div style="font-family:Tahoma; font-size:13px">----</div>
<div style="font-family:Tahoma; font-size:13px">Professor Laurence Marks
<div>Department of Materials Science & Engineering</div>
<div>Northwestern University</div>
<div>www.numis.northwestern.edu</div>
<div>"Research is to see what everyone else has seen, and to think what nobody else has thought"</div>
<div>Albert Szent-Gyorgi</div>
</div>
</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> Wien <wien-bounces@zeus.theochem.tuwien.ac.at> on behalf of Fecher, Gerhard <fecher@uni-mainz.de><br>
<b>Sent:</b> Thursday, June 10, 2021 8:03 AM<br>
<b>To:</b> A Mailing list for WIEN2k users <wien@zeus.theochem.tuwien.ac.at><br>
<b>Subject:</b> Re: [Wien] segmentation fault in lapwso</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">Thanks all for the suggestions.<br>
<br>
Finally, restarting the computer helped, no idea what happened.<br>
I will try some more things to reproduce it.<br>
<br>
<br>
(actually it runs with OMP_NUM_THREADS=8, just as test.)<br>
<br>
Ciao<br>
Gerhard<br>
<br>
DEEP THOUGHT in D. Adams; Hitchhikers Guide to the Galaxy:<br>
"I think the problem, to be quite honest with you,<br>
is that you have never actually known what the question is."<br>
<br>
====================================<br>
Dr. Gerhard H. Fecher<br>
Institut of Physics<br>
Johannes Gutenberg - University<br>
55099 Mainz<br>
________________________________________<br>
Von: Wien [wien-bounces@zeus.theochem.tuwien.ac.at] im Auftrag von Peter Blaha [pblaha@theochem.tuwien.ac.at]<br>
Gesendet: Donnerstag, 10. Juni 2021 14:40<br>
An: wien@zeus.theochem.tuwien.ac.at<br>
Betreff: Re: [Wien] segmentation fault in lapwso<br>
<br>
Please set OMP_NUM_THREADS to 1 and rerun.<br>
<br>
I had such a seg.fault once and suspect that there is a problem either<br>
with our OMP parallelization or the pthread-library.<br>
<br>
If I remember correctly, it even worked with OMP_NUM_THREADS=6 ! and my<br>
conclusion was that it was a problem with intel.<br>
<br>
Otherwise, compile with -C and rerun, and/or<br>
<br>
compile with gfortran and openblas if possible<br>
<br>
and finally, we need the case for debugging.<br>
<br>
Regards<br>
<br>
<br>
Am 10.06.2021 um 13:17 schrieb Fecher, Gerhard:<br>
> Dear all,<br>
> while running a -so calculation I hit a segmentation fault in lapwso (see below) with the latest version Wien2k21.1 that does NOT appear in 19.2.<br>
> (appeared for two different systems in fresh directories)<br>
><br>
> Did someone experience the same, or did I miss a report and may be not up to date?<br>
><br>
> I used all settings the same (mostly default values), and the same compilers and options (Intel OneAPI 2021 2.0 and Parallel Studio XE 2017.4.056) for both versions, 21.1 and 19.2<br>
><br>
> forrtl: severe (174): SIGSEGV, segmentation fault occurred<br>
> Image PC Routine Line Source<br>
> lapwso 000000000046CE0A Unknown Unknown Unknown<br>
> libpthread-2.22.s 00002AFBCC6DAB10 Unknown Unknown Unknown<br>
> libiomp5.so 00002AFBCCF2C8E8 Unknown Unknown Unknown<br>
> lapwso 000000000049F7A6 Unknown Unknown Unknown<br>
> lapwso 0000000000421E9E hmsec_ 926 hmsec.F<br>
><br>
> line 926 is; deallocate(meigve)<br>
> indeed, if this is the correct line at all.<br>
><br>
> indeed in 21.2 (I have seen that hmsec.F is different in 19.2)<br>
><br>
> Thanks for any suggestions that help<br>
><br>
> Gerhard<br>
><br>
> DEEP THOUGHT in D. Adams; Hitchhikers Guide to the Galaxy:<br>
> "I think the problem, to be quite honest with you,<br>
> is that you have never actually known what the question is."<br>
><br>
> ====================================<br>
> Dr. Gerhard H. Fecher<br>
> Institut of Physics<br>
> Johannes Gutenberg - University<br>
> 55099 Mainz<br>
> _______________________________________________<br>
> Wien mailing list<br>
> Wien@zeus.theochem.tuwien.ac.at<br>
> <a href="https://urldefense.com/v3/__http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien__;!!Dq0X2DkFhyF93HkjWTBQKhk!D1C_5Q7CL9xXbtDTmbJZHREmTZfAMO3RIbUUgsEfT3VUMQm82xQPTxwyrxn6JPQAXxEQeg$">
https://urldefense.com/v3/__http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien__;!!Dq0X2DkFhyF93HkjWTBQKhk!D1C_5Q7CL9xXbtDTmbJZHREmTZfAMO3RIbUUgsEfT3VUMQm82xQPTxwyrxn6JPQAXxEQeg$</a>
<br>
> SEARCH the MAILING-LIST at: <a href="https://urldefense.com/v3/__http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html__;!!Dq0X2DkFhyF93HkjWTBQKhk!D1C_5Q7CL9xXbtDTmbJZHREmTZfAMO3RIbUUgsEfT3VUMQm82xQPTxwyrxn6JPQGgNWOYg$">
https://urldefense.com/v3/__http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html__;!!Dq0X2DkFhyF93HkjWTBQKhk!D1C_5Q7CL9xXbtDTmbJZHREmTZfAMO3RIbUUgsEfT3VUMQm82xQPTxwyrxn6JPQGgNWOYg$</a>
<br>
<br>
--<br>
-----------------------------------------------------------------------<br>
Peter Blaha, Inst. f. Materials Chemistry, TU Vienna, A-1060 Vienna<br>
Phone: +43-158801165300<br>
Email: peter.blaha@tuwien.ac.at<br>
WWW: <a href="https://urldefense.com/v3/__http://www.imc.tuwien.ac.at__;!!Dq0X2DkFhyF93HkjWTBQKhk!D1C_5Q7CL9xXbtDTmbJZHREmTZfAMO3RIbUUgsEfT3VUMQm82xQPTxwyrxn6JPQvYlbjpw$">
https://urldefense.com/v3/__http://www.imc.tuwien.ac.at__;!!Dq0X2DkFhyF93HkjWTBQKhk!D1C_5Q7CL9xXbtDTmbJZHREmTZfAMO3RIbUUgsEfT3VUMQm82xQPTxwyrxn6JPQvYlbjpw$</a> WIEN2k:
<a href="https://urldefense.com/v3/__http://www.wien2k.at__;!!Dq0X2DkFhyF93HkjWTBQKhk!D1C_5Q7CL9xXbtDTmbJZHREmTZfAMO3RIbUUgsEfT3VUMQm82xQPTxwyrxn6JPQfWvgdRw$">
https://urldefense.com/v3/__http://www.wien2k.at__;!!Dq0X2DkFhyF93HkjWTBQKhk!D1C_5Q7CL9xXbtDTmbJZHREmTZfAMO3RIbUUgsEfT3VUMQm82xQPTxwyrxn6JPQfWvgdRw$</a>
<br>
-------------------------------------------------------------------------<br>
<br>
_______________________________________________<br>
Wien mailing list<br>
Wien@zeus.theochem.tuwien.ac.at<br>
<a href="https://urldefense.com/v3/__http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien__;!!Dq0X2DkFhyF93HkjWTBQKhk!D1C_5Q7CL9xXbtDTmbJZHREmTZfAMO3RIbUUgsEfT3VUMQm82xQPTxwyrxn6JPQAXxEQeg$">https://urldefense.com/v3/__http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien__;!!Dq0X2DkFhyF93HkjWTBQKhk!D1C_5Q7CL9xXbtDTmbJZHREmTZfAMO3RIbUUgsEfT3VUMQm82xQPTxwyrxn6JPQAXxEQeg$</a>
<br>
SEARCH the MAILING-LIST at: <a href="https://urldefense.com/v3/__http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html__;!!Dq0X2DkFhyF93HkjWTBQKhk!D1C_5Q7CL9xXbtDTmbJZHREmTZfAMO3RIbUUgsEfT3VUMQm82xQPTxwyrxn6JPQGgNWOYg$">
https://urldefense.com/v3/__http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html__;!!Dq0X2DkFhyF93HkjWTBQKhk!D1C_5Q7CL9xXbtDTmbJZHREmTZfAMO3RIbUUgsEfT3VUMQm82xQPTxwyrxn6JPQGgNWOYg$</a>
<br>
_______________________________________________<br>
Wien mailing list<br>
Wien@zeus.theochem.tuwien.ac.at<br>
<a href="https://urldefense.com/v3/__http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien__;!!Dq0X2DkFhyF93HkjWTBQKhk!D1C_5Q7CL9xXbtDTmbJZHREmTZfAMO3RIbUUgsEfT3VUMQm82xQPTxwyrxn6JPQAXxEQeg$">https://urldefense.com/v3/__http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien__;!!Dq0X2DkFhyF93HkjWTBQKhk!D1C_5Q7CL9xXbtDTmbJZHREmTZfAMO3RIbUUgsEfT3VUMQm82xQPTxwyrxn6JPQAXxEQeg$</a>
<br>
SEARCH the MAILING-LIST at: <a href="https://urldefense.com/v3/__http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html__;!!Dq0X2DkFhyF93HkjWTBQKhk!D1C_5Q7CL9xXbtDTmbJZHREmTZfAMO3RIbUUgsEfT3VUMQm82xQPTxwyrxn6JPQGgNWOYg$">
https://urldefense.com/v3/__http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html__;!!Dq0X2DkFhyF93HkjWTBQKhk!D1C_5Q7CL9xXbtDTmbJZHREmTZfAMO3RIbUUgsEfT3VUMQm82xQPTxwyrxn6JPQGgNWOYg$</a>
<br>
</div>
</span></font></div>
</body>
</html>