It looks like you might have two different problems:
1) tcsh: bad interpreter: No such file or directory <- This usually
indicates that tcsh is not installed.
- If using Ubuntu, try installing tcsh using: sudo apt install tcsh
- If using a different Linux distribution, use a search engine
(such as Google) to find out how to install it for your system.
2) The "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.
[1]
https://www.imc.tuwien.ac.at/forschungsbereich_theoretische_chemie/forschungsgruppen/prof_dr_gkh_madsen_theoretical_materials_chemistry/boltztrap2/
On 8/16/2018 5:30 AM, BUSHRA SABIR wrote:
Prof Peter Blaha and Gavin abo,
i am trying to install wien2k latest version 18.2,
while installation i am facing problem.
In command
./siteconfig_lapw
i face error "word too large"
i go through mailing list and find solutions recommended by Gavin abo
to make changes in first line of siteconfig_lapw
bushra@bushra-MS-7A70:~/Wien2k_18.2$ sed -n 1p siteconfig_lapw
#!/bin/csh -fx
bushra@bushra-MS-7A70:~/Wien2k_18.2$ ./siteconfig
unalias rm
set name = ./siteconfig
set bin = .
if ! ( -d . ) set bin = .
cd .
set bin = `pwd`
pwd
alias define_installdate date >$bin/WIEN2k_INSTALLDATE
alias wait echo "";echo " Press RETURN to continue"; set yn = ($<)
Word too long.
bushra@bushra-MS-7A70:~/Wien2k_18.2$ ./siteconfig
bash: ./siteconfig: /bin/tcsh: bad interpreter: No such file or directory
kindly help me to understand this problem
Bushra Sabir
_______________________________________________
Wien mailing list
Wien@zeus.theochem.tuwien.ac.at
http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien
SEARCH the MAILING-LIST at:
http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html