<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>There are fixed band.pl and scf.pl files for WIEN2k 17.1 [1-4] in
      the post [1] that you can use (or band.patch and scf.patch [5,6]
      at [7] could be used instead).<br>
    </p>
    If you choose to use the patch files.  The following is what I do.<br>
    <br>
    First, I go to [7].  I click on band.patch on the webpage, then I
    click on the Raw button followed by getting the url from the bar of
    my web browser (Firefox).  In other words, the url:<br>
    <br>
    <font color="#009900"><a class="moz-txt-link-freetext" href="https://raw.githubusercontent.com/gsabo/WIEN2k-Patches/master/17.1/band.patch">https://raw.githubusercontent.com/gsabo/WIEN2k-Patches/master/17.1/band.patch</a></font><br>
    <br>
    Then in the terminal on my Linux system using the obtained url, I do
    for example:<br>
    <br>
    username@computername:~/Desktop$ cd $WIENROOT/SRC_w2web/htdocs/exec<br>
    username@computername:~/WIEN2k/SRC_w2web/htdocs/exec$ wget <font
      color="#009900"><a class="moz-txt-link-freetext" href="https://raw.githubusercontent.com/gsabo/WIEN2k-Patches/master/17.1/band.patch">https://raw.githubusercontent.com/gsabo/WIEN2k-Patches/master/17.1/band.patch</a></font><br>
    ...<br>
    2018-04-19 18:38:34 (5.32 MB/s) - ‘band.patch’ saved [63/63]<br>
    username@computername:~/WIEN2k/SRC_w2web/htdocs/exec$ wget
<a class="moz-txt-link-freetext" href="https://raw.githubusercontent.com/gsabo/WIEN2k-Patches/master/17.1/scf.patch">https://raw.githubusercontent.com/gsabo/WIEN2k-Patches/master/17.1/scf.patch</a><br>
    ...     <br>
    2018-04-19 18:39:10 (16.0 MB/s) - ‘scf.patch’ saved [114/114]<br>
    username@computername:~/WIEN2k/SRC_w2web/htdocs/exec$ patch -b
    band.pl band.patch<br>
    patching file band.pl<br>
    username@computername:~/WIEN2k/SRC_w2web/htdocs/exec$ patch -b
    scf.pl scf.patch<br>
    patching file scf.pl<br>
    <br>
    [1]
<a class="moz-txt-link-freetext" href="https://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/msg16069.html">https://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/msg16069.html</a>
    (The text of the code in the post can be copied and pasted into a
    text editor to create the band.pl and scf.pl files) <br>
    [2]
<a class="moz-txt-link-freetext" href="https://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/msg16743.html">https://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/msg16743.html</a><br>
    [3]
<a class="moz-txt-link-freetext" href="https://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/msg16843.html">https://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/msg16843.html</a><br>
    [4]
<a class="moz-txt-link-freetext" href="https://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/msg17179.html">https://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/msg17179.html</a><br>
    [5]
<a class="moz-txt-link-freetext" href="https://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/msg17169.html">https://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/msg17169.html</a><br>
    [6]
<a class="moz-txt-link-freetext" href="https://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/msg17218.html">https://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/msg17218.html</a><br>
    [7] <a class="moz-txt-link-freetext" href="https://github.com/gsabo/WIEN2k-Patches/tree/master/17.1">https://github.com/gsabo/WIEN2k-Patches/tree/master/17.1</a><br>
    <br>
    <div class="moz-cite-prefix">On 4/19/2018 11:30 AM, mohaddeseh
      abbasnejad wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAF3mdWO7=x4Om=mkQWw2=1T_5-prbWBMJvwu7rK+8MA0nkrPtg@mail.gmail.com">
      <div dir="ltr">
        <div><br>
        </div>
        Dear experts,
        <div><br>
        </div>
        <div>Hello,</div>
        <div><br>
        </div>
        <div>Recently, I have installed WIEN2k version 17.1.</div>
        <div>After I installed it successfully, I tried to test it
          running different tasks.</div>
        <div>Every things went as well. However, I could not do
          bandstructure calculations.</div>
        <div>In fact, when doing lapw1 -band command, it looks for the
          file with inc prefix in the another directory than </div>
        <div>the one I am doing calculations in.</div>
        <div>I was wondering if you can help me solving the problem.</div>
        <div>Thanks in advance.</div>
        <div><br>
        </div>
        <div>Regards,</div>
        <div>Mohaddeseh<br clear="all">
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>