<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:18pt">Hi <br><br><br>1. Edit x_lapw script and find the following line (should be around the lines 270—290)<br>:like go to file .. [saeedy@kw11606:~/prog/wien2k]$vi x_lapw<blockquote style="font-style: italic;"><font style="color: rgb(255, 0, 0);" size="1">#Clas-start <br>else if ($command == lapwkpc) then<br> set cmplx = c<br> set command = lapwkp<br> #Clas-end <br>endif<br>#echo "`date`> ($name) $command $argv1[2-]" >> $log<br></font>echo "`date`> ($name) $command $argv1[2-]" >> $log<br><font style="color: rgb(255, 0, 0);" size="1">set def = $updn$command$sc.def<br>#touch $def<br>switch ($command)<br>case lcore:<br>set exe = lcore<br>cat << theend > $def</font><br><br></blockquote>2. Comment
it and replace with this one:<br><blockquote style="font-style: italic;">echo "`date`> ($name) $argv1" >> $log</blockquote><div> </div>Y. Saeed<br>Lecturer / Research Associate<br>Department of Physics<br>GC University, Faisalabad, Pakistan<br>Cell:+92 345 4041865<br>Off: +92 41 9201372<br>Fax: +92 41 9200671<br>Email: yasir_saeed54321@yahoo.com<br><span>Web : <a target="_blank" href="http://www.gcuf.edu.pk/">www.gcuf.edu.pk/</a></span><div><br></div><div style="font-family: times new roman,new york,times,serif; font-size: 18pt;"><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><font face="Tahoma" size="2"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> shamik chakrabarti <shamikphy@gmail.com><br><b><span style="font-weight: bold;">To:</span></b> A Mailing list for WIEN2k users <wien@zeus.theochem.tuwien.ac.at><br><b><span style="font-weight: bold;">Sent:</span></b> Fri,
May 27, 2011 5:53:48 PM<br><b><span style="font-weight: bold;">Subject:</span></b> [Wien] argv1: subscript out of range<br></font><br>
<br clear="all">Dear Wien2k users,<div><br></div><div>We have just installed wien2k in a laptop(COMPAQ) having core2duo processor. Wien2k has been installed properly after compilation of all files. To test it for Fe when we use structural parameters of Fe then after doing x nn it is giving following error :</div>
<div><br></div><div><b> argv1: subscript out of range</b> </div><div><br></div><div>and we are not able to go any further. In this regard any response will be very useful to us. Thanks in advance.</div>
<div><br></div><div>with regards,<br>-- <br>Shamik Chakrabarti<br>Research Scholar<br>Dept. of Physics & Meteorology<br>Material Processing & Solid State Ionics Lab<br>IIT Kharagpur<br>Kharagpur 721302<br>INDIA<br>
</div>
</div></div>
</div></body></html>