<div dir="ltr"><div>Hi Wannier90 developers and Users,</div><div>As you know vasp2wannier90  doesn't generate the <b>wannier90.uHu</b> file. For this i used wannierBerri code to generate it from wannier90.mmn, wannier90.amn files. Using the <b><span style="color:rgb(64,64,64);font-family:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",Courier,monospace;font-size:12px;box-sizing:border-box">wannierberri</span><span style="font-family:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",Courier,monospace;font-size:12px;box-sizing:border-box;color:rgb(102,102,102)">.</span><span style="color:rgb(64,64,64);font-family:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",Courier,monospace;font-size:12px;box-sizing:border-box">mmn2uHu</span></b>  module, I successfully generated the w<b>annier90.uHu</b> file using the command-line <b>python3 -m wannierberri.mmn2uHu wannier90  formatted=uHu</b>. But  when I use this file in postwannier90 to calculate orbital magnetization, it gives an error like that: <b>wannier90.uHu has not the right number of bands</b>.</div><div>Let me mention that the number bands in my wannier90.eign file is 256. In my wannier90.win file: <b>num_bands =  256</b> and <b>num_wann =   188</b>.  The generated wannier90.uHu via wannierBerri also has 256 bands. Then why this error is happening. I don't know how to resolve it. </div><div>Please help me in this regard. </div><div>Best Reds</div><div>Abid</div><div><br></div><img src="cid:ii_klsyeivd0" alt="pic.jpg" width="492" height="481"><br></div>