Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
removed unneeded MPI allreduce
  • Loading branch information
jtramm committed Feb 12, 2025
commit b8c3d80ce527495751383c95f1f190d349aaa72d
2 changes: 0 additions & 2 deletions src/random_ray/source_region.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -211,8 +211,6 @@ void SourceRegionContainer::mpi_sync_ranks(bool reduce_position)
MPI_SUM, mpi::intracomm);
MPI_Allreduce(MPI_IN_PLACE, volume_sq_.data(), n_source_regions_, MPI_DOUBLE,
MPI_SUM, mpi::intracomm);
MPI_Allreduce(MPI_IN_PLACE, volume_sq_t_.data(), n_source_regions_,
MPI_DOUBLE, MPI_SUM, mpi::intracomm);

MPI_Allreduce(MPI_IN_PLACE, scalar_flux_new_.data(),
n_source_regions_ * negroups_, MPI_DOUBLE, MPI_SUM, mpi::intracomm);
Expand Down