Restart scenario execution from a pre-defined point using data stored in a checkpoint file.
There are many reasons why a simulation execution may be interrupted prematurely or unexpectedly. Your computer crashes. Power goes out in the building. The simulation operator makes a mistake and chooses to stop it. If a simulation is interrupted for any of these reasons, you are usually forced to restart execution from the very beginning. This can be very inconvenient – especially if the simulation is long-running or supports a multi-day training exercise.
The FLAMES® Checkpoint/Restart Option can keep you from having to start scenario execution over from the beginning if it does not finish as expected. It allows you to restart the execution from a pre-defined point using the data stored in a checkpoint file.
Use FORGE™ to specify the interval at which checkpoint files are going to be created when the scenario is executed. Then, use FIRE™ to execute the scenario. At each checkpoint interval during scenario execution, FLAMES automatically creates a checkpoint file that stores the values of all internal variables within the simulation. The amount of time required to create a checkpoint file is often only a matter of seconds. A distinct checkpoint file is created at each checkpoint interval. Checkpoint files can also be created on demand by a command issued from a FLAMES interactive client application.
Once checkpoint files have been created, FIRE can be restarted using one of the checkpoint files. Based on the information in the file, the values of all the internal variables within the simulation are restored, and scenario execution is resumed exactly as it was executing at the point at which the checkpoint file was created.
When a FLAMES-based simulation is used to support a multi-day training exercise, the use of Checkpoint/Restart is a must. An actual occurrence illustrates why. A FLAMES-based simulation is used regularly to support large training exercises in Europe. During one of these five-day exercises, there was a power failure on day four that shut down several of the computers involved in the exercise, including the computer on which FLAMES was executing. Starting the exercise over again at day one was not an option. Without a way to restart the exercise, the exercise would have been terminated, and literally hundreds of students and training staff involved in the exercise would have been sent home. However, because of the FLAMES Checkpoint/Restart capability, the exercise was restarted shortly after power was restored, and the exercise ran to completion at the end of day five.
Custom software that is developed using the FLAMES Developer is automatically compatible with Checkpoint/Restart. This means that all of the internal data in your custom components will automatically be saved in checkpoint files and restored during restart operations.
Licensing
Trial versions of the FLAMES Engine and most of the FLAMES Options, including the Checkpoint/Restart Option, are included with the FLAMES Developer. These trial versions are fully functional, but they have limited capacity, and may be used only for development and evaluation purposes. To unlock the full capacity, you must purchase an unrestricted license.