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

Interface to resume simulations #269

Open
3 tasks
jhauschild opened this issue Jun 16, 2023 · 0 comments
Open
3 tasks

Interface to resume simulations #269

jhauschild opened this issue Jun 16, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@jhauschild
Copy link
Member

jhauschild commented Jun 16, 2023

At the moment, when a simulation aborts one needs to resume from the checkpoint by explicitly passing the filename of the checkpoint to tenpy.resume_from_checkpoint (an alias for tenpy.simulations.simulation.resume_from_checkpoint).

  • With the cluster_jobs.py in the template project repo, this can be done quite easily, but there's no example - add that!
  • On the other hand, it's also not hard to add another entry point from the command line to the setup.py, such that something like tenpy-resume checkpoint.h5 works
  • It might be convenient to be able to pass the original yaml file to tenpy-resume as well, such that it figures out filenames itself, checks whether the simulations ran, and then continues the first one that didn't finish. This is a bit problematic, though, if the filename changed to not overwrite existing files - which is the default. Is there a good way to handle that case?

See also this forum topic

@jhauschild jhauschild added the enhancement New feature or request label Jun 16, 2023
@Jakob-Unfried Jakob-Unfried added this to the some v1.x release milestone Mar 5, 2024
@jhauschild jhauschild self-assigned this Mar 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants