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

docs: resubmit a Process from a ProcessNode #5579

Merged
merged 5 commits into from Jul 14, 2022

Conversation

ltalirz
Copy link
Member

@ltalirz ltalirz commented Jun 20, 2022

This is a common use case: you have run some processes, some of them
failed (perhaps for reasons outside AiiDA's control). Now you want to
resubmit some of these processes - but you may no longer have the python
script you used to submit them, or that script may do many other things
that you don't want to happen.

This is also an important component of making it easier to reproduce
calculations by others, starting from an AiiDA archive file.

ProcessNodes have a ProcessNode.get_builder_restart() for exactly
this purpose but, except for the API docs, it seems this feature was
entirely undocumented.

fixes #5578

This is a common use case: you have run some processes, some of them
failed (perhaps for reasons outside AiiDA's control).  Now you want to
resubmit some of these processes - but you may no longer have the python
script you used to submit them, or that script may do many other things
that you don't want to happen.

This is also an important component of making it easier to reproduce
calculations by others, starting from an AiiDA archive file.

`ProcessNode`s have a `ProcessNode.get_builder_restart()` for exactly
this purpose but, except for the API docs, it seems this feature was
entirely undocumented.
@ltalirz ltalirz marked this pull request as ready for review June 20, 2022 22:04
@ltalirz ltalirz requested a review from sphuber July 11, 2022 12:17
Copy link
Contributor

@sphuber sphuber left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @ltalirz very useful to have this documented. Just a suggestion to improve it a bit

docs/source/howto/run_codes.rst Outdated Show resolved Hide resolved
Co-authored-by: Sebastiaan Huber <mail@sphuber.net>
@ltalirz
Copy link
Member Author

ltalirz commented Jul 13, 2022

Cheers!

@ltalirz ltalirz requested a review from sphuber July 13, 2022 09:39
@sphuber sphuber merged commit 79bebf5 into aiidateam:main Jul 14, 2022
@sphuber sphuber deleted the issue-5578-document-resubmit branch July 14, 2022 19:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Document how to resubmit a Process from the ProcessNode
2 participants