<div dir="ltr"><div><div><div><div><div>Dear Mr. Elias Assmann<br><br></div>I confirmed with your suggested interactive test that my version of c - shell does not support -s.<br><br></div>As you recommended, I've now upgraded to tcsh and successfully run x wannier90 -so for GaAs. Problem fixed.<br><br></div>Thank you very much for your help!<br><br></div>best regards,<br></div>Dara Goldar<br></div><div class="gmail_extra"><br><div class="gmail_quote">2016-12-04 17:21 GMT+01:00 Elias Assmann <span dir="ltr"><<a href="mailto:elias.assmann@gmail.com" target="_blank">elias.assmann@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 12/04/2016 03:01 PM, Dara Goldar wrote:<br>
> With the following command, I get some information on the version of<br>
> c-shell I am running:<br>
><br>
> dpkg -l csh<br>
><br>
><br>
> ||/ Name Version Description<br>
> +++-================-=========<wbr>=======-======================<wbr>==========================<br>
> ii csh 20110502-2ubuntu Shell with C-like syntax<br>
<br>
</span>Run ‘csh --version’. Mine says ‘tcsh 6.19.00’; it should be ‘tcsh’,<br>
otherwise I would recommend installing tcsh instead of csh.<br>
<span class=""><br>
> I am not familiar with c shell, but will try to test whether -s works on<br>
> my version or not.<br>
<br>
</span>It is easy to test interactively, e.g.<br>
<br>
$ echo 1 > test<br>
$ csh<br>
% if (-s test) echo yes<br>
yes<br>
<span class=""><br>
<br>
> Is your suggestion that I make the following change in x_lapw which you<br>
> suggested and then recompile x_lapw?<br>
><br>
</span>> /I later changed ‘! -s $file’ to ‘! ( -e $file.amnup && ! -z $file.amnup<br>
<span class="">> )’ because older csh versions do not have the ‘-s’ test. (Maybe it is a<br>
</span>> ‘tcsh’ vs. ‘csh’ issue.)/<br>
<br>
You could do that, but if this is indeed the problem, I would upgrade to<br>
tcsh if possible.<br>
<br>
Note the typo above: I meant replace<br>
<br>
-s FILE<br>
<br>
with the equivalent<br>
<br>
( -e FILE && ! -z FILE )<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
Elias<br>
<br>
<br>
</font></span><br>______________________________<wbr>_________________<br>
Wien mailing list<br>
<a href="mailto:Wien@zeus.theochem.tuwien.ac.at">Wien@zeus.theochem.tuwien.ac.<wbr>at</a><br>
<a href="http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien" rel="noreferrer" target="_blank">http://zeus.theochem.tuwien.<wbr>ac.at/mailman/listinfo/wien</a><br>
SEARCH the MAILING-LIST at: <a href="http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html" rel="noreferrer" target="_blank">http://www.mail-archive.com/<wbr>wien@zeus.theochem.tuwien.ac.<wbr>at/index.html</a><br>
<br></blockquote></div><br></div>