memcheck_ctx_t Derived Type

type, public :: memcheck_ctx_t


Inherits

type~~memcheck_ctx_t~~InheritsGraph type~memcheck_ctx_t memcheck_ctx_t type~checkpoint_config_t checkpoint_config_t type~memcheck_ctx_t->type~checkpoint_config_t checkpoint_cfg type~cuda_memcheck_device_t cuda_memcheck_device_t type~memcheck_ctx_t->type~cuda_memcheck_device_t device type~domain_config_t domain_config_t type~memcheck_ctx_t->type~domain_config_t domain_cfg type~les_config_t les_config_t type~memcheck_ctx_t->type~les_config_t les_cfg type~solver_config_t solver_config_t type~memcheck_ctx_t->type~solver_config_t solver_cfg type~base_config_t base_config_t type~checkpoint_config_t->type~base_config_t type~probe_result_t probe_result_t type~cuda_memcheck_device_t->type~probe_result_t probe type~domain_config_t->type~base_config_t type~les_config_t->type~base_config_t type~solver_config_t->type~base_config_t

Components

Type Visibility Attributes Name Initial
type(cuda_memcheck_device_t), public :: device
character(len=256), public :: input_path
character(len=7), public :: run_mode

STATIC (--static), DEFAULT (no flag) or BUILD (--build).

integer, public :: extensive_substeps = 0

The substep count of --extensive, 0 when it is not given.

type(domain_config_t), public :: domain_cfg
type(solver_config_t), public :: solver_cfg
type(les_config_t), public :: les_cfg
type(checkpoint_config_t), public :: checkpoint_cfg
integer, public :: gdims(3)
integer, public :: cdims(3)
logical, public :: periodic_x
logical, public :: periodic_y
logical, public :: periodic_z
integer, public :: bc_code
logical, public :: bc_is_000
logical, public :: bc_is_010
logical, public :: bc_is_100
logical, public :: bc_is_110
logical, public :: multi_gpu_supported
integer, public :: peak_fields
real(kind=dp), public :: card_gib
real(kind=dp), public :: card_free_gib = 0._dp

Free memory on the card at the start.

logical, public :: gpu_io_device_write = .false.

Whether snapshot and checkpoint writes stage through a device buffer, the write mode name, and the reason when there is no staging.

character(len=16), public :: gpu_io_mode_name = 'auto'
character(len=64), public :: gpu_io_reason = ''
real(kind=dp), public :: estimate_ng1_gib

The num_gpus=1 row of the estimate: the CHECK line of --build compares it with the measurement. The verdict is blank for an unsupported row.

character(len=12), public :: ng1_verdict = ''
character(len=5), public :: probe_plan = 'small'

The FFT probe plan: 'full' when the estimate uses the full-grid probe's result, else 'small' (also when the full-grid probe failed). probe_reason says why the full-grid probe has no result, and probe_note_shown is set once estimate_for_num_gpus has printed it.

character(len=96), public :: probe_reason = ''
logical, public :: probe_note_shown = .false.
character(len=12), public :: final_verdict

The verdict of the requested nproc_dir, which sets the exit code.

real(kind=dp), public :: io_staging_ng1_gib = 0._dp

The IO staging term (GiB) at num_gpus=1.

logical, public :: output_vorticity = .false.

The output fields and the substep count the real build measured.

logical, public :: output_qcriterion = .false.

The output fields and the substep count the real build measured.

integer, public :: measured_n_substeps
integer, public :: irank