I encountered the same problem when calculating graphene using EPW.
EPW dies at wigner_seitz.f90 saying
[quote:2yl8dg7f]weights do not add up to nk1nk2nk3[/quote:2yl8dg7f]
But, this problem can be fixed by using less restrictive value of epsilon at the line 132 in wigner_seitz.f90
[code:2yl8dg7f]DO while ( abs(dist(i)-mindist).le.eps7 .and. i.lt.125 )[/code:2yl8dg7f]
, where eps7 = 1.0e-7_dp.
I found this fix by looking the source of wannier90.x; hamiltonian_wigner_seitz subroutine in hamiltonian.F90.
But I am not sure why this works.
Thank you.