<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Which WIEN2k and wien2wannier (w2w) version is that error from? 
    Looks like it might be from WIEN2k 14.2 and w2w 1.0.
    <p>Many changes to WIEN2k [1] and w2w [2] have been made since then
      (which fixed bugs that existed in the old versions).  Have you
      tried the latest WIEN2k 18.2 and w2w 2.0?</p>
    Although, you may need to patch WIEN2k 18.2 for a few cases [3], and
    it looks like the write_inwf_lapw file for w2w in WIEN2k 18.2 might
    still have the same bug that existed in 17.1.  If so, I think the
    same 17.1 fix [4] will still work in 18.2.<br>
    <br>
    [1] <a class="moz-txt-link-freetext" href="http://susi.theochem.tuwien.ac.at/reg_user/updates/">http://susi.theochem.tuwien.ac.at/reg_user/updates/</a><br>
    [2] <a class="moz-txt-link-freetext" href="https://github.com/wien2wannier/wien2wannier/blob/master/NEWS">https://github.com/wien2wannier/wien2wannier/blob/master/NEWS</a><br>
    [3] <a class="moz-txt-link-freetext" href="https://github.com/gsabo/WIEN2k-Patches/tree/master/18.2">https://github.com/gsabo/WIEN2k-Patches/tree/master/18.2</a><br>
    [4]
<a class="moz-txt-link-freetext" href="https://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/msg16099.html">https://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/msg16099.html</a><br>
    <br>
    <div class="moz-cite-prefix">On 9/9/2018 6:10 AM, 倪昊旸 wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:1B6BB0D51FF823489796DA6A46FEC450CE50FE6F@DAGNODE3">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <meta name="Generator" content="Microsoft Word 15 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:DengXian;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"\@DengXian";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.WordSection1
        {page:WordSection1;}
--></style>
      <div class="WordSection1">
        <p class="MsoNormal">Dear all:</p>
        <p class="MsoNormal">            When I initialize my
          calculation with wien2wannier. Such error always occurs when I
          execute write_win, no matter what parameters I choose before</p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal" style="margin-left:.5in">forrtl: severe
          (59): list-directed I/O syntax error, unit -5, file Internal
          List-Directed Read</p>
        <p class="MsoNormal" style="margin-left:.5in">Image         
              PC                Routine            Line       
          Source            
        </p>
        <p class="MsoNormal" style="margin-left:.5in">write_win_backend 
          00000000004206A6  Unknown               Unknown  Unknown</p>
        <p class="MsoNormal" style="margin-left:.5in">write_win_backend 
          0000000000446730  Unknown               Unknown  Unknown</p>
        <p class="MsoNormal" style="margin-left:.5in">write_win_backend 
          000000000041234A  kpoints_mp_get_km        1387  util_w2w.F</p>
        <p class="MsoNormal" style="margin-left:.5in">write_win_backend 
          00000000004036FB  MAIN__                    109 
          write_win_backend.f</p>
        <p class="MsoNormal" style="margin-left:.5in">write_win_backend 
          0000000000402B2E  Unknown               Unknown  Unknown</p>
        <p class="MsoNormal" style="margin-left:.5in">libc-2.23.so      
          00002B4E4F250830  __libc_start_main     Unknown  Unknown</p>
        <p class="MsoNormal" style="margin-left:.5in">write_win_backend 
          0000000000402A29  Unknown               Unknown  Unknown</p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Basically the parameter is:<o:p></o:p></p>
        <p class="MsoNormal">4*4*4 kmesh, no shifting; band 53 55,  1:
          dt2g<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Even I tried different projection,
          different site, different band index, the error still occurs.
          <o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Can anyone tell me what cause this error?<o:p></o:p></p>
        <p class="MsoNormal">Thank you<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Haoyang Ni</p>
      </div>
    </blockquote>
    <blockquote type="cite"
      cite="mid:1B6BB0D51FF823489796DA6A46FEC450CE50FE6F@DAGNODE3">
    </blockquote>
  </body>
</html>