<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <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">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">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">https://software.intel.com/en-us/articles/read-failure-unformatted-file-io-psxe-16-update-3</a><br>
      [4]
<a class="moz-txt-link-freetext" href="https://software.intel.com/en-us/forums/intel-visual-fortran-compiler-for-windows/topic/549033">https://software.intel.com/en-us/forums/intel-visual-fortran-compiler-for-windows/topic/549033</a><br>
      [5]
      <a class="moz-txt-link-freetext" href="https://software.intel.com/en-us/articles/intel-mkl-link-line-advisor">https://software.intel.com/en-us/articles/intel-mkl-link-line-advisor</a><br>
      [6] <a class="moz-txt-link-freetext" href="https://software.intel.com/en-us/node/528514">https://software.intel.com/en-us/node/528514</a><br>
      [7]
<a class="moz-txt-link-freetext" href="https://software.intel.com/en-us/forums/intel-visual-fortran-compiler-for-windows/topic/274239">https://software.intel.com/en-us/forums/intel-visual-fortran-compiler-for-windows/topic/274239</a><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">http://kiwi.atmos.colostate.edu/rr/tidbits/intel/macintel/doc_files/source/extfile/optaps_for/fortran/optaps_prg_io_f.htm</a><br>
      [9] <a class="moz-txt-link-freetext" href="https://software.intel.com/en-us/node/678835">https://software.intel.com/en-us/node/678835</a><br>
      [10]
<a class="moz-txt-link-freetext" href="https://software.intel.com/en-us/forums/intel-visual-fortran-compiler-for-windows/topic/593848">https://software.intel.com/en-us/forums/intel-visual-fortran-compiler-for-windows/topic/593848</a><br>
      [11] <a class="moz-txt-link-freetext" href="https://software.intel.com/en-us/node/692589?language=en">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">https://software.intel.com/en-us/forums/intel-fortran-compiler-for-linux-and-mac-os-x</a><br>
      <br>
      On 3/21/2017 8:46 AM, Md. Fhokrul Islam wrote:<br>
    </div>
    <blockquote
cite="mid:SN1PR13MB0543F9F71502BEB19A3F58B0D33D0@SN1PR13MB0543.namprd13.prod.outlook.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
      <div id="divtagdefaultwrapper"
style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;"
        dir="ltr">
        <div id="divtagdefaultwrapper"
style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;"
          dir="ltr">
          <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"
style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;"
          dir="ltr">
          <br>
        </div>
        <div id="divtagdefaultwrapper"
style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;"
          dir="ltr">
          Thanks,</div>
        <div id="divtagdefaultwrapper"
style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;"
          dir="ltr">
          Fhokrul</div>
      </div>
    </blockquote>
  </body>
</html>