[Wien] Error running wannier90.x for GaAs spin-orbit coupling wien2wannier

Dara Goldar dara.goldar at gmail.com
Sun Dec 4 17:54:21 CET 2016


Dear Mr. Elias Assmann

I confirmed with your suggested interactive test that my version of c -
shell does not support -s.

As you recommended, I've now upgraded to tcsh and successfully run x
wannier90 -so for GaAs. Problem fixed.

Thank you very much for your help!

best regards,
Dara Goldar

2016-12-04 17:21 GMT+01:00 Elias Assmann <elias.assmann at gmail.com>:

> 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
>
>
>
> _______________________________________________
> Wien mailing list
> Wien at 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 at zeus.theochem.tuwien.ac.at/index.html
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://zeus.theochem.tuwien.ac.at/pipermail/wien/attachments/20161204/62119b0b/attachment.html>


More information about the Wien mailing list