Gather real data to root node
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| logical, | intent(inout) | :: | array |
local array for sending data |
||
| integer, | intent(in) | :: | localcount |
localcount elements will be sent to the root node |
||
| logical, | intent(inout) | :: | rootglobalarray |
array on the root node to which data will be sent |
||
| integer, | intent(in) | :: | counts(0:) |
how data should be partitioned, see MPI documentation or function comms_array_split |
||
| integer, | intent(in) | :: | displs(0:) | |||
| type(w90_error_type), | intent(out), | allocatable | :: | error | ||
| type(w90_comm_type), | intent(in) | :: | comm |
Gather real data to root node (for arrays of rank 1)
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=dp), | intent(inout) | :: | array(:) |
local array for sending data |
||
| integer, | intent(in) | :: | localcount |
localcount elements will be sent to the root node |
||
| real(kind=dp), | intent(inout) | :: | rootglobalarray(:) |
array on the root node to which data will be sent |
||
| integer, | intent(in) | :: | counts(0:) |
how data should be partitioned, see MPI documentation or function comms_array_split |
||
| integer, | intent(in) | :: | displs(0:) | |||
| type(w90_error_type), | intent(out), | allocatable | :: | error | ||
| type(w90_comm_type), | intent(in) | :: | comm |
Gather real data to root node (for arrays of rank 2)
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=dp), | intent(inout) | :: | array(:,:) |
local array for sending data |
||
| integer, | intent(in) | :: | localcount |
localcount elements will be sent to the root node |
||
| real(kind=dp), | intent(inout) | :: | rootglobalarray(:,:) |
array on the root node to which data will be sent |
||
| integer, | intent(in) | :: | counts(0:) |
how data should be partitioned, see MPI documentation or function comms_array_split |
||
| integer, | intent(in) | :: | displs(0:) | |||
| type(w90_error_type), | intent(out), | allocatable | :: | error | ||
| type(w90_comm_type), | intent(in) | :: | comm |
Gather real data to root node (for arrays of rank 3)
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=dp), | intent(inout) | :: | array(:,:,:) |
local array for sending data |
||
| integer, | intent(in) | :: | localcount |
localcount elements will be sent to the root node |
||
| real(kind=dp), | intent(inout) | :: | rootglobalarray(:,:,:) |
array on the root node to which data will be sent |
||
| integer, | intent(in) | :: | counts(0:) |
how data should be partitioned, see MPI documentation or function comms_array_split |
||
| integer, | intent(in) | :: | displs(0:) | |||
| type(w90_error_type), | intent(out), | allocatable | :: | error | ||
| type(w90_comm_type), | intent(in) | :: | comm |
Gather real data to root node (for arrays of rank 2 and 3, respectively)
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=dp), | intent(inout) | :: | array(:,:) |
local array for sending data |
||
| integer, | intent(in) | :: | localcount |
localcount elements will be sent to the root node |
||
| real(kind=dp), | intent(inout) | :: | rootglobalarray(:,:,:) |
array on the root node to which data will be sent |
||
| integer, | intent(in) | :: | counts(0:) |
how data should be partitioned, see MPI documentation or function comms_array_split |
||
| integer, | intent(in) | :: | displs(0:) | |||
| type(w90_error_type), | intent(out), | allocatable | :: | error | ||
| type(w90_comm_type), | intent(in) | :: | comm |
Gather complex data to root node (for arrays of rank 1)
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| complex(kind=dp), | intent(inout) | :: | array(:) | |||
| integer, | intent(in) | :: | localcount | |||
| complex(kind=dp), | intent(inout) | :: | rootglobalarray(:) | |||
| integer, | intent(in) | :: | counts(0:) | |||
| integer, | intent(in) | :: | displs(0:) | |||
| type(w90_error_type), | intent(out), | allocatable | :: | error | ||
| type(w90_comm_type), | intent(in) | :: | comm |
Gather complex data to root node (for arrays of rank 2)
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| complex(kind=dp), | intent(inout) | :: | array(:,:) | |||
| integer, | intent(in) | :: | localcount | |||
| complex(kind=dp), | intent(inout) | :: | rootglobalarray(:,:) | |||
| integer, | intent(in) | :: | counts(0:) | |||
| integer, | intent(in) | :: | displs(0:) | |||
| type(w90_error_type), | intent(out), | allocatable | :: | error | ||
| type(w90_comm_type), | intent(in) | :: | comm |
Gather complex data to root node (for arrays of rank 3)
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| complex(kind=dp), | intent(inout) | :: | array(:,:,:) | |||
| integer, | intent(in) | :: | localcount | |||
| complex(kind=dp), | intent(inout) | :: | rootglobalarray(:,:,:) | |||
| integer, | intent(in) | :: | counts(0:) | |||
| integer, | intent(in) | :: | displs(0:) | |||
| type(w90_error_type), | intent(out), | allocatable | :: | error | ||
| type(w90_comm_type), | intent(in) | :: | comm |
Gather complex data to root node (for arrays of rank 3 and 4, respectively)
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| complex(kind=dp), | intent(inout) | :: | array(:,:,:) | |||
| integer, | intent(in) | :: | localcount | |||
| complex(kind=dp), | intent(inout) | :: | rootglobalarray(:,:,:,:) | |||
| integer, | intent(in) | :: | counts(0:) | |||
| integer, | intent(in) | :: | displs(0:) | |||
| type(w90_error_type), | intent(out), | allocatable | :: | error | ||
| type(w90_comm_type), | intent(in) | :: | comm |
Gather complex data to root node (for arrays of rank 4)
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| complex(kind=dp), | intent(inout) | :: | array(:,:,:,:) | |||
| integer, | intent(in) | :: | localcount | |||
| complex(kind=dp), | intent(inout) | :: | rootglobalarray(:,:,:,:) | |||
| integer, | intent(in) | :: | counts(0:) | |||
| integer, | intent(in) | :: | displs(0:) | |||
| type(w90_error_type), | intent(out), | allocatable | :: | error | ||
| type(w90_comm_type), | intent(in) | :: | comm |