<html><head></head><body><div dir="auto">Dear Valid,<br><br> If you work in an approximation like G0W0, where only the energies are modified, not the wave functions. In that case the amn, mm, uHu files only need reordering, because different bands may shift by different values and thus change the order.<br><br>and we wrote an utility for that some years ago<br><br><<a href="https://github.com/wannier-developers/wannier90/blob/develop/utility%2Fgw2wannier90.py">https://github.com/wannier-developers/wannier90/blob/develop/utility%2Fgw2wannier90.py</a>><br><br>Best,<br>Stepan.<br></div><br><br><div class="gmail_quote"><div dir="auto">On April 11, 2026 6:57:19 PM GMT+02:00, Vahid Askarpour <vh261281@dal.ca> wrote:</div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="net-thunderbird-android__plain-text-message-pre"><div dir="auto">Dear Wannier Users,<br><br>When trying to wannierize the band energies generated by external codes such as HSE or GW, one can modify the .eig file but the .mmn and .amn are still based on the nscf calculations. I do not believe that the Wannier code accepts an external file of energies instead of the nscf calculation. Is there a tool that allows the generation of the .mmn and .amn files consistent with an external energy file (and not the one generated by the nscf)?<br><br>Thanks,<br>Vahid<br><br>Vahid Askarpour<br>Department of Physics and Atmospheric Science<br>Dalhousie University<br>Halifax, NS, CANADA<hr>Wannier mailing list<br>Wannier@lists.quantum-espresso.org<br><a href="https://lists.quantum-espresso.org/mailman/listinfo/wannier">https://lists.quantum-espresso.org/mailman/listinfo/wannier</a><br></div></pre></blockquote></div></body></html>