<style class="ke-style">
[list-style-type] {padding-left:20px;list-style-position:inside}
[list-style-type] li {margin:0}
[list-style-type] li:before, span.ke-list-item-matter {font-family:"sans serif",tahoma,verdana,helvetica}
[list-style-type] li p,[list-style-type] li h1,[list-style-type] li h2,[list-style-type] li h3,[list-style-type] li h4,[list-style-type] li h5,[list-style-type] li div,[list-style-type] li blockquote{display:inline;word-break:break-all}
[list-style-type] li table {display:inline-block;vertical-align:top}
p{margin:0}
td {word-break: break-word}
.default-font-1718803994243{
}
</style><div class="default-font-1718803994243" dir="ltr"><p style="font-size:14px;">Dear expert</p><p style="font-size:14px;">I am following tutorial12 from Wannier90 website, while I have meet some problem. This is my .win file </p><p style="font-size:14px;"><span style="text-wrap:nowrap;"><strong><br></strong></span></p><p style="font-size:14px;"><span style="text-wrap:nowrap;"><strong>num_wann = 15</strong></span></p><p><strong><span style="text-wrap:nowrap;">####################</span></strong></p><p><strong><span style="text-wrap:nowrap;">## Valence + conduction states ##</span></strong></p><p><strong><span style="text-wrap:nowrap;">#num_wann = 18</span></strong></p><p><strong><span style="text-wrap:nowrap;">#num_bands = 90</span></strong></p><p><strong><span style="text-wrap:nowrap;">#dis_froz_max = -6.0</span></strong></p><p><strong><span style="text-wrap:nowrap;">#dis_win_max = 4.0</span></strong></p><p><strong><span style="text-wrap:nowrap;">#dis_num_iter = 100</span></strong></p><p><strong><span style="text-wrap:nowrap;">#################################</span></strong></p><p><strong><span style="text-wrap:nowrap;">num_iter = 100</span></strong></p><p><strong><span style="text-wrap:nowrap;">conv_tol = 1e-10</span></strong></p><p><strong><span style="text-wrap:nowrap;">conv_window = 5</span></strong></p><p><strong><span style="text-wrap:nowrap;">translate_home_cell=true</span></strong></p><p><strong><span style="text-wrap:nowrap;">guiding_centres = true</span></strong></p><p><strong><span style="text-wrap:nowrap;">iprint = 2</span></strong></p><p><strong><span style="text-wrap:nowrap;">## Plotting #################</span></strong></p><p><strong><span style="text-wrap:nowrap;">#restart = plot</span></strong></p><p><strong><span style="text-wrap:nowrap;">#wannier_plot = true</span></strong></p><p><strong><span style="text-wrap:nowrap;">#wannier_plot_format = cube</span></strong></p><p><strong><span style="text-wrap:nowrap;">#wannier_plot_list = 1,7,13</span></strong></p><p><strong><span style="text-wrap:nowrap;">#############################</span></strong></p><p><strong><span style="text-wrap:nowrap;">mp_grid : 1 1 1</span></strong></p><p><strong><span style="text-wrap:nowrap;">gamma_only = true</span></strong></p><p><strong><span style="text-wrap:nowrap;">begin kpoints</span></strong></p><p><strong><span style="text-wrap:nowrap;">0.0000 0.0000 0.0000</span></strong></p><p><strong><span style="text-wrap:nowrap;">end kpoints</span></strong></p><p><strong><span style="text-wrap:nowrap;">begin atoms_cart</span></strong></p><p><strong><span style="text-wrap:nowrap;">Bohr</span></strong></p><p><strong><span style="text-wrap:nowrap;">C 15.628439779 15.000000000 15.00</span></strong></p><p><strong><span style="text-wrap:nowrap;">C 14.309410418 17.284679795 15.00</span></strong></p><p><strong><span style="text-wrap:nowrap;">C 11.671351697 17.284679795 15.00</span></strong></p><p><strong><span style="text-wrap:nowrap;">C 10.352322336 15.000000000 15.00</span></strong></p><p><strong><span style="text-wrap:nowrap;">C 11.671351697 12.715320205 15.00</span></strong></p><p><strong><span style="text-wrap:nowrap;">C 14.309410418 12.715320205 15.00</span></strong></p><p><strong><span style="text-wrap:nowrap;">H 17.675013988 15.000000000 15.00</span></strong></p><p><strong><span style="text-wrap:nowrap;">H 15.333642386 19.057243606 15.00</span></strong></p><p><strong><span style="text-wrap:nowrap;">H 10.647119729 19.057243606 15.00</span></strong></p><p><strong><span style="text-wrap:nowrap;">H 8.305748128 15.000000000 15.00</span></strong></p><p><strong><span style="text-wrap:nowrap;">H 10.647119729 10.942756393 15.00</span></strong></p><p><strong><span style="text-wrap:nowrap;">H 15.333642386 10.942756393 15.00</span></strong></p><p><strong><span style="text-wrap:nowrap;">end atoms_cart</span></strong></p><p><strong><span style="text-wrap:nowrap;">## Valence states ##</span></strong></p><p><strong><span style="text-wrap:nowrap;">begin projections</span></strong></p><p><strong><span style="text-wrap:nowrap;">random</span></strong></p><p><strong><span style="text-wrap:nowrap;">end projections</span></strong></p><p><strong><span style="text-wrap:nowrap;">####################</span></strong></p><p><strong><span style="text-wrap:nowrap;">## Valence + conduction states ##</span><br></strong></p><p><strong><span style="text-wrap:nowrap;">#begin projections</span><br></strong></p><p><strong><span style="text-wrap:nowrap;">#Bohr</span><br></strong></p><p><strong><span style="text-wrap:nowrap;">#H:s</span></strong></p><p><strong><span style="text-wrap:nowrap;">#c= 13.0, 12.7, 15.0 : s</span></strong></p><p><strong><span style="text-wrap:nowrap;">#c= 13.0, 17.3, 15.0 : s</span></strong></p><p><strong><span style="text-wrap:nowrap;">#c= 11.0, 16.1, 15.0 : s</span></strong></p><p><strong><span style="text-wrap:nowrap;">#c= 11.0, 13.9, 15.0 : s</span></strong></p><p><strong><span style="text-wrap:nowrap;">#c= 15.0, 13.9, 15.0 : s</span></strong></p><p><strong><span style="text-wrap:nowrap;">#c= 15.0, 16.1, 15.0 : s</span></strong></p><p><strong><span style="text-wrap:nowrap;">#C:pz</span></strong></p><p><strong><span style="text-wrap:nowrap;">#end projections</span></strong></p><p><strong><span style="text-wrap:nowrap;">#################################</span></strong></p><p><strong>begin unit_cell_cart</strong></p><p><strong>bohr</strong></p><p><strong> 30.000 0.0000000 0.000</strong></p><p><strong> 0.000 30.0000000 0.000</strong></p><p><strong> 0.000 0.0000000 30.000</strong></p><p><strong>end_unit_cell_cart</strong></p><p><br></p><p>however, when I run <strong>wannier90.x</strong> ,after the <strong>scf</strong> , <strong>nscf</strong>, <strong>wannier90.x -pp</strong> and <strong>pw2wannier.x</strong> command is finished. it shows the error:<br></p><p style="font-size:14px;"><span style="text-wrap:nowrap;"><strong>benzene.mmn has not the right number of bands</strong></span></p><p style="font-size:14px;">Where should I change my code? Could you please help me?</p><p style="font-size:14px;">Thank you very much!</p><p style="font-size:14px;"><br></p><p style="font-size:14px;">Zongyi Wang</p></div>