dbcsr_mp_new Interface

public interface dbcsr_mp_new

Module Procedures

private subroutine dbcsr_mp_new_grid(mp_env, mp_group, pgrid, mynode, numnodes, myprow, mypcol, source)

Creates new process grid

Arguments

Type IntentOptional Attributes Name
type(dbcsr_mp_obj), intent(out) :: mp_env

multiprocessor environment

type(mp_comm_type), intent(in) :: mp_group
integer, intent(in), DIMENSION(0:, 0:) :: pgrid

process grid

integer, intent(in) :: mynode

my processor number

integer, intent(in), optional :: numnodes

total number of processors (processes)

integer, intent(in), optional :: myprow

total number of processors (processes)

integer, intent(in), optional :: mypcol

total number of processors (processes)

integer, intent(in), optional :: source

total number of processors (processes)

private subroutine dbcsr_mp_new_group(mp_env, mp_group, pgrid)

Creates a new dbcsr_mp_obj based on a input template

Arguments

Type IntentOptional Attributes Name
type(dbcsr_mp_obj), intent(out) :: mp_env
type(mp_comm_type), intent(in) :: mp_group
integer, optional, DIMENSION(:, :), POINTER :: pgrid

Optional, if not provided group is assumed to be a 2D cartesian communicator