Skip to content

Feature Enhancement: Regular Statepoint Dumps #3630

@yrrepy

Description

@yrrepy

Description

Right now, usually OpenMC dumps the last statepoint as statepoint.10.h5
One can ask in the settings to dump at several interval in which case one will get multiple sps e.g.:
statepoint.2.h5
statepoint.5.h5
statepoint.10.h5

It would be nice to be able to tell OpenMC to dump regularly (every batch) to the final statepoint.

This allows one to work with the currently accumulated results, resume (continue calc) when something unexpected happens (much longer calc than expected, system crash, perhaps a particle lost or super long history etc).

I see it as the most recently finished batch being dumped to a sp (and then the subsequent batches overwriting it)

Alternatives

  1. I suppose the Python workflow could be used to parameterize the dumping of intermediate statepoints and then in final clean-up.

  2. Dump to another intermediate statepoint (statepoint.running.h5, etc)

Compatibility

Don't think there are any compatibility issues.

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