Skip to content

Add error handling to restart routines #34

@jakelangham

Description

@jakelangham

Restarting simulations works great, unless the output files are corrupted for some reason. This can happen if the simulation was interrupted while writing out, for example.

It will be a pain to do, but the relevant routines in Restart.f90 could use better error handling to treat these situations better. For example, on attempting to restart from output N and failing, the nice thing to do would be to fall back to output N-1 if it exists and can be used. Instead the typical behaviour is to exit or segfault.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions