<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Regarding 2), I had forgotten that we had a fix for that [
<a class="moz-txt-link-freetext" href="https://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/msg16030.html">https://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/msg16030.html</a>
      ].</p>
    <p>Change csh to tcsh by hand in the first line of siteconfig_lapw,
      or you can make the same change with the following patch.</p>
    <p>I tested the following WIEN2k 18.2 patch and siteconfig_lapw in
      Ubuntu 14.04 works for me again:</p>
    <p>username@computername:~/Desktop$ cd $WIENROOT<br>
      username@computername:~/WIEN2k$ ./siteconfig<br>
      Word too long.<br>
      username@computername:~/WIEN2k$ wget
<a class="moz-txt-link-freetext" href="https://raw.githubusercontent.com/gsabo/WIEN2k-Patches/master/18.2/siteconfig_lapw.patch">https://raw.githubusercontent.com/gsabo/WIEN2k-Patches/master/18.2/siteconfig_lapw.patch</a><br>
      ...<br>
      username@computername:~/WIEN2k$ patch -b siteconfig_lapw
      siteconfig_lapw.patch <br>
      patching file siteconfig_lapw<br>
      username@computername:~/WIEN2k$ ./siteconfig<br>
      <br>
      <br>
        
      ***********************************************************************<br>
         *                                WIEN
      2k                              *<br>
         *                          site
      configuration                         *<br>
        
      ***********************************************************************<br>
      <br>
         This is the first time that you install WIEN2k on this
      computer. Please <br>
         follow the subsequent steps to set up WIEN2k. <br>
      <br>
      <br>
      You seem to have installed the ifort compiler at:<br>
      /opt/intel/composer_xe_2013_sp1.1.106/bin/ia32/ifort<br>
      Please remember VERSION and PATH for later reference<br>
      Your MKLROOT variable is: <br>
      /opt/intel/composer_xe_2013_sp1.1.106/mkl<br>
      I could not find your MKL_TARGET_ARCH. You will have to specify it
      later.<br>
      <br>
           Press RETURN to continue<br>
    </p>
    <div class="moz-cite-prefix">On 8/16/2018 10:02 PM, Gavin Abo wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:82f8906d-0b6f-1daf-2888-ad4be610a6e1@crimson.ua.edu">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      It looks like you might have two different problems:<br>
      <br>
      1) tcsh: bad interpreter: No such file or directory <- This
      usually indicates that tcsh is not installed.<br>
          - If using Ubuntu, try installing tcsh using: sudo apt install
      tcsh<br>
          - If using a different Linux distribution, use a search engine
      (such as Google) to find out how to install it for your system.<br>
      <br>
      2) The <span>"word too large" should be because the number of sed
        commands increased for "alias update_makefiles" in siteconfig. 
        Some systems are not able to handle the alias with the longer
        string of commands.  For example, it works fine for me when
        using Ubuntu 18.04.  However, the script fails with the same
        error using Ubuntu 14.04.  It may be that the string of sed
        commands in siteconfig_lapw can be broken into two alias
        commands to get it working again for all systems.  Using Ubuntu
        18.04, however, is the solution that I'm using.  I'm
        transitioning to the newer Linux distributions since BoltzTraP2
        needs Python 3.5 or higher [1] which may not be available to
        install with the package manager in older Linux versions.<br>
        <br>
        [1]
        <a class="moz-txt-link-freetext"
