<div style>Dear WIEN2k users,</div><div style><br></div><div style>I have found a bug in join_vectorfiles.f (in SRC_trig) that was causing me issues reading .struct files when using the ifort compiler. The &#39;unitstruct&#39; file handle was not being set. I have attached a patch to set it:</div>

<div style><br></div><div style><div><font face="&#39;courier new&#39;, monospace">@@ -43,6 +43,7 @@</font></div><div><font face="&#39;courier new&#39;, monospace">   unitenergy = 3</font></div><div><font face="&#39;courier new&#39;, monospace">   unittargetvector = 4</font></div>

<div><font face="&#39;courier new&#39;, monospace">   unittargetenergy = 5</font></div><div><font face="&#39;courier new&#39;, monospace">+  unitstruct = 6</font></div><div><font face="&#39;courier new&#39;, monospace"> </font></div>

<div><font face="&#39;courier new&#39;, monospace">   !parameters</font></div><div><font face="&#39;courier new&#39;, monospace">   LMAX = 13</font></div></div><div style><br></div><div style>The patch also included the fixes to util.f in SRC_trig from Kateryna Foyevtsova sent to the mailing list on 19/09/2011, so can be applied to the current SRC_trig.tar available on the website.</div>

<div style><br></div><div style>Cheers,</div><br class="Apple-interchange-newline">--<br>Eamon McDermott<br>M.Sc Student<br>Physics and Engineering Physics<br>University of Saskatchewan<br><a href="mailto:eamon.mcdermott@usask.ca" target="_blank">eamon.mcdermott@usask.ca</a><div>

Office: +1-306-966-6380</div><div>Scheduling: <span style="border-collapse:collapse;font-family:arial,sans-serif;font-size:13px"><a href="http://doodle.com/eamon.mcdermott" style="color:rgb(42,93,176)" target="_blank">http://doodle.com/eamon.mcdermott</a></span></div>

<br>