create_cart_comm Subroutine

private subroutine create_cart_comm(old_comm, comm_dims, comm, local_comms, ipencil)

Creates cartesian communicator

Arguments

Type IntentOptional Attributes Name
type(MPI_Comm), intent(in) :: old_comm

Communicator to create cartesian from

integer(kind=int32), intent(in) :: comm_dims(:)

Dims in cartesian communicator

type(MPI_Comm), intent(out) :: comm

Cartesian communicator

type(MPI_Comm), intent(out) :: local_comms(:)

1d communicators in cartesian communicator

type(pencil_init), intent(in), optional :: ipencil

Pencil passed by user


Calls

proc~~create_cart_comm~~CallsGraph proc~create_cart_comm create_cart_comm interface~to_str to_str proc~create_cart_comm->interface~to_str mpi_cart_create mpi_cart_create proc~create_cart_comm->mpi_cart_create mpi_cart_sub mpi_cart_sub proc~create_cart_comm->mpi_cart_sub mpi_comm_dup mpi_comm_dup proc~create_cart_comm->mpi_comm_dup mpi_comm_free mpi_comm_free proc~create_cart_comm->mpi_comm_free proc~create_subcomm_include_all create_subcomm_include_all proc~create_cart_comm->proc~create_subcomm_include_all proc~double_to_string double_to_string interface~to_str->proc~double_to_string proc~float_to_string float_to_string interface~to_str->proc~float_to_string proc~int32_to_string int32_to_string interface~to_str->proc~int32_to_string proc~int64_to_string int64_to_string interface~to_str->proc~int64_to_string proc~int8_to_string int8_to_string interface~to_str->proc~int8_to_string mpi_comm_size mpi_comm_size proc~create_subcomm_include_all->mpi_comm_size proc~create_subcomm create_subcomm proc~create_subcomm_include_all->proc~create_subcomm mpi_comm_create mpi_comm_create proc~create_subcomm->mpi_comm_create mpi_comm_group mpi_comm_group proc~create_subcomm->mpi_comm_group mpi_group_free mpi_group_free proc~create_subcomm->mpi_group_free mpi_group_incl mpi_group_incl proc~create_subcomm->mpi_group_incl

Called by

proc~~create_cart_comm~~CalledByGraph proc~create_cart_comm create_cart_comm proc~create_pencils_and_comm create_pencils_and_comm proc~create_pencils_and_comm->proc~create_cart_comm proc~autotune_grid autotune_grid proc~autotune_grid->proc~create_pencils_and_comm proc~create transpose_plan%create proc~create->proc~create_pencils_and_comm proc~autotune_grid_decomposition autotune_grid_decomposition proc~create->proc~autotune_grid_decomposition proc~autotune_grid_decomposition->proc~autotune_grid