[Wien] Linux problem?

Peter Blaha pblaha at theochem.tuwien.ac.at
Wed Mar 4 10:41:33 CET 2009


With this debuging output it is obvious here the problem is:

edit x_lapw and find the line with

set natom=`head -2 $file.inq | tail -1 | cut -c0-10`
change it to ... cut -c1-10

PS: On my new Linux (Suse11) it gives me the same error, while my old Linux
version does not complain.

Thanks for the report + debugging help.


> set natom=`head -2 $file.inq | tail -1 | cut -c0-10`
> head -2 TiC.inq
> tail -1
> cut -c0-10
> cut: fields and positions are numbered from 1
> Try `cut --help' for more information.
> set iatom=1
> while ( 1 < = )
> breaksw
> if ( 0 ) then
> if ( == para && 1 ) then
> echo qtl
> /home/wien2k/qtl qtl.def
> STOP QTL - Error


 >  > > Then running x qtl gives the following error:
 >  > > *cut: fields and positions are numbered from 1
 >  > > Try `cut --help' for more information.
 >  > > STOP QTL - Error*
 >  > > *1.519u 0.794s 0:02.31 99.5% 0+0k 0+1456io 0pf+0w*

-- 

                                       P.Blaha
--------------------------------------------------------------------------
Peter BLAHA, Inst.f. Materials Chemistry, TU Vienna, A-1060 Vienna
Phone: +43-1-58801-15671             FAX: +43-1-58801-15698
Email: blaha at theochem.tuwien.ac.at    WWW: http://info.tuwien.ac.at/theochem/
--------------------------------------------------------------------------


More information about the Wien mailing list