<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 Prof. Blaha,<br>
<br>
When I run the TiC example with WIEN2k 12 "without" k-point or mpi
parallelization, the program stops in lapw2 with the error shown
below. Here lapw2 cannot read the TiC.energy file, because it is
missing data in it as lapw0 gives bad output such as a Density
Integral with the value NaN in TiC.output0.<br>
<br>
The problem seems to be related to the new fft module. <br>
<br>
If lines 536-538 and 612-614 in SRC_lapw0/fft_modules.F:<br>
<br>
N2 =
N+N
<br>
DO 117
I=1,N2
<br>
C(I) = CH(I)<br>
<br>
are both changed to:<br>
<br>
DO 117
I=1,N
<br>
C(I) = CH(I)<br>
<br>
Then, the error goes way. On my system, N was the number 64. The
array C had a size of 64, such that the loop is indexing outside
the array (N2 = 128).<br>
<br>
In Wien2k 11, TiC.output0 had:<br>
<br>
PLANE WAVE CONTRIBUTION -0.235589<br>
:DEN : DENSITY INTEGRAL = -754.35311720 (Ry)<br>
<br>
In Wien2k 12 with both changes made in </font><font face="Times
New Roman">fft_modules.F,</font> TiC.output0 had:<br>
<br>
PLANE WAVE CONTRIBUTION -0.049778<br>
:DEN : DENSITY INTEGRAL = -753.97972930 (Ry)<br>
<font face="Times New Roman"><br>
The density integral value is about the same, but the plane wave
contribution value may be significantly different. So I'm not
completely sure if my change is correct. Therefore, please let me
know if a different change is needed.<br>
<br>
</font><font face="Times New Roman">Thanks,<br>
<br>
Gavin</font><br>
<font face="Times New Roman"><br>
forrtl: severe (59): list-directed I/O syntax error, unit 30, file
/home/gavin/wien/wiendata/TiC/TiC.energy<br>
Image PC Routine
Line Source <br>
lapw2 000000000053676A Unknown
Unknown Unknown<br>
lapw2 0000000000535266 Unknown
Unknown Unknown<br>
lapw2 00000000004DFA30 Unknown
Unknown Unknown<br>
lapw2 000000000049BDEF Unknown
Unknown Unknown<br>
lapw2 000000000049B2F7 Unknown
Unknown Unknown<br>
lapw2 00000000004C10B3 Unknown
Unknown Unknown<br>
lapw2 0000000000437F93 fermi_tetra_
516 fermi_tmp_.F<br>
lapw2 0000000000437423 fermi_
111 fermi_tmp_.F<br>
lapw2 00000000004721BA MAIN__
278 lapw2_tmp_.F<br>
lapw2 0000000000403C9C Unknown
Unknown Unknown<br>
libc.so.6 00002B3BE2AF5C8D Unknown
Unknown Unknown<br>
lapw2 0000000000403B99 Unknown
Unknown Unknown<br>
<br>
<br>
</font>
</body>
</html>