<div dir="ltr"><div><div><div><div><div><div><div><div><div>Dear All,<br></div><div>I was jut doing some practice (graphene) to extract E(kx,ky) data from my band structure calculations. And Finally want to plot E(kx,ky). But I faced the following problem when I run the bands.x code<br></div><div><br> Error in routine punch_band_2d (1):<br> Problems with k points<br><br clear="all"></div>Then I look into the subroutine (punch_band_2d)in bands.f90 in /PP folder.<br></div>and line 488 is<br><br> IF (n1*n2 /= nks_eff) CALL errore('punch_band_2d',&<br> 'Problems with k points',1)<br></div>In my case nks_eff is 230; and the n1*n2 was not giving me 230, and the calculations stop.<br><br></div>n2 is defined as n2=j-1 in line 482 <br><br></div>When I changed n2=j then I was able to get n1xn2=230 and run the bands.x code and got different<br></div>bands.dat.1, bands.dat.2........... files.<br><br></div>Is it a big, or I am making a mistake in correcting the issue.<br></div>Can some one comment that how to solve the "Error in routine punch_band_2d(1):Problems with k points" problem, if I am wrong.<br><br></div><div>How to deal with these bands.dat.1, bands.dat.2........ files<br></div><div>Thanks,<br></div><div>Gul<br></div><br><div> <div><div><div><div><div><div><div><div><div><div><div><div> <br><br><br><br><br>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><br></div><p style="margin:0in 0in 0pt;line-height:normal"><span style="font-size:12pt"><font color="#0000bf">Dr. Gul Rahman<br>Tenured Associate Professor,<br>Department of Physics,<br>Quaid-i-Azam University,<br>Islamabad, Pakistan</font></span></p><span style="font-size:12pt"><font color="#0000bf"><a href="http://www.qau.edu.pk/profile.php?id=818020" target="_blank">http://www.qau.edu.pk/profile.php?id=818020</a></font></span></div></div></div></div>
</div></div></div></div></div></div></div></div></div></div></div></div></div></div>