href="https://www.imc.tuwien.ac.at/forschungsbereich_theoretische_chemie/forschungsgruppen/prof_dr_gkh_madsen_theoretical_materials_chemistry/boltztrap2/"
          moz-do-not-send="true">https://www.imc.tuwien.ac.at/forschungsbereich_theoretische_chemie/forschungsgruppen/prof_dr_gkh_madsen_theoretical_materials_chemistry/boltztrap2/</a><br>
      </span><br>
      <div class="moz-cite-prefix">On 8/16/2018 5:30 AM, BUSHRA SABIR
        wrote:<br>
      </div>
      <blockquote type="cite"
        cite="mid:143024761.7638759.1534419056403@mail.yahoo.com">
        <meta http-equiv="content-type" content="text/html;
          charset=utf-8">
        <div style="font-family:Helvetica Neue, Helvetica, Arial,
          sans-serif;font-size:16px;">
          <div style="font-family:Helvetica Neue, Helvetica, Arial,
            sans-serif;font-size:16px;">
            <div style="font-family:Helvetica Neue, Helvetica, Arial,
              sans-serif;font-size:16px;">
              <div>
                <div><span>
                    <div>Prof Peter Blaha and Gavin abo,</div>
                    <div><br>
                    </div>
                  </span>
                  <div><span>
                      <div>i am trying to install wien2k latest version
                        18.2, <br>
                      </div>
                    </span>
                    <div><span>
                        <div>while installation i am facing problem.</div>
                        <div><br>
                        </div>
                      </span></div>
                  </div>
                  <div><span>
                      <div>In command</div>
                    </span>
                    <div><span>
                        <div><br>
                        </div>
                      </span>
                      <div><span>
                          <div>./siteconfig_lapw</div>
                        </span></div>
                    </div>
                  </div>
                  <div><span>
                      <div><br>
                      </div>
                      <div>i face error "word too large"</div>
                    </span></div>
                  <div><span>
                      <div><br>
                      </div>
                      <div>i go through mailing list and find solutions
                        recommended by Gavin abo to make changes in
                        first line of siteconfig_lapw</div>
                    </span></div>
                  <span><span> </span><span><span><span><a
                            class="moz-txt-link-abbreviated"
                            href="mailto:bushra@bushra-MS-7A70:%7E/Wien2k_18.2$"
                            moz-do-not-send="true">bushra@bushra-MS-7A70:~/Wien2k_18.2$</a>
                          sed -n 1p siteconfig_lapw<br>
                        </span></span></span></span>
                  <div><span>
                      <div><span><span><span>#!/bin/csh -fx</span></span></span></div>
                    </span></div>
                  <div><span>
                      <div><span></span></div>
                    </span><br>
                  </div>
                  <div><br>
                  </div>
                  <span>
                    <div><span><a class="moz-txt-link-abbreviated"
                          href="mailto:bushra@bushra-MS-7A70:%7E/Wien2k_18.2$"
                          moz-do-not-send="true">bushra@bushra-MS-7A70:~/Wien2k_18.2$</a>
                        ./siteconfig</span></div>
                    <span>unalias rm<br>
                      set name = ./siteconfig<br>
                      set bin = .<br>
                      if ! ( -d . ) set bin = .<br>
                      cd .<br>
                      set bin = `pwd`<br>
                      pwd<br>
                      alias define_installdate date
                      >$bin/WIEN2k_INSTALLDATE<br>
                      alias wait echo "";echo "     Press RETURN to
                      continue"; set yn = ($<)<br>
                      Word too long.<br>
                    </span></span>
                  <div><span><span><a class="moz-txt-link-abbreviated"
                          href="mailto:bushra@bushra-MS-7A70:%7E/Wien2k_18.2$"
                          moz-do-not-send="true">bushra@bushra-MS-7A70:~/Wien2k_18.2$</a>
                        ./siteconfig</span></span></div>
                  <div><span><span></span></span><br>
                  </div>
                  <div><br>
                  </div>
                  <span><span>bash: ./siteconfig: /bin/tcsh: bad
                      interpreter: No such file or directory<br>
                    </span>
                    <div><br>
                    </div>
                    <div>kindly help me to understand this problem</div>
                    <div><br>
                    </div>
                    <div><br>
                    </div>
                    Bushra Sabir</span><br>
                </div>
                <div><br>
                </div>
                <div class="ydpd91a046dsignature"><font
                    style="font-style:italic;text-decoration:underline;color:rgb(255,
                    0, 0);background-color:rgb(160, 64, 255);" size="3"><span
                      style="font-family:verdana, helvetica,
                      sans-serif;"><img
                        src="http://mail.yimg.com/us.yimg.com/i/mesg/tsmileys2/01.gif"
                        data-inlineimagemanipulating="true"
                        draggable="false" moz-do-not-send="true"></span></font></div>
              </div>
            </div>
          </div>
        </div>
      </blockquote>
    </blockquote>
    <br>
  </body>
</html>