<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div class="elementToProof" style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I tried this, </div>
<div class="elementToProof" style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
in file case.scfm I got "Input file corruption"...</div>
<div class="elementToProof" style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
If we assume that this is a problem with the file system, does it make sense to write the file twice (say *broyd.1backup) and if *broyd.1 cannot be read, switch to reading *broyd.1backup?</div>
<div class="elementToProof" style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
About "different versions of ifort", I don't think so, because problem often is happend nth-cycle. </div>
<div class="elementToProof" style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
 - Gregory</div>
<div id="appendonsend"></div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>От:</b> Wien <wien-bounces@zeus.theochem.tuwien.ac.at> от имени Laurence Marks <laurence.marks@gmail.com><br>
<b>Отправлено:</b> 14 января 2025 г. 17:04<br>
<b>Кому:</b> A Mailing list for WIEN2k users <wien@zeus.theochem.tuwien.ac.at><br>
<b>Тема:</b> Re: [Wien] rewind case.boyd1 error (mixer, qmix9.f)</font>
<div> </div>
</div>
<div>
<div dir="auto">
<div>One possibility is that you have different versions of ifort (if that is what you used) on the node where you compiled the code and one or more of those used to run it. Check with your sys admin about this. You may be able to use static linking to overcome
 this if the cluster is heterogeneous.</div>
<div><br>
</div>
<div data-smartmail="gmail_signature">---<br>
Emeritus Professor Laurence Marks (Laurie)<br>
<a href="http://www.numis.northwestern.edu" data-auth="NotApplicable">www.numis.northwestern.edu</a><br>
<a href="https://scholar.google.com/citations?user=zmHhI9gAAAAJ&hl=en" data-auth="NotApplicable">https://scholar.google.com/citations?user=zmHhI9gAAAAJ&hl=en</a><br>
"Research is to see what everybody else has seen, and to think what nobody else has thought" Albert Szent-Györgyi</div>
</div>
<br>
<div class="x_gmail_quote x_gmail_quote_container">
<div dir="ltr" class="x_gmail_attr">On Tue, Jan 14, 2025, 05:03 Laurence Marks <<a href="mailto:laurence.marks@gmail.com">laurence.marks@gmail.com</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="auto">
<div>
<div>I suspect the file got corrupted. Please change those lines to</div>
<div dir="auto"><br>
</div>
<div>9901 dmix_tmp =1.D0</div>
<div dir="auto">        BetaS_tmp=1.D0</div>
<div dir="auto">        Write(21,*)'Input file corruption'</div>
<div dir="auto">9902 rewind(31)</div>
<div dir="auto"><br>
</div>
<div dir="auto">This won't cure the issue, but will be a diagnostic. I will send something more later.</div>
<div dir="auto">Explanation: just above this the code is reading in some stored parameters. If I am right this has gone wrong, and it has jumped to 9901. Why the rewind is failing I don't understand. My only guess is a right issue or some file corruption'.
 The addition will test if my guess is right.</div>
<div data-smartmail="gmail_signature">___<br>
Emeritus Professor Laurence Marks (Laurie)<br>
Department of Materials Science and Engineering, Northwestern University<br>
<a href="http://www.numis.northwestern.edu" data-auth="NotApplicable">www.numis.northwestern.edu</a><br>
"Research is to see what everybody else has seen, and to think what nobody else has thought" Albert Szent-Györgyi</div>
<br>
<div class="x_gmail_quote">
<div dir="ltr" class="x_gmail_attr">On Tue, Jan 14, 2025, 04:45 Sergeev Gregory <<a href="mailto:sgregory@live.ru">sgregory@live.ru</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 style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Thank you for quick reply,</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
I use version 24.1, 126 line is:</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
9901    dmix_tmp =1.D0</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
        BetaS_tmp=1.D0</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
9902    rewind(31) <---- 126 line</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
!</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
!       Cleanup ATLIM without atoms</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Hope it will help to catch problem.</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
 - Gregory</div>
