Skip to content

Commit

Permalink
Fix write_tb with MPI
Browse files Browse the repository at this point in the history
Other cores need `eigval` array as well.
  • Loading branch information
qiaojunfeng authored and JeromeCCP9 committed Jan 17, 2025
1 parent dec3e80 commit 7565adf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/wannier_prog.F90
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,7 @@ program wannier
need_eigvals = common_data%w90_calculation%bands_plot
need_eigvals = (need_eigvals .or. common_data%w90_calculation%fermi_surface_plot)
need_eigvals = (need_eigvals .or. common_data%output_file%write_hr)
need_eigvals = (need_eigvals .or. common_data%output_file%write_tb)
need_eigvals = (need_eigvals .or. ldsnt) ! disentanglement anyway requires evals

if (need_eigvals) then
Expand Down

0 comments on commit 7565adf

Please sign in to comment.