[Wien] minor bug in x_lapw, wien2k_08.1

2008-04-16 Thread Michal Wierzbicki
At line 183 the unix cut utility is called with options after the filename. This is contrary to cut man page which requires options before filename. This is not a problem in Linux, where often programs run different as advertised in man pages. However, when I run wien2k in FreeBSD I got an

[Wien] truncated pathnames - possible cause of errors in wien2k_08.1

2008-04-16 Thread Michal Wierzbicki
In many places in wien2k code pathnames are stored in CHARACTER*80 variables. Unix usually allows pathnames up to 255 characters. I found this problem when the pathname of a $case.vector file exceeded 80 characters. LAPW2 program tried to read this file with trucated name such as $case.ve and