<div id="x_m_-4025500360331167236m_-1193009813489373712m_-7104910123083362702appendonsend">
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<hr style="display:inline-block; width:98%">
<div id="x_m_-4025500360331167236m_-1193009813489373712m_-7104910123083362702divRplyFwdMsg" dir="ltr">
<font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>От:</b> Wien <<a href="mailto:wien-bounces@zeus.theochem.tuwien.ac.at">wien-bounces@zeus.theochem.tuwien.ac.at</a>> от имени Laurence Marks <<a href="mailto:laurence.marks@gmail.com">laurence.marks@gmail.com</a>><br>
<b>Отправлено:</b> 14 января 2025 г. 13:19<br>
<b>Кому:</b> A Mailing list for WIEN2k users <<a href="mailto:wien@zeus.theochem.tuwien.ac.at">wien@zeus.theochem.tuwien.ac.at</a>><br>
<b>Тема:</b> Re: [Wien] rewind case.boyd1 error (mixer, qmix9.f)</font>
<div> </div>
</div>
<div>
<div dir="auto">
<div>You have not provided enough information. It looks like you are using an old version:</div>
<div dir="auto"><br>
</div>
<div dir="auto">What version of Wien2k?</div>
<div dir="auto">What release of the mixer (stated in case.scfm)?</div>
<div dir="auto">What compiler?</div>
<div dir="auto">What is line 126 of qmix9.f in your version?</div>
<div dir="auto"><br>
</div>
<div dir="auto">You can't recreate the file. It may have got corrupted when a job ended or for another reason such as a bad calculation.</div>
<div><br>
</div>
<div data-smartmail="gmail_signature">___<br>
Emeritus Professor Laurence Marks (Laurie)<br>
Department of Materials Science and Engineering, Northwestern University<br>
<a href="http://www.numis.northwestern.edu" data-auth="NotApplicable">www.numis.northwestern.edu</a><br>
"Research is to see what everybody else has seen, and to think what nobody else has thought" Albert Szent-Györgyi</div>
</div>
<br>
<div>
<div dir="ltr">On Tue, Jan 14, 2025, 02:13 Sergeev Gregory <<a href="mailto:sgregory@live.ru">sgregory@live.ru</a>> wrote:<br>
</div>
<blockquote style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div dir="ltr">
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Dear developers,</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
I do my calculations on hpc with slurm system with lustre and from time to time my task crash (approxymatly each 5th task) with error:</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
forrtl: Invalid argument</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
forrtl: severe (20): REWIND error, unit 31, file .../case.broyd1</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Image              PC                Routine            Line        Source             </div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
mixer              0000000000487B4C  Unknown               Unknown  Unknown</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
mixer              00000000004AD18C  Unknown               Unknown  Unknown</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
mixer              0000000000458151  qmix9_                    126  qmix9.f</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
mixer              0000000000419B5B  MAIN__                   1600  mixer.F</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
mixer              0000000000403A7E  Unknown               Unknown  Unknown</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<a href="http://libc-2.12.so" data-auth="NotApplicable">libc-2.12.so</a>       0000003EC121ED1D  __libc_start_main     Unknown  Unknown</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
mixer              0000000000403929  Unknown               Unknown  Unknown  </div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Is there a solution to this problem?</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Can I delete the file and create a new one with the same name without breaking the functionality in case of rewind's iostat != 0?</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
This problem is very annoying, I will be grateful if you help me find a solution.</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
 - Gregory</div>
</div>
_______________________________________________<br>
Wien mailing list<br>
<a href="mailto:Wien@zeus.theochem.tuwien.ac.at">Wien@zeus.theochem.tuwien.ac.at</a><br>
<a href="http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien" data-auth="NotApplicable">http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien</a><br>
SEARCH the MAILING-LIST at:  <a href="http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html" data-auth="NotApplicable">
http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html</a><br>
</blockquote>
</div>
</div>
</div>
_______________________________________________<br>
Wien mailing list<br>
<a href="mailto:Wien@zeus.theochem.tuwien.ac.at">Wien@zeus.theochem.tuwien.ac.at</a><br>
<a href="http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien" data-auth="NotApplicable">http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien</a><br>
SEARCH the MAILING-LIST at:  <a href="http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html" data-auth="NotApplicable">
http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html</a><br>
</blockquote>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</body>
</html>