<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>If the folder NdGaO3 is where you did "run_lapw", maybe you
      accidentally skipped the "cd NdGaO3w2w" step when following the
      wien2wannier cheat sheet [
      <a class="moz-txt-link-freetext" href="https://github.com/wien2wannier/wien2wannier/blob/master/doc/CHEATSHEET">https://github.com/wien2wannier/wien2wannier/blob/master/doc/CHEATSHEET</a>
      ] after creating the NdGaO3w2w.fermi file in the NdGaO3w2w folder
      using the prepare_w2wdir script.  For example, after you used the
      command similar to:</p>
    <p>prepare_w2wdir NdGaO3w2w</p>
    <div class="moz-cite-prefix">On 5/18/2018 7:22 AM, bangxing wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:38e39b09.fe48.163736af20d.Coremail.bangxingli@163.com">
      <div
        style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial">
        <div>Dear all</div>
        <div>   When I execute the code x w2w -p, the following error
          will come. </div>
        <div>
          <div><br>
          </div>
          <div>[root@sciencehost NdGaO3]# x w2w -p</div>
          <div>/opt/WIEN2K/17.1/w2w: error while processing def file
            `w2w.def': file not found, unit 51, file
            /root/cal/NdGaO3/NdGaO3.fermi</div>
          <div>0.018u 0.013s 0:00.03 66.6%     0+0k 0+8io 0pf+0w</div>
        </div>
        <div><br>
        </div>
        <div>
          <div>[root@sciencehost NdGaO3]# vim w2w.def</div>
          <div>  5,'NdGaO3.inwf',       'old',    'formatted',  0</div>
          <div>  6,'NdGaO3.outputwf',   'unknown','formatted',  0</div>
          <div>  7,'NdGaO3.amn',     'unknown','formatted',  0</div>
          <div>  8,'NdGaO3.mmn',     'unknown','formatted',  0</div>
          <div> 10,'./NdGaO3.vector','old','unformatted',0</div>
          <div> 11,'NdGaO3.nnkp',           'old',    'formatted',  0</div>
          <div> 12,'NdGaO3.eig',            'unknown','formatted',  0</div>
          <div> 18,'NdGaO3.vsp',        'old',    'formatted',  0</div>
          <div> 20,'NdGaO3.struct',         'old',    'formatted',  0</div>
          <div> 50,'NdGaO3.energy', 'old', 'formatted', 0</div>
          <div> 51,'NdGaO3.fermi'       'old',    'formatted',  0</div>
          <div>~</div>
        </div>
        <div>After the run_lapw, why there isn't  NdGaO3.fermi file? But
          during my calculationg, there have no error.</div>
      </div>
    </blockquote>
    <br>
  </body>
</html>