PHAREHUB/PHARE

Restart file / code compatibility

オープン

#1,118 opened on 2026/01/08

 (0 件のコメント) (0 件のリアクション) (1 人の担当者)C++ (33 件のフォーク)auto 404
SAMRAIfeaturegood first issue

Repository metrics

Stars
 (78 個のスター)
PR merge metrics
 (平均マージ 6d 18h) (30d で 19 merged PRs)

説明

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

コントリビューターガイド