OSError: statepoint file has a version of 17.0 which is not consistent with the version expected by OpenMC, 18

Hi guys,
I use the lastest openmc-0.13.1 , And I use the tool : openmc-plot-mesh-tally statepoint.1000.h5 to view the result , but the error appears

OSError: statepoint file has a version of 17.0 which is not consistent with the version expected by OpenMC, 18

How to solve it ?
thanks all


Best regards!
Zhuangli

Hi @lz152,

This error message means that your statepoint file was generated by a previous version of OpenMC (< 0.13.1) and is incompatible with the statepoint files produced with the newest version. To use the openmc-plot-mesh-tally script you’ll need to either use an older version of OpenMC or re-run your simulation with OpenMC v0.13.1 to generate a new statepoint file.

I’m sorry there isn’t a better alternative at this time. We could think about a tool for updating statepoint files from older versions of OpenMC if possible with enough interest, but those are my recommendations at this time.

All the best,

Patrick

Thank you so much !
Expecting better result!
Zhuangli

1 Like