dbcsr_tas_mp_comm_from_matrix_sizes Function

private function dbcsr_tas_mp_comm_from_matrix_sizes(mp_comm, nblkrows, nblkcols) result(mp_comm_new)

Derive optimal cartesian process grid from matrix sizes. This ensures optimality for dense matrices only

Arguments

Type IntentOptional Attributes Name
type(mp_comm_type), intent(in) :: mp_comm
integer(kind=int_8), intent(in) :: nblkrows

total number of block rows total number of block columns

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

total number of block rows total number of block columns

Return Value type(mp_comm_type)

MPI communicator