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

[Discussion] How can one restart Sella calculation ? #49

Open
QuantumMisaka opened this issue Sep 24, 2024 · 3 comments
Open

[Discussion] How can one restart Sella calculation ? #49

QuantumMisaka opened this issue Sep 24, 2024 · 3 comments
Labels
question Further information is requested

Comments

@QuantumMisaka
Copy link

As title.

@juditzador juditzador added the question Further information is requested label Sep 24, 2024
@juditzador
Copy link
Member

In general, you just take the last geometry in your Sella calculation and use that as the starting point for a next round of optimizations. It can be a last geometry that was produced because Sella run out of steps, or perhaps your computer or the calculator crashed. But the last geometry is in the input file that Sella prepared last for the quantum chemistry program. Alternatively, you can run Sella with custom stopping criteria:

opt = Sella(atoms, ...)
for i in opt.irun(fmax=0):
    if custom_convergence_criteria(atoms):
        break

and in the for loop you can save or print the geometries for each step, which can then be reused upon restart.

@QuantumMisaka
Copy link
Author

Thanks for reply!
As I understand ,sella is using finite difference method to generate initial Hessian information, can one use the stored Trajectroy file to restart the Hessian generate process (which is always the most time-comsuming step)? Or is there another way (rather than re-run Sella in the last geometry)

@juditzador
Copy link
Member

If you have the full Hessian, you can read it in, see #19

You can also save the trajectory file during the run, see #22 , which in principle has everything one may need, but unfortunately we don't have the utility at the moment to read that back in on a restart.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants