What is “requiresReadingCheckpoint()” or “requiresWritingCheckpoint()”?

I created a test case myself without modifying any code, yet encountered the following error: —[precise] ERROR: The required operation `write-iteration-checkpoint` is not satisfied. Did you forget to call `requiresReadingCheckpoint()` or `requiresWritingCheckpoint()`?

How should I go about solving this problem?

Could you share the code and the coupling configuration that leads to this error?

My guess would be that you use an implicit coupling and in this case preCICE expects you to check whether a checkpoints must be read or written, see the Implicit Coupling section in the docs.

1 Like

Thank you for your response. The issue is that the time step should not exceed the maximum time step set in the XML file.

1 Like

Great that you could figure it out. :slight_smile: