<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<div>Hi,</div>
<div>the .mmn file contains the M_{m,n}^{k,k+b} matrices, where {k,k+b} must be two first-neighbour points in your Monkhorst-Pack k-mesh.</div>
<div><br>
</div>
<div>In particular, if you go in the source folder of Wannier90 and do a</div>
<div>grep 'Neighbour not found' *.F90</div>
<div>you discover that the error is issued on the overlap.F90 file, and if you go in the file you also discover what the numbers printed in the line above mean: </div>
<div><br>
</div>
<div>
<div>count = 3 -> problem in the third block within the seedname.mmn file</div>
<div>nkp   = 1 -> "k" is the first k point in the list of kpoints in the nnkpts file</div>
<div>nkp2  = 6, nnl=nnm=nnn=0 -> "k+b" is the sixth point in the list, without any translation of a reciprocal lattice vector</div>
<div>nn    = 0 -> no nearest neighbor found</div>
<div><br>
</div>
<div>This means that the .mmn file has a M_{mn}^{k,k+b} matrix and it claims that "k"=1st point of the list, "k+b" = 6th point of the list, but actually this pair of (k,k+b) are not a pair of first neighbor k-points for your k-point list.</div>
</div>
<div><br>
</div>
<div>Unless you copied some of the output files generated by VASP and not all of them, mixing files of two different calculations, this seems to be a possible bug of the VASP interface, especially since this appears only with SOC. Double check, and then try
 to contact the VASP developers to get further help (they will probably need also your k-point list from the nnkp file, I guess).</div>
<div><br>
</div>
<div>Best,</div>
<div>Giovanni Pizzi</div>
<div><br>
</div>
<br>
<div apple-content-edited="true">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<div>-- </div>
<div>Giovanni Pizzi<br>
Post-doctoral Research Scientist<br>
EPFL STI IMX THEOS<br>
MXC 340 (Bātiment MXC)<br>
Station 12<br>
CH-1015 Lausanne (Switzerland)<br>
Phone: +41 21 69 31124<br>
</div>
<br>
</div>
<br class="Apple-interchange-newline">
<br class="Apple-interchange-newline">
</div>
<br>
<div>
<div>On 21 Dec 2013, at 07:58, dwz wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial">
<div style="LINE-HEIGHT: 1.7; FONT-FAMILY: arial; COLOR: #000000; FONT-SIZE: 14px">
<div>Dear Wannier experts :</div>
<div>When wannier90 reads the  overlap matrix file wannier90.mmn file  on my machine , it reports the following info :</div>
<div> </div>
<div>- -Reading overlaps from wannier90.mmn    : File generated by VASP: MnCH</div>
<div>- -Error reading wannier90.mmn:       3    1    6   0    0  0  0<br>
- -Exiting.......<br>
- -Neighbour not found </div>
<div> </div>
<div>What "neighbour not found " means ? What I can do to avoid such bug ?</div>
<div> FYI : the mmn file is written when the SOC turned on. If the SOC switched off, the following procedure reports no bugs. I do not know whether this bug is induced by SOC, seemingly they are irrelevant.</div>
<div> </div>
<div>Tom Dong </div>
<div>Shandong University , China . </div>
</div>
</div>
<br>
<br>
<span title="neteasefooter"><span id="netease_mail_footer"></span></span>_______________________________________________<br>
Wannier mailing list<br>
<a href="mailto:Wannier@quantum-espresso.org">Wannier@quantum-espresso.org</a><br>
http://www.democritos.it/mailman/listinfo/wannier<br>
</blockquote>
</div>
<br>
</body>
</html>