Helper class used to obtain displacements and counts needed to send to other processes
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
integer(kind=int32), | public, | allocatable | :: | ls(:,:) |
Starts of my data that I should send or recv while communicating with other processes |
||
integer(kind=int32), | public, | allocatable | :: | ln(:,:) |
Counts of my data that I should send or recv while communicating with other processes |
||
integer(kind=int32), | public, | allocatable | :: | sizes(:,:) |
Counts of every rank in a comm |
||
integer(kind=int32), | public, | allocatable | :: | starts(:,:) |
Starts of every rank in a comm |
||
integer(kind=int32), | public, | allocatable | :: | displs(:) |
Local buffer displacement |
||
integer(kind=int32), | public, | allocatable | :: | counts(:) |
Number of elements to send or recv |
Creates handle
Creates handle
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(data_handle), | intent(inout) | :: | self |
Helper class |
||
type(pencil), | intent(in) | :: | info |
Pencil info |
||
type(MPI_Comm), | intent(in) | :: | comm |
MPI communicator |
||
integer(kind=int32), | intent(in) | :: | comm_size |
Size of |
Destroys handle
Destroys handle
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(data_handle), | intent(inout) | :: | self |
Helper class |