MPI one sided communication
Requesting more sets of eyes to look over an implementation for school project. This particular function is failing the correctness test (everything else passes ok). I think the logic for start and end for each rank may be to blame but not sure. The beginning and rebalanced arrays are checksumd for equality and that is where it fails meaning there is probably overlap or corruption.