aiidateam / aiida-cp2k

The CP2K plugin for the AiiDA workflow and provenance engine.
https://aiida-cp2k.readthedocs.io/en/latest/
MIT License
23 stars 28 forks source link

The `restart_incomplete_calculation` runs only one time #174

Open yakutovicha opened 1 year ago

yakutovicha commented 1 year ago

If the out-of-walltime error repeats itself, the restart_incomplete_calculation handler doesn't indicate that it was handled. So the base work chain considers the issue unhandled.

See here for more details: https://github.com/aiidateam/aiida-cp2k/blob/4258780474064331a494332ca6564101f26be32b/aiida_cp2k/workchains/base.py#L122