[Wien] Error running wannier90.x for GaAs spin-orbit coupling wien2wannier
Elias Assmann
elias.assmann at gmail.com
Sun Dec 4 17:21:01 CET 2016
On 12/04/2016 03:01 PM, Dara Goldar wrote:
> With the following command, I get some information on the version of
> c-shell I am running:
>
> dpkg -l csh
>
>
> ||/ Name Version Description
> +++-================-================-================================================
> ii csh 20110502-2ubuntu Shell with C-like syntax
Run ‘csh --version’. Mine says ‘tcsh 6.19.00’; it should be ‘tcsh’,
otherwise I would recommend installing tcsh instead of csh.
> I am not familiar with c shell, but will try to test whether -s works on
> my version or not.
It is easy to test interactively, e.g.
$ echo 1 > test
$ csh
% if (-s test) echo yes
yes
> Is your suggestion that I make the following change in x_lapw which you
> suggested and then recompile x_lapw?
>
> /I later changed ‘! -s $file’ to ‘! ( -e $file.amnup && ! -z $file.amnup
> )’ because older csh versions do not have the ‘-s’ test. (Maybe it is a
> ‘tcsh’ vs. ‘csh’ issue.)/
You could do that, but if this is indeed the problem, I would upgrade to
tcsh if possible.
Note the typo above: I meant replace
-s FILE
with the equivalent
( -e FILE && ! -z FILE )
Elias
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 866 bytes
Desc: OpenPGP digital signature
URL: <http://zeus.theochem.tuwien.ac.at/pipermail/wien/attachments/20161204/fb51b821/attachment.asc>
More information about the Wien
mailing list