BEACH checkpoint metadata and transactional publication shared by output and restart code.
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| integer(kind=i32), | public, | parameter | :: | checkpoint_schema_version_current | = | 10_i32 |
現行実装が再開候補として扱えるcheckpoint schemaかを返す。 schema keyを持たないlegacy summaryは0として表す。schema v1は正式な fingerprint contractより前の中間形式であり、現行loaderは対応しない。
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=i32), | intent(in) | :: | schema_version |
checkpoint transactionのcompletion evidenceをrestart-bearing fileの置換前に無効化する。
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | out_dir |
A complete manifest is atomically published only after every restart-bearing file is closed.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | out_dir | |||
| integer(kind=i32), | intent(in) | :: | batches | |||
| integer(kind=i32), | intent(in) | :: | mpi_world_size | |||
| logical, | intent(in) | :: | has_macro_residuals | |||
| logical, | intent(in) | :: | has_charge_ledger |
Inspect one directory without mutating it and require every file declared by its checkpoint generation.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | checkpoint_dir | |||
| logical, | intent(out) | :: | complete | |||
| integer(kind=i32), | intent(out), | optional | :: | schema_version | ||
| integer(kind=i32), | intent(out), | optional | :: | batches | ||
| integer(kind=i32), | intent(out), | optional | :: | mpi_world_size | ||
| logical, | intent(out), | optional | :: | has_macro_residuals | ||
| logical, | intent(out), | optional | :: | has_charge_ledger |