Skip to content

Restart file / code compatibility #1118

@PhilipDeegan

Description

@PhilipDeegan

SAMRAI restart files are setup in such a way as to match the registered patch data ids of PHARE code at a particular point in time.
This can make a newer version of PHARE incompatible with existing SAMRAI restart files for PHARE.

Currently, attempting to restart PHARE with an incompatible SAMRAI restart file, will most likely lead to errors, segfaults, etc.
And it may not be completely obvious the error is even related to the restart file incompatibility.

So, we probably want to consider some sort of versioning system, which could be some hash of all available patch data names for all models.

something like https://coliru.stacked-crooked.com/a/12f52e362131a9f8

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions