<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>If your using WIEN2k_19.2, then only follow [3] (do not follow
      [1]).</p>
    <p>Maybe you are not using your WIEN2k_19.2 installation directory
      but are still using your older WIEN2k version installation
      directory.</p>
    <p>For example, in an older WIEN2k version, you might see
      write_inwf_lapw is version <font color="#0000ff">1.0.0 <font
          color="#000000">and the same text as your <font
            color="#ff0000">error</font></font></font> on line <font
        color="#ff8000">58</font>:<br>
    </p>
    <p>username@computername:~$ cd ~/WIEN2k17.1<br>
      <a class="moz-txt-link-abbreviated" href="mailto:username@computername:~/WIEN2k17.1$">username@computername:~/WIEN2k17.1$</a> sed -n 29p write_inwf_lapw<br>
      __version__ = "$version: v<font color="#0000ff">1.0.0</font>-273-gaf9ce6b$"<br>
      <a class="moz-txt-link-abbreviated" href="mailto:username@computername:~/WIEN2k17.1$">username@computername:~/WIEN2k17.1$</a> sed -n <font color="#ff8000">58</font>p
      write_inwf_lapw<br>
                  <font color="#ff0000">return np.array([float (s) for
        s in l[12:22], l[25:35], l[38:48]])</font></p>
    <p>In WIEN2k_19.2, you should see write_inwf_lapw is version <font
        color="#ff00ff">2.0.0 </font>and line <font color="#ff8000">58</font>
      has different text:<br>
    </p>
    <a class="moz-txt-link-abbreviated" href="mailto:username@computername:~/WIEN2k17.1$">username@computername:~/WIEN2k17.1$</a> cd ~/WIEN2k19.2<br>
    <a class="moz-txt-link-abbreviated" href="mailto:username@computername:~/WIEN2k19.2$">username@computername:~/WIEN2k19.2$</a> sed -n 28p write_inwf_lapw<br>
    __version__ = "$version: <font color="#ff00ff">v2.0.0</font>-7-g4c51be8$"<br>
    <a class="moz-txt-link-abbreviated" href="mailto:username@computername:~/WIEN2k19.2$">username@computername:~/WIEN2k19.2$</a> sed -n <font color="#ff8000">58</font>p
    write_inwf_lapw<br>
                def readloro():<br>
    <p>You may want to check that WIENROOT in your .bashrc file is set
      to your WIEN2k_19.2 installation directory:<br>
    </p>
    <p><a class="moz-txt-link-abbreviated" href="mailto:username@computername:~/WIEN2k19.2$">username@computername:~/WIEN2k19.2$</a> grep WIENROOT= ~/.bashrc<br>
      export WIENROOT=/home/username/WIEN2k19.2<br>
    </p>
    <p>If it is set as intended, you might also check that it has been
      set in your environment:<br>
    </p>
    <p><a class="moz-txt-link-abbreviated" href="mailto:username@computername:~/WIEN2k19.2$">username@computername:~/WIEN2k19.2$</a> echo $WIENROOT<br>
      /home/username/WIEN2k19.2<br>
    </p>
    <p>If the environment is not showing the change after you have saved
      the new WIEN2k installation directory path in .bashrc, you may
      need to execute "source ~/.bashrc", or restart the terminal or
      computer.<br>
    </p>
    <div class="moz-cite-prefix">On 12/28/2020 4:05 AM, Abhijit B K
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAJBOWMbC1s50iG4vU-yA_hjGRfNxOefSs_0wgoRjeQiL7cvPvQ@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">Dear Users,
        <div><br>
        </div>
        <div>I am using WIEN2k_19.2.</div>
        <div><br>
        </div>
        <div>I am coming across the following error while running
          ''write_inwf"</div>
        <div><br>
        </div>
        <div>  File "/...../wien2k/write_inwf", line <font
            color="#ff8000">58</font><br>
              <font color="#ff0000">return np.array([float (s) for s in
            l[12:22], l[25:35], l[38:48]])</font><br>
                                                          ^<br>
          SyntaxError: invalid syntax<br>
        </div>
        <div><br>
        </div>
        <div>I would be grateful if someone could help me with this bug.</div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>Best wishes,</div>
        <div><br>
        </div>
        <div>Abhijit</div>
        <div><br>
        </div>
        <div>PS: I followed the [1] and [3] in the following
          recommendation but the error persists.</div>
        <div><br>
        </div>
        <div><a
href="https://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/msg20308.html"
            moz-do-not-send="true">https://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/msg20308.html</a><br>
        </div>
      </div>
    </blockquote>
  </body>
</html>