module fd4_globaldef_mod module stack_modTypes:
public type fd4_mpiVariables:
integer, public, parameter :: MPI_I4K = MPI_INTEGER integer, public, parameter :: MPI_I8K = MPI_INTEGER8 integer, public, parameter :: MPI_I_K = MPI_INTEGER integer, public, parameter :: MPI_R4K = MPI_REAL integer, public, parameter :: MPI_R8K = MPI_DOUBLE_PRECISION integer, public, parameter :: MPI_R_K = MPI_DOUBLE_PRECISION integer (kind=i_k), public, parameter :: MPI_R_K_size = 8
TODO:
Author: Matthias Lieber
See also: module kinds_mod
public type fd4_mpi integer :: comm integer :: rank integer :: nprocs integer :: lognprocs integer, pointer, dimension (:) :: recvcnt => NULL () integer, pointer, dimension (:) :: recvdis => NULL () integer, pointer, dimension (:) :: senddis => NULL () real (kind=r4k), pointer, dimension (:) :: sendreal => NULL () real (kind=r4k), pointer, dimension (:) :: recvreal => NULL () type (stack) :: requests integer, pointer, dimension (:,:) :: statuses end type fd4_mpiComponents:
comm | MPI communicator |
rank | MPI rank |
nprocs | number of MPI processes |
lognprocs | ceiling(log(nprocs)) |
recvcnt | for MPI_Allgatherv |
recvdis | for MPI_Allgatherv |
senddis | for MPI_Allgatherv |
sendreal | to exchange integers with neighbors |
recvreal | to exchange integers with neighbors |
requests | requests for non-blocking communication |
statuses | array of statuses |