Skip to content

Commit

Permalink
fixes checkpointing, fixes old library build, removes 'library' flag
Browse files Browse the repository at this point in the history
  • Loading branch information
Jerome Jackson committed Nov 24, 2022
1 parent c38e419 commit d279e7b
Show file tree
Hide file tree
Showing 10 changed files with 388 additions and 408 deletions.
11 changes: 3 additions & 8 deletions src/disentangle.F90
Original file line number Diff line number Diff line change
Expand Up @@ -288,9 +288,9 @@ subroutine setup_m_loc(kmesh_info, print_output, m_matrix_local, m_matrix_orig_l
integer, intent(in) :: optimisation
integer, intent(in) :: dist_k(:)

complex(kind=dp), intent(in) :: u_matrix(:, :, :) ! (num_wann, num_wann, num_kpts)
complex(kind=dp), intent(in) :: m_matrix_orig_local(:, :, :, :) ! (num_bands, num_bands, nntot, num_kpts)
complex(kind=dp), intent(inout) :: m_matrix_local(:, :, :, :) ! (num_wann, num_wann, nntot, rank_kpts)
complex(kind=dp), intent(in) :: u_matrix(:, :, :) ! (num_wann, num_wann, num_kpts) -- full array duplicated on all ranks
complex(kind=dp), intent(in) :: m_matrix_orig_local(:, :, :, :) ! (num_bands, num_bands, nntot, num_kpts) -- only local kpts
complex(kind=dp), intent(inout) :: m_matrix_local(:, :, :, :) ! (num_wann, num_wann, nntot, rank_kpts) -- only local kpts

type(kmesh_info_type), intent(in) :: kmesh_info
type(print_output_type), intent(in) :: print_output
Expand Down Expand Up @@ -368,11 +368,6 @@ subroutine setup_m_loc(kmesh_info, print_output, m_matrix_local, m_matrix_orig_l
close (page_unit)
endif

! collect up the local parts back on root
!m = num_wann*num_wann*kmesh_info%nntot
!call comms_gatherv(m_matrix_local, m*counts(my_node_id), m_matrix, m*counts, m*displs, error, comm)
!if (allocated(error)) return

deallocate (cwb)
deallocate (cww)
deallocate (global_k)
Expand Down
Loading

0 comments on commit d279e7b

Please sign in to comment.