CAM
parallel_mod Module Reference

Data Types

interface  assignment(=)
 
type  parallel_t
 

Functions/Subroutines

subroutine copy_par (par2, par1)
 
type(parallel_t) function, public initmp (npes_in, npes_stride)
 
subroutine, public abortmp (string)
 
subroutine, public haltmp (string)
 stops the parallel (message passing) environment and prints a message. More...
 
subroutine, public syncmp (par)
 
real(kind=real_kind) function, public pmin_1d (variable, par)
 
real(kind=real_kind) function, public pmax_1d (variable, par)
 
real(kind=real_kind) function, public psum_1d (variable, par)
 

Variables

integer, parameter, public ordered = 1
 
integer, parameter, public fast = 2
 
integer, parameter, public bndry_tag_base = 0
 
integer, parameter, public thread_tag_bits = 9
 
integer, parameter, public max_active_msg = (MPI_TAG_UB/2**THREAD_TAG_BITS) - 1
 
integer, parameter, public hme_status_size = MPI_STATUS_SIZE
 
integer, public maxnumberframes
 
integer, public numframes
 
logical, public partitionfornodes
 
integer, public mpireal_t
 
integer, public mpiinteger_t
 
integer, public mpichar_t
 
integer, public mpilogical_t
 
integer, public iam
 
integer, dimension(:,:), allocatable, public status
 
integer, dimension(:), allocatable, public rrequest
 
integer, dimension(:), allocatable, public srequest
 
real(kind=4), dimension(:), allocatable, public frameweight
 
integer, dimension(:), allocatable, public frameindex
 
integer, dimension(:), allocatable, public framecount
 
integer, parameter ncomponents =1
 
integer, public ncompoints
 
integer, public npackpoints
 
integer, parameter nrepro_vars =MAX(11, nlev*qsize_d)
 
real(kind=8), dimension(:,:), allocatable, public global_shared_buf
 
real(kind=8), dimension(nrepro_vars), public global_shared_sum
 

Function/Subroutine Documentation

◆ abortmp()

subroutine, public parallel_mod::abortmp ( character*(*)  string)
Here is the caller graph for this function:

◆ copy_par()

subroutine parallel_mod::copy_par ( type(parallel_t), intent(out)  par2,
type(parallel_t), intent(in)  par1 
)

◆ haltmp()

subroutine, public parallel_mod::haltmp ( character*(*)  string)

stops the parallel (message passing) environment and prints a message.

Print the message and call MPI_finalize.

Parameters
[in]stringThe message to be printed.
Here is the caller graph for this function:

◆ initmp()

type (parallel_t) function, public parallel_mod::initmp ( integer, intent(in), optional  npes_in,
integer, intent(in), optional  npes_stride 
)
Here is the caller graph for this function:

◆ pmax_1d()

real(kind=real_kind) function, public parallel_mod::pmax_1d ( real(kind=real_kind), dimension(:), intent(in)  variable,
type (parallel_t), intent(in)  par 
)

◆ pmin_1d()

real(kind=real_kind) function, public parallel_mod::pmin_1d ( real(kind=real_kind), dimension(:), intent(in)  variable,
type (parallel_t), intent(in)  par 
)

◆ psum_1d()

real(kind=real_kind) function, public parallel_mod::psum_1d ( real(kind=real_kind), dimension(:), intent(in)  variable,
type (parallel_t), intent(in)  par 
)

◆ syncmp()

subroutine, public parallel_mod::syncmp ( type (parallel_t par)
Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ bndry_tag_base

integer, parameter, public parallel_mod::bndry_tag_base = 0

◆ fast

integer, parameter, public parallel_mod::fast = 2

◆ framecount

integer, dimension(:), allocatable, public parallel_mod::framecount

◆ frameindex

integer, dimension(:), allocatable, public parallel_mod::frameindex

◆ frameweight

real(kind=4), dimension(:), allocatable, public parallel_mod::frameweight

◆ global_shared_buf

real(kind=8), dimension(:,:), allocatable, public parallel_mod::global_shared_buf

◆ global_shared_sum

real(kind=8), dimension(nrepro_vars), public parallel_mod::global_shared_sum

◆ hme_status_size

integer, parameter, public parallel_mod::hme_status_size = MPI_STATUS_SIZE

◆ iam

integer, public parallel_mod::iam

◆ max_active_msg

integer, parameter, public parallel_mod::max_active_msg = (MPI_TAG_UB/2**THREAD_TAG_BITS) - 1

◆ maxnumberframes

integer, public parallel_mod::maxnumberframes

◆ mpichar_t

integer, public parallel_mod::mpichar_t

◆ mpiinteger_t

integer, public parallel_mod::mpiinteger_t

◆ mpilogical_t

integer, public parallel_mod::mpilogical_t

◆ mpireal_t

integer, public parallel_mod::mpireal_t

◆ ncompoints

integer, public parallel_mod::ncompoints

◆ ncomponents

integer, parameter parallel_mod::ncomponents =1

◆ npackpoints

integer, public parallel_mod::npackpoints

◆ nrepro_vars

integer, parameter parallel_mod::nrepro_vars =MAX(11, nlev*qsize_d)

◆ numframes

integer, public parallel_mod::numframes

◆ ordered

integer, parameter, public parallel_mod::ordered = 1

◆ partitionfornodes

logical, public parallel_mod::partitionfornodes

◆ rrequest

integer, dimension(:), allocatable, public parallel_mod::rrequest

◆ srequest

integer, dimension(:), allocatable, public parallel_mod::srequest

◆ status

integer, dimension(:,:), allocatable, public parallel_mod::status

◆ thread_tag_bits

integer, parameter, public parallel_mod::thread_tag_bits = 9