From d62da41f423da653de66543df48082feea5f7210 Mon Sep 17 00:00:00 2001 From: shrey Date: Fri, 13 Feb 2026 15:04:57 +0000 Subject: [PATCH 1/2] removed creation of xmap in generate_redistribution_map --- infrastructure/source/utilities/halo_comms_mod.F90 | 6 ------ 1 file changed, 6 deletions(-) diff --git a/infrastructure/source/utilities/halo_comms_mod.F90 b/infrastructure/source/utilities/halo_comms_mod.F90 index 2691e65ce..bf9cd0e34 100644 --- a/infrastructure/source/utilities/halo_comms_mod.F90 +++ b/infrastructure/source/utilities/halo_comms_mod.F90 @@ -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) )) @@ -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) From cee40e7dcf1d298a776d1d4c10b3a2486d264f4b Mon Sep 17 00:00:00 2001 From: shrey Date: Fri, 13 Feb 2026 15:30:36 +0000 Subject: [PATCH 2/2] CLA signed --- CONTRIBUTORS.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index 330c865c6..e21bc126d 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -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 |