Skip to content

Commit

Permalink
Do not attempt to reassign submaps in allreduce mode
Browse files Browse the repository at this point in the history
  • Loading branch information
keskitalo committed Mar 15, 2018
1 parent 770f84d commit fe95ae1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/maptod_transfer.f90
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,10 @@ SUBROUTINE assign_submaps(id_submap, nosubmaps, nopix_map, nopix_cross, &
integer, allocatable :: nosubmaps_task(:)
integer :: isubmap_start, isubmap_stop

! Every process owns every submap in allreduce mode

if (allreduce) return

if (.not. allocated(ksubmap_table)) &
call abort_mpi('assign_submaps: ksubmap_table not allocated')

Expand Down

0 comments on commit fe95ae1

Please sign in to comment.