Friday, February 6, 2009

Wien2k Fedora 10 issue

In Fedora 10 the Wien2k program doesn't work at all because of csh/tcsh compatibility issues, giving the error message like this:
argv1: Subscript out of range
The solution to the problem is described on Wien2k mailing list. You either have to install tcsh package from Fedora 8 (you may find one on rpmfind.net), or do the following:
1. Edit x_lapw script and find the following line (should be around the lines 238—248):
echo "`date`> ($name) $command $argv1[2-]" >> $log
2. Comment it and replace with this one:
echo "`date`> ($name) $argv1" >> $log
Now it should work.

1 comment:

  1. pleasure to see this type of blog
    and this trick works perfectly
    thanks

    ReplyDelete

Note: Only a member of this blog may post a comment.