NTPoly
|
Module for gathering matrices across processes. More...
Data Types | |
type | gatherhelper_t |
A data structure to stores internal information about a gather call. More... | |
Functions/Subroutines | |
subroutine, public | gathersizes (matrix, communicator, helper) |
First we gather the sizes of the data to be sent. More... | |
subroutine, public | gatherandcomposedata (matrix, communicator, gathered_matrix, helper) |
Next we gather the data. More... | |
pure subroutine, public | gatherandcomposecleanup (matrix, gathered_matrix, helper) |
Finally we finish setting up the matrices are communication is done. More... | |
subroutine, public | gatherandsumdata (matrix, communicator, helper) |
Next we gather the data. More... | |
pure subroutine, public | gatherandsumcleanup (matrix, gathered_matrix, threshold, helper) |
Finally we sum up the matrices are communication is done. More... | |
logical function, public | testsizerequest (helper) |
Test if a request for the size of the matrices is complete. More... | |
logical function, public | testouterrequest (helper) |
Test if a request for the outer indices of the matrices is complete. More... | |
logical function, public | testinnerrequest (helper) |
Test if a request for the inner indices of the matrices is complete. More... | |
logical function, public | testdatarequest (helper) |
Test if a request for the data of the matrices is complete. More... | |
Module for gathering matrices across processes.
pure subroutine, public matrixgathermodule::gatherandcomposecleanup | ( | type(sparsematrix_t), intent(in) | matrix, |
type(sparsematrix_t), intent(inout) | gathered_matrix, | ||
type(gatherhelper_t), intent(inout) | helper | ||
) |
Finally we finish setting up the matrices are communication is done.
[in] | matrix | to send. |
[in] | gathered_matrix | matrix we are gathering. |
[in,out] | helper | a helper associated with this gather. |
subroutine, public matrixgathermodule::gatherandcomposedata | ( | type(sparsematrix_t), intent(in) | matrix, |
integer, intent(inout) | communicator, | ||
type(sparsematrix_t), intent(inout) | gathered_matrix, | ||
type(gatherhelper_t), intent(inout) | helper | ||
) |
Next we gather the data.
[in] | matrix | to send. |
[in,out] | communicator | to send along. |
[in,out] | gathered_matrix | the matrix we are gathering. |
[in,out] | helper | a helper associated with this gather. |
pure subroutine, public matrixgathermodule::gatherandsumcleanup | ( | type(sparsematrix_t), intent(in) | matrix, |
type(sparsematrix_t), intent(inout) | gathered_matrix, | ||
real(ntreal), intent(in) | threshold, | ||
type(gatherhelper_t), intent(inout) | helper | ||
) |
Finally we sum up the matrices are communication is done.
[in] | matrix | to send. |
[in,out] | gathered_matrix | the matrix being gathered. |
[in] | threshold | the threshold for flushing values. |
[in,out] | helper | a helper associated with this gather. |
subroutine, public matrixgathermodule::gatherandsumdata | ( | type(sparsematrix_t), intent(in) | matrix, |
integer, intent(inout) | communicator, | ||
type(gatherhelper_t), intent(inout) | helper | ||
) |
Next we gather the data.
[in] | matrix | to send. |
[in,out] | communicator | to send along. |
[in,out] | helper | a helper associated with this gather. |
subroutine, public matrixgathermodule::gathersizes | ( | type(sparsematrix_t), intent(in) | matrix, |
integer, intent(inout) | communicator, | ||
type(gatherhelper_t), intent(inout) | helper | ||
) |
First we gather the sizes of the data to be sent.
[in] | matrix | to send. |
[in,out] | communicator | to send along. |
[in,out] | helper | a helper associated with this gather. |
logical function, public matrixgathermodule::testdatarequest | ( | type(gatherhelper_t), intent(inout) | helper | ) |
Test if a request for the data of the matrices is complete.
[in] | helper | the gatherer helper structure. |
logical function, public matrixgathermodule::testinnerrequest | ( | type(gatherhelper_t), intent(inout) | helper | ) |
Test if a request for the inner indices of the matrices is complete.
[in] | helper | the gatherer helper structure. |
logical function, public matrixgathermodule::testouterrequest | ( | type(gatherhelper_t), intent(inout) | helper | ) |
Test if a request for the outer indices of the matrices is complete.
[in] | helper | the gatherer helper structure. |
logical function, public matrixgathermodule::testsizerequest | ( | type(gatherhelper_t), intent(inout) | helper | ) |
Test if a request for the size of the matrices is complete.
[in] | helper | the gatherer helper structure. |