Skip to content

Commit

Permalink
Correct typo in unused (but potentially useful) function setup_distri…
Browse files Browse the repository at this point in the history
…buted_memory_MPI_for_weights_precomputation() to likely correct value based on comparison to corresponding lines in setup_distributed_memory_MPI().
  • Loading branch information
mrhardman committed Dec 13, 2023
1 parent 97caaad commit a1e4415
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/communication.jl
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ function setup_distributed_memory_MPI_for_weights_precomputation(vpa_nelement_gl
# construct a communicator for intra-block communication
comm_block[] = MPI.Comm_split(comm_vpavperp,iblock,irank_block)

vpa_ngroup = vpa_nchunks
vpa_ngroup = vperp_nchunks
vpa_nrank_per_group = vpa_nchunks
vpa_igroup = floor(mk_int,iblock/vpa_nchunks) # iblock(irank) - > vpa_igroup
vpa_irank = mod(iblock,vpa_nchunks) # iblock(irank) -> vpa_irank
Expand Down

0 comments on commit a1e4415

Please sign in to comment.