Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PwBaseWorkChain: Always do full restart for ERROR_OUT_OF_WALLTIME #1012

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Feb 23, 2024

  1. PwBaseWorkChain: Always do full restart for ERROR_OUT_OF_WALLTIME

    The current error handler for the `ERROR_OUT_OF_WALLTIME` exit code of the
    `PwCalculation` will restart from scratch in case the structure has changed during the
    `pw.x` run, as is typically the case for `relax`/`vc-relax` calculations. For larger
    structures and more complex calculations - such as those using Hubbard corrections -
    this can be quite inefficient since obtaining the electronic ground state is often
    more challenging and hence expensive.
    
    Here we adapt the error handler to always do a full restart from the previous
    calculation. In case the structure has changed, we still set it as the input structure
    of the restart calculation.
    mbercx committed Feb 23, 2024
    Configuration menu
    Copy the full SHA
    d3e5909 View commit details
    Browse the repository at this point in the history