<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;" dir="ltr">
<p>Hi Gavin,</p>
<p><br>
</p>
<p>I have compiled Wien2k with -O0 option but it still failed with BACKSPACE error at <span style="font-size: 12pt;">LAPWSO. </span></p>
<p><span style="font-size: 12pt;">I have tried to run the same calculation in a different cluster where I have </span><span style="font-size: 12pt;">compiled Wien2k14.2 </span></p>
<p><span style="font-size: 12pt;">with intel/2016 and looks like this error message doesn't
</span><span style="font-size: 12pt;">appear. Although t</span><span style="font-size: 12pt;">he job crashed with </span></p>
<p><span style="font-size: 12pt;">virtual memory error but at least it produced some </span><span style="font-size: 12pt;">output files from LAPWSO before it crashed. </span></p>
<p><span style="font-size: 12pt;">SO I guess the problem is with intel/2017 </span><span style="font-size: 12pt;">compiler. </span></p>
<p><br>
</p>
<p>Thanks again for your reply.</p>
<p><br>
</p>
<p>Regards,</p>
<p>Fhokrul</p>
<p><br>
</p>
<br>
<br>
<div style="color: rgb(0, 0, 0);">
<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>From:</b> Wien <wien-bounces@zeus.theochem.tuwien.ac.at> on behalf of Gavin Abo <gsabo@crimson.ua.edu><br>
<b>Sent:</b> Wednesday, March 22, 2017 5:20 AM<br>
<b>To:</b> A Mailing list for WIEN2k users<br>
<b>Subject:</b> Re: [Wien] BACKSPACE error in lapwso calculation</font>
<div> </div>
</div>
<div>
<div class="moz-cite-prefix">I cannot say for sure, but I would suspect that it is caused by an Intel Fortran bug.<br>
<br>
Previously, you reported an "end-of-file during read" error [1] with intel/2017 [2]. And now, you report "BACKSPACE error", which is another file reading error. Maybe the errors observed in 2016 Update 3 [3] haven't entirely been resolved in intel/2017.
<br>
<br>
Did this error occur when WIEN2k was compiled with -O0? If not, I suggest trying it to see if the error goes away or not.<br>
<br>
Version 15 had a BACKSPACE bug in the run-time library (RTL) [4]. So if there is a bug, it might come from this library. Have you tried the calculation when WIEN2k was compiled with the dynamic libraries, then again with the static libraries using the Intel
link advisor [5]? If not, you might give that a try. I think I encountered a Fortran bug once in one of the buggy 12 versions were an error occurred with the dynamic libraries, but not with the static ones. Though, maybe it won't help in this case, since
it looks like the static and dynamic linking uses the same library file (libiomp5.so) [6].<br>
<br>
How large is the 1Mn.vectordn_1 file in size? Do these errors only occur with calculations with large files sizes and smaller file size calculations using the same sequence of WIEN2k program commands work fine? Perhaps it could be a big data issue if that
is the case. I don't remember where I saw it, but I thought I read somewhere that when there are clusters and big data are involved, they can be more complex to handle.<br>
<br>
I don't know if there is a boundary limit on the amount of data BACKSPACE can handle [7]. I'm not able to see from the Intel documentation whether say a small BLOCKSIZE [8,9] could slow down the read, perhaps lead to a time out, and cause such an error. Also,
it is not clear whether or not it could be caused by a memory leak or memory limit from BACKSPACE using n - 1 successive READs [10, 11]. It might help to ask the experts about the error on the Intel forum [12].<br>
<br>
[1] <a class="moz-txt-link-freetext" href="http://zeus.theochem.tuwien.ac.at/pipermail/wien/2017-March/026101.html" id="LPlnk888943" previewremoved="true">
http://zeus.theochem.tuwien.ac.at/pipermail/wien/2017-March/026101.html</a><br>
[2] <a class="moz-txt-link-freetext" href="http://zeus.theochem.tuwien.ac.at/pipermail/wien/2017-March/026106.html" id="LPlnk11528" previewremoved="true">
http://zeus.theochem.tuwien.ac.at/pipermail/wien/2017-March/026106.html</a><br>
[3] <a class="moz-txt-link-freetext" href="https://software.intel.com/en-us/articles/read-failure-unformatted-file-io-psxe-16-update-3" id="LPlnk127564" previewremoved="true">
https://software.intel.com/en-us/articles/read-failure-unformatted-file-io-psxe-16-update-3</a><br>
<br>
[4] <a class="moz-txt-link-freetext" href="https://software.intel.com/en-us/forums/intel-visual-fortran-compiler-for-windows/topic/549033" id="LPlnk906175" previewremoved="true">
https://software.intel.com/en-us/forums/intel-visual-fortran-compiler-for-windows/topic/549033</a><br>
<br>
[5] <a class="moz-txt-link-freetext" href="https://software.intel.com/en-us/articles/intel-mkl-link-line-advisor" id="LPlnk983011" previewremoved="true">
https://software.intel.com/en-us/articles/intel-mkl-link-line-advisor</a><br>
<br>
[6] <a class="moz-txt-link-freetext" href="https://software.intel.com/en-us/node/528514" id="LPlnk127303" previewremoved="true">
https://software.intel.com/en-us/node/528514</a><br>
<br>
[7] <a class="moz-txt-link-freetext" href="https://software.intel.com/en-us/forums/intel-visual-fortran-compiler-for-windows/topic/274239" id="LPlnk888749" previewremoved="true">
https://software.intel.com/en-us/forums/intel-visual-fortran-compiler-for-windows/topic/274239</a><br>
<br>
[8] <a class="moz-txt-link-freetext" href="http://kiwi.atmos.colostate.edu/rr/tidbits/intel/macintel/doc_files/source/extfile/optaps_for/fortran/optaps_prg_io_f.htm" id="LPlnk515915" previewremoved="true">
http://kiwi.atmos.colostate.edu/rr/tidbits/intel/macintel/doc_files/source/extfile/optaps_for/fortran/optaps_prg_io_f.htm</a><br>
<br>
[9] <a class="moz-txt-link-freetext" href="https://software.intel.com/en-us/node/678835" id="LPlnk257876" previewremoved="true">
https://software.intel.com/en-us/node/678835</a><br>
<br>
[10] <a class="moz-txt-link-freetext" href="https://software.intel.com/en-us/forums/intel-visual-fortran-compiler-for-windows/topic/593848" id="LPlnk668274" previewremoved="true">
https://software.intel.com/en-us/forums/intel-visual-fortran-compiler-for-windows/topic/593848</a><br>
<br>
[11] <a class="moz-txt-link-freetext" href="https://software.intel.com/en-us/node/692589?language=en" id="LPlnk815619" previewremoved="true">
https://software.intel.com/en-us/node/692589?language=en</a><br>
[12] <a class="moz-txt-link-freetext" href="https://software.intel.com/en-us/forums/intel-fortran-compiler-for-linux-and-mac-os-x" id="LPlnk359727" previewremoved="true">
https://software.intel.com/en-us/forums/intel-fortran-compiler-for-linux-and-mac-os-x</a><br>
<br>
<br>
On 3/21/2017 8:46 AM, Md. Fhokrul Islam wrote:<br>
</div>
<blockquote type="cite">
<div id="divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:#000000; font-family:Calibri,Arial,Helvetica,sans-serif">
<div id="divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:#000000; font-family:Calibri,Arial,Helvetica,sans-serif">
<div>Hi Prof Blaha and Wien2k users,</div>
<div><br>
</div>
<div>I am running a surface supercell calculation with spin-orbit interaction using non-scf</div>
<div>method. While LAPW1 worked fine and produced the energy and scf1 files correctly,</div>
<div>LAPWSO failed with BACKSPACE error. Please see the error message below. I have checked </div>
<div>the get_nloat.f file and while there is a BACKSPACE statement in line 22 but it is <span style="font-size:12pt">not </span></div>
<div><span style="font-size:12pt">obvious to me why there is a problem to execute this line. Somewhere it seems to have</span></div>
<div><span style="font-size:12pt">generated an '<span style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px">forrtl: Invalid argument' after LAPW1 but not sure why.</span> I am using Wien2k_16 </span></div>
<div><span style="font-size:12pt">which I </span><span style="font-size:12pt">have compiled with intel/2017.</span></div>
<div><br>
</div>
<div><span style="font-size:12pt"> LAPW1 END</span><br>
</div>
<div> LAPW1 END</div>
<div> LAPW1 END</div>
<div> LAPW1 END</div>
<div> LAPW1 END</div>
<div> LAPW1 END</div>
<div> LAPW1 END</div>
<div> LAPW1 END</div>
<div>forrtl: Invalid argument</div>
<div>forrtl: severe (23): BACKSPACE error, unit 9, file /scratch/1Mn.vectordn_1</div>
<div>Image PC Routine Line Source</div>
<div>lapwso 0000000001D5AFBC Unknown Unknown Unknown</div>
<div>lapwso 0000000001D57771 Unknown Unknown Unknown</div>
<div>lapwso 00000000004305D6 get_nloat_ 22 get_nloat.f</div>
<div>lapwso 0000000000419F2F MAIN__ 144 lapwso.F</div>
<div>lapwso 000000000040442E Unknown Unknown Unknown</div>
<div>libc-2.23.so 00002AF2B4B9A830 __libc_start_main Unknown Unknown</div>
<div>lapwso 0000000000404329 Unknown Unknown Unknown</div>
<div><br>
</div>
Any suggestion will be appreciated. </div>
<div id="divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:#000000; font-family:Calibri,Arial,Helvetica,sans-serif">
<br>
</div>
<div id="divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:#000000; font-family:Calibri,Arial,Helvetica,sans-serif">
Thanks,</div>
<div id="divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:#000000; font-family:Calibri,Arial,Helvetica,sans-serif">
Fhokrul</div>
</div>
</blockquote>
</div>
</div>
</div>
</body>
</html>