tem_restart_getTotalChunks Subroutine

public subroutine tem_restart_getTotalChunks(restart, nElems, comm, chunkSize)

calculate the maximum number of elements which fit into the output buffer = chunk

for a given set of variable systems with their nScalar values to dump Also, calculate the number of local chunks required to dump all the data = nChunks Finally find the globally largest number of nChunks

Arguments

TypeIntentOptionalAttributesName
type(tem_restart_type), intent(inout) :: restart

the restart type

integer, intent(in) :: nElems

mesh, provided in treelm format optional subTree

integer, intent(in) :: comm

mesh, provided in treelm format optional subTree

integer, intent(in), optional :: chunkSize

optional predefined chunksize


Calls

proc~~tem_restart_gettotalchunks~~CallsGraph proc~tem_restart_gettotalchunks tem_restart_getTotalChunks proc~tem_abort tem_abort proc~tem_restart_gettotalchunks->proc~tem_abort mpi_allreduce mpi_allreduce proc~tem_restart_gettotalchunks->mpi_allreduce mpi_comm_rank mpi_comm_rank proc~tem_restart_gettotalchunks->mpi_comm_rank mpi_abort mpi_abort proc~tem_abort->mpi_abort

Called by

proc~~tem_restart_gettotalchunks~~CalledByGraph proc~tem_restart_gettotalchunks tem_restart_getTotalChunks proc~tem_init_restart tem_init_restart proc~tem_init_restart->proc~tem_restart_gettotalchunks proc~hvs_output_init hvs_output_init proc~hvs_output_init->proc~tem_init_restart proc~tem_init_tracker tem_init_tracker proc~tem_init_tracker->proc~hvs_output_init

Contents


Variables

TypeVisibilityAttributesNameInitial
integer, private :: nTotalScalars
integer, private :: iError
integer, private :: rank