<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; ">
Dear Zeina,
<div>I don't know if it is possible to send a file privately, the archives are public by default.</div>
<div><br>
</div>
<div>By looking into the code, that error is from wannier90 and not from pw2wannier right? Then, the error does not come from the # of kpoints being different between nscf and win (even if this is a requirement that, if not satisfied, will raise a different
 error later one). The error must be looked for in the .win file only. </div>
<div>Check that the # of lines of the kpoints block is equal to the product of the three values of the mp_grid flag. Also, we suggest to generate the list of kpoints with the utility that you can find in utility/kmesh.pl in the Wannier90 distribution.</div>
<div><br>
</div>
<div>Best,</div>
<div>Giovanni</div>
<div><br>
<div><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">
<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>
</span><br class="Apple-interchange-newline">
</span><br class="Apple-interchange-newline">
</div>
<br>
<div>
<div>On 19 Nov 2014, at 19:17, Zeina Al-Dolami wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<div dir="ltr">Dear wannier's users and owners,
<div>I am trying to run wannier90.x -pp to generate the file .nnkp before running pw2wannier.x. However, I have been getting the same error message that is " Wrong number of lines in block kpoints". I found one question was posted earlier by one user and the
 answer was to use the same number of kpoints for both nscf and win files if I understand it correctly. It is the case in my calculation; however, I get this error message. Would you please help me with it? Also, is it possible to attach a file to my email
 without being viewed by others except wannier's owners? Please let me know. Looking forward to hearing from you. Thanks in advance </div>
<div><br>
</div>
<div>Zeina  </div>
</div>
_______________________________________________<br>
Wannier mailing list<br>
<a href="mailto:Wannier@quantum-espresso.org">Wannier@quantum-espresso.org</a><br>
http://mailman.qe-forge.org/cgi-bin/mailman/listinfo/wannier<br>
</blockquote>
</div>
<br>
</div>
</body>
</html>