Append a completed fragment result to the current outbound batch.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=int64), | intent(in) | :: | item_idx | |||
| type(calculation_result_t), | intent(in) | :: | result | |||
| integer(kind=int32), | intent(inout) | :: | batch_count | |||
| integer(kind=int64), | intent(inout) | :: | batch_ids(:) | |||
| type(calculation_result_t), | intent(inout) | :: | batch_results(:) |
Send all currently batched results to rank 0 and reset the batch.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(comm_t), | intent(in) | :: | world_comm | |||
| integer(kind=int32), | intent(inout) | :: | batch_count | |||
| integer(kind=int64), | intent(inout) | :: | batch_ids(:) | |||
| type(calculation_result_t), | intent(inout) | :: | batch_results(:) |
Receive grouped result batches on rank 0 and update global progress counters.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(comm_t), | intent(in) | :: | world_comm | |||
| type(calculation_result_t), | intent(inout) | :: | results(:) | |||
| integer(kind=int64), | intent(inout) | :: | results_received | |||
| integer(kind=int64), | intent(in) | :: | total_items | |||
| type(timer_type), | intent(in) | :: | coord_timer | |||
| integer, | intent(inout) | :: | group_done_count | |||
| character(len=*), | intent(in), | optional | :: | label |
Drain pending local worker results and append them to the outbound batch.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(comm_t), | intent(in) | :: | node_comm | |||
| type(comm_t), | intent(in) | :: | world_comm | |||
| integer(kind=int64), | intent(inout) | :: | worker_map(:) | |||
| integer(kind=int32), | intent(inout) | :: | batch_count | |||
| integer(kind=int64), | intent(inout) | :: | batch_ids(:) | |||
| type(calculation_result_t), | intent(inout) | :: | batch_results(:) | |||
| integer(kind=int64), | intent(inout), | optional | :: | results_received |
Drain pending node-level results and append them to the outbound batch.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(comm_t), | intent(in) | :: | world_comm | |||
| integer(kind=int32), | intent(inout) | :: | batch_count | |||
| integer(kind=int64), | intent(inout) | :: | batch_ids(:) | |||
| type(calculation_result_t), | intent(inout) | :: | batch_results(:) | |||
| integer(kind=int64), | intent(inout), | optional | :: | results_received |