Dear Sir/Madam,<br>Support for WIEN2k Fermi surface calculation in Xcrysden is a good feature. But the documentation for Fermi surface calculation is somewhat limited. What are the purposes of &quot;Generate k-mesh&quot;, &quot;change to unit 5 in case.in1&quot;. &quot;Edit TiO2.in1 file(optional&quot;. In the wien2k calculation, I already have a kmesh. Does &quot;Generate k mesh&quot; mean that the kmesh used in Fermi surface calculation can be different from the kmesh used in WIEN2k scf calculation? <br>
<br>If I use &quot;generate k-mesh&quot; and &quot;change to unit 5 in case.in1&quot;, I will always get an error message saying that &quot;<br><br> &#39;FERMI&#39; - number of k-points inconsistent when reading kgen<br> &#39;FERMI&#39; - check IN1 and KGEN files!<br>
<br><br>If I do not use &quot;generate k-mesh&quot; or &quot;change to unit 5 in case.in1&quot;, then I do not get any error messages. <br><br>Any help is much appreciated.<br><br><br>Yundi<br>