Skip to content

Commit

Permalink
remedy segfault with openmpi/intelmpi in MPI_Reduc
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas Irmler committed Nov 13, 2020
1 parent 36b1f6d commit c5c7cec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/contraction/ctr_2d_general.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ namespace CTF_int {
if (cdt_C->rank == owner_C)
cdt_C->red(MPI_IN_PLACE, op_C, s_C, sr_C->mdtype(), sr_C->addmop(), owner_C);
else
cdt_C->red(op_C, NULL, s_C, sr_C->mdtype(), sr_C->addmop(), owner_C);
cdt_C->red(op_C, op_C, s_C, sr_C->mdtype(), sr_C->addmop(), owner_C);
if (rank_C == owner_C){
sr_C->copy(ctr_sub_lda_C, ctr_lda_C,
op_C, ctr_sub_lda_C, sr_C->mulid(),
Expand Down

0 comments on commit c5c7cec

Please sign in to comment.