Given a process grid, this splits it into two grids of even size
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(ProcessGrid_t), | intent(inout) | :: | old_grid | The old grid to split |
||
type(ProcessGrid_t), | intent(inout) | :: | new_grid | The new grid that we are creating |
||
integer, | intent(out) | :: | my_color | A color value indicating which set this process was split into |
||
logical, | intent(out) | :: | split_slice | True if we were able to split along slices. |
||
integer, | intent(out) | :: | between_grid_comm | A communicator for sending messages between groups. |