split_factor_estimate Function

private function split_factor_estimate(max_mm_dim, nze_a, nze_b, nze_c, numnodes) result(nsplit)

Estimate optimal split factor for AxB=C from occupancies (number of non-zero elements) This estimate is based on the minimization of communication volume whereby the communication of CARMA n-split step and CANNON-multiplication of submatrices are considered. \result estimated split factor

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: max_mm_dim
integer(kind=int_8), intent(in) :: nze_a

number of non-zeroes in A number of non-zeroes in B number of non-zeroes in C

integer(kind=int_8), intent(in) :: nze_b

number of non-zeroes in A number of non-zeroes in B number of non-zeroes in C

integer(kind=int_8), intent(in) :: nze_c

number of non-zeroes in A number of non-zeroes in B number of non-zeroes in C

integer, intent(in) :: numnodes

number of MPI ranks

Return Value integer