<div class="gmail_quote">
<div>Hi all</div>
<div> </div>
<div>Sorry to bother you again. Still the same problem: How to get the k-space H(k) in Wannier functions basis<br>instead of the real space Hamiltonian H(R) given in case_hr.dat? After scf and nscf calculations, I want to obtain the model Hamiltonian using wannier_ham.x for graphene. I have tried different version of pwscf and different potential...But it always failed and one error always occurs:</div>

<div>
<div> </div>
<div><strong> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%<br>     Error in routine wannier_proj (1):<br>     wrong orthogonalization on k-point<br> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</strong></div>
</div>
<div><strong>     stopping ...<br> </strong></div>
<div><strong></strong> </div>
<div>I am struggling and need help.... Anyone can help me fixing this problem? All related files are attached.  </div>
<div class="HOEnZb">
<div class="h5">
<div> </div>
<div> </div>
<div>Wayne, Yan<br>Division of Physics and Applied Physics<br>School of Physical and Mathematical Sciences<br>Nanyang Technological University, Singapore<br></div></div></div></div><br>