<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<font face="Times New Roman">Dear Dr. Blaha and Wien2k users,<br>
<br>
When running x xspec, I get the error shown below. It looks like
there is an infinite loop from lines 170 to 180 in txspec.f that
causes an array index to go out of the upper bound, but I don't
have much Fortran experience. Should there be a condition
(IEMAX?) and break or jump statement to get out of the "</font><font
face="Times New Roman">1 CONTINUE</font><font face="Times New
Roman">" and "</font><font face="Times New Roman">goto 1</font><font
face="Times New Roman">" loop from line 170 and 180?<br>
<br>
forrt1: severe (408): fort: (2): Subscript #1 of the array ENE has
value 771 which is greater than the upper bound 770<br>
<br>
Image PC
Routine Line Source <br>
...<br>
txspec 0000000000423085 MAIN__
176 txspec.f<br>
...<br>
<br>
> stop error txspec xspec.def<br>
...<br>
<br>
<b>Lines from file txspec.f in SRC_txspec.f</b><br>
<br>
Line 170:<br>
I=0<br>
1 CONTINUE<br>
i=i+1<br>
IF (LC.EQ.0) then<br>
READ(32,4713,END=2,ERR=913) ENE(i),DOS(i,1),DOS(i,3)<br>
ELSE<br>
READ(32,4713,END=2,ERR=913)
ENE(i),DOS(i,1),DOS(i,2),DOS(i,3)<br>
ENDIF<br>
goto 1<br>
2 CONTINUE<br>
:Line 180<br>
<br>
Thanks,<br>
<br>
Gavin<br>
</font>
</body>
</html>