MONC
|
Checkpointing NetCDF functionality. More...
Functions/Subroutines | |
type(component_descriptor_type) function, public | checkpointer_get_descriptor () |
Provides registry information for the component. More... | |
subroutine | initialisation_callback (current_state) |
Initialisation hook, if appropriate (depends on command line arguments) then will read in an existing checkpoint file and use this as the basis for model state. More... | |
subroutine | timestep_callback (current_state) |
The timestep hook will dump out model state_mod to a checkpoint file. More... | |
subroutine | finalisation_callback (current_state) |
Called on termination to write out the status of the model run to checkpoint. More... | |
subroutine | perform_checkpoint_dump (current_state) |
Performs the checkpoint dump and timings. This can be called as part of the timestep or at the end of a model run. More... | |
subroutine | log_dump_stats (current_state, start_time, end_time) |
Will dump out the model dump statistics. More... | |
subroutine | generate_unique_filename (current_state, new_name) |
Generates a unique filename based upon the base one specified and the number of completed timesteps. More... | |
Variables | |
character(len=string_length), save | checkpoint_file |
The checkpoint write file base name. More... | |
logical, save | unique_per_dump |
Whether to make each model dump a unique filename. More... | |
logical, save | enable_write |
integer, save | checkpoint_frequency |
Checkpointing NetCDF functionality.
Both reads and initalises the model based upon a checkpoint and writes (dumps) model status to a checkpoint
type(component_descriptor_type) function, public checkpointer_mod::checkpointer_get_descriptor | ( | ) |
Provides registry information for the component.
Definition at line 32 of file checkpointer.F90.
|
private |
Called on termination to write out the status of the model run to checkpoint.
current_state | The current model state |
Definition at line 78 of file checkpointer.F90.
|
private |
Generates a unique filename based upon the base one specified and the number of completed timesteps.
current_state | The current model state |
newName | The new name that is produced by this subroutine |
Definition at line 123 of file checkpointer.F90.
|
private |
Initialisation hook, if appropriate (depends on command line arguments) then will read in an existing checkpoint file and use this as the basis for model state.
current_state | The current model state |
Definition at line 43 of file checkpointer.F90.
|
private |
Will dump out the model dump statistics.
current_state | The current model state |
startTime | The start CPU time of the dump |
endTime | The end CPU time of the dump |
Definition at line 111 of file checkpointer.F90.
|
private |
Performs the checkpoint dump and timings. This can be called as part of the timestep or at the end of a model run.
current_state | The current model state |
Definition at line 87 of file checkpointer.F90.
|
private |
The timestep hook will dump out model state_mod to a checkpoint file.
current_state | The current model state |
Definition at line 68 of file checkpointer.F90.
|
private |
The checkpoint write file base name.
Definition at line 20 of file checkpointer.F90.
|
private |
Definition at line 23 of file checkpointer.F90.
|
private |
Definition at line 21 of file checkpointer.F90.
|
private |
Whether to make each model dump a unique filename.
Definition at line 21 of file checkpointer.F90.