Skip to content
Open
Show file tree
Hide file tree
Changes from 2 commits
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
1 change: 1 addition & 0 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@
| harry-shepherd | Harry Shepherd | Met Office | 2026-01-08 |
| EdHone | Ed Hone | Met Office | 2026-01-09 |
| tom-j-h | Tom Hill | Met Office | 2026-01-19 |
| shreybh1 | Shrey Bhardwaj | EPCC | 2026-02-13 |
6 changes: 0 additions & 6 deletions infrastructure/source/utilities/halo_comms_mod.F90
Original file line number Diff line number Diff line change
Expand Up @@ -849,11 +849,6 @@ function generate_redistribution_map(src_indices, tgt_indices, datatype, xmap) &
src_idxlist = xt_idxvec_new( src_indices, size(src_indices) )
tgt_idxlist = xt_idxvec_new( tgt_indices, size(tgt_indices) )

! generate exchange map
comm = global_mpi%get_comm()
xmap = xt_xmap_dist_dir_new( src_idxlist, tgt_idxlist, &
comm%get_comm_mpi_val() )

allocate(src_offsets( size(src_indices) ))
allocate(tgt_offsets( size(tgt_indices) ))

Expand All @@ -865,7 +860,6 @@ function generate_redistribution_map(src_indices, tgt_indices, datatype, xmap) &
tgt_offsets(i) = i + size(src_indices) - 1
end do

datatype_mpi_val = datatype%get_datatype_mpi_val()
redist = xt_redist_p2p_off_new(xmap, src_offsets,tgt_offsets, datatype_mpi_val)

deallocate(src_offsets)
Expand Down