Skip to content

Commit

Permalink
Fix gradients with subgroups larger than 1
Browse files Browse the repository at this point in the history
  • Loading branch information
Frederick Stein authored and fstein93 committed Oct 25, 2021
1 parent dd928c5 commit 65f4561
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mp2_ri_grad_util.F
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ SUBROUTINE mat_3d_to_2d(B_ia_Q, BIb_C_2D, homo, my_B_size, virtual, my_B_virtual

CALL get_group_dist(gd_B_virtual, proc_receive, rec_B_virtual_start, rec_B_virtual_end, rec_B_size)

ALLOCATE (BIb_C_rec(homo, rec_B_size, my_group_L_size))
ALLOCATE (BIb_C_rec(homo, rec_B_size, SIZE(B_ia_Q, 3)))
BIb_C_rec = 0.0_dp

CALL mp_sendrecv(B_ia_Q, proc_send, &
Expand Down

0 comments on commit 65f4561

Please sign in to comment.