mapl_restart_support_mod Module


Uses

  • module~~mapl_restart_support_mod~~UsesGraph module~mapl_restart_support_mod mapl_restart_support_mod ESMF ESMF module~mapl_restart_support_mod->ESMF NetCDF NetCDF module~mapl_restart_support_mod->NetCDF iso_fortran_env iso_fortran_env module~mapl_restart_support_mod->iso_fortran_env module~mapl_errorhandlingmod MAPL_ErrorHandlingMod module~mapl_restart_support_mod->module~mapl_errorhandlingmod module~mapl_memutilsmod MAPL_MemUtilsMod module~mapl_restart_support_mod->module~mapl_memutilsmod mpi mpi module~mapl_restart_support_mod->mpi module~mapl_errorhandlingmod->mpi module~mapl_throwmod MAPL_ThrowMod module~mapl_errorhandlingmod->module~mapl_throwmod module~mapl_memutilsmod->ESMF module~mapl_memutilsmod->iso_fortran_env module~mapl_memutilsmod->mpi module~mapl_basemod MAPL_BaseMod module~mapl_memutilsmod->module~mapl_basemod module~mapl_commsmod MAPL_CommsMod module~mapl_memutilsmod->module~mapl_commsmod module~mapl_exceptionhandling MAPL_ExceptionHandling module~mapl_memutilsmod->module~mapl_exceptionhandling module~mapl_iomod MAPL_IOMod module~mapl_memutilsmod->module~mapl_iomod module~mapl_shmemmod MAPL_ShmemMod module~mapl_memutilsmod->module~mapl_shmemmod module~mapl_base MAPL_Base module~mapl_basemod->module~mapl_base module~mapl_constants MAPL_Constants module~mapl_basemod->module~mapl_constants module~mapl_maplgrid mapl_MaplGrid module~mapl_basemod->module~mapl_maplgrid module~mapl_rangemod MAPL_RangeMod module~mapl_basemod->module~mapl_rangemod module~mapl_commsmod->ESMF module~mapl_commsmod->mpi module~mapl_commsmod->module~mapl_basemod module~mapl_commsmod->module~mapl_exceptionhandling module~mapl_commsmod->module~mapl_shmemmod module~mapl_commsmod->module~mapl_constants module~mapl_exceptionhandling->module~mapl_errorhandlingmod module~mapl_exceptionhandling->module~mapl_throwmod module~biniomod BinIOMod module~mapl_iomod->module~biniomod module~fileiosharedmod FileIOSharedMod module~mapl_iomod->module~fileiosharedmod module~nciomod NCIOMod module~mapl_iomod->module~nciomod module~mapl_shmem MAPL_Shmem module~mapl_shmemmod->module~mapl_shmem

Used by

  • module~~mapl_restart_support_mod~~UsedByGraph module~mapl_restart_support_mod mapl_restart_support_mod program~checkpoint_tester~2 checkpoint_tester program~checkpoint_tester~2->module~mapl_restart_support_mod

Variables

Type Visibility Attributes Name Initial
real(kind=REAL64), public, parameter :: byte_to_mega = (1.0d0/1024.0d0)*(1.0d0/1024.0d0)

Derived Types

type, public ::  array_wrapper

Components

Type Visibility Attributes Name Initial
character(len=:), public, allocatable :: field_name
real, public, allocatable :: field(:,:,:)

type, public ::  test_support

Components

Type Visibility Attributes Name Initial
integer(kind=INT64), public :: close_file_time
integer(kind=INT64), public :: mpi_time
integer(kind=INT64), public :: open_file_time
integer(kind=INT64), public :: read_2d_time
integer(kind=INT64), public :: read_3d_time
integer(kind=INT64), public :: read_counter
integer, public :: face_index
integer, public, allocatable :: i1(:)
integer, public :: im_world
integer, public, allocatable :: in(:)
integer, public, allocatable :: j1(:)
integer, public, allocatable :: jn(:)
integer, public :: lm
integer, public :: my_rank
integer, public :: n_trials
integer, public :: ncid
integer, public :: num_arrays
integer, public :: num_readers
integer, public :: nx
integer, public :: ny
integer, public :: readers_comm
integer, public :: scatter_comm
integer, public :: xcomm
integer, public :: ycomm
logical, public :: do_reads
logical, public :: extra_info
logical, public :: netcdf_reads
logical, public :: random
logical, public :: read_barrier
logical, public :: scatter_3d
logical, public :: split_file
real(kind=REAL64), public :: data_volume
real(kind=REAL64), public :: time_mpi
real(kind=REAL64), public :: time_reading
type(array_wrapper), public, allocatable :: bundle(:)

Type-Bound Procedures

procedure, public :: allocate_n_arrays
procedure, public :: close_file
procedure, public :: compute_decomposition
procedure, public :: create_arrays
procedure, public :: create_communicators
procedure, public :: open_file
procedure, public :: read_file
procedure, public :: read_level
procedure, public :: read_variable
procedure, public :: reset
procedure, public :: set_parameters

Functions

public function compute_decomposition(this, axis) result(decomp)

Arguments

Type IntentOptional Attributes Name
class(test_support), intent(inout) :: this
integer, intent(in) :: axis

Return Value integer, allocatable, (:)


Subroutines

public subroutine allocate_n_arrays(this, im, jm)

Arguments

Type IntentOptional Attributes Name
class(test_support), intent(inout) :: this
integer, intent(in) :: im
integer, intent(in) :: jm

public subroutine close_file(this)

Arguments

Type IntentOptional Attributes Name
class(test_support), intent(inout) :: this

public subroutine create_arrays(this)

Arguments

Type IntentOptional Attributes Name
class(test_support), intent(inout) :: this

public subroutine create_communicators(this)

Arguments

Type IntentOptional Attributes Name
class(test_support), intent(inout) :: this

public subroutine open_file(this)

Arguments

Type IntentOptional Attributes Name
class(test_support), intent(inout) :: this

public subroutine read_file(this)

Arguments

Type IntentOptional Attributes Name
class(test_support), intent(inout) :: this

public subroutine read_level(this, var_name, local_var, z_index)

Arguments

Type IntentOptional Attributes Name
class(test_support), intent(inout) :: this
character(len=*), intent(in) :: var_name
real, intent(in) :: local_var(:,:)
integer, intent(in) :: z_index

public subroutine read_variable(this, var_name, local_var)

Arguments

Type IntentOptional Attributes Name
class(test_support), intent(inout) :: this
character(len=*), intent(in) :: var_name
real, intent(in) :: local_var(:,:,:)

public subroutine reset(this)

Arguments

Type IntentOptional Attributes Name
class(test_support), intent(inout) :: this

public subroutine set_parameters(this, config_file)

Arguments

Type IntentOptional Attributes Name
class(test_support), intent(inout) :: this
character(len=*), intent(in) :: config_file