Repository navigation
Add background job submission with progress tracking and graceful termination - #129
Merged
Merged
Conversation
增加了 scf-setup 中复制提交脚本的功能(原本只能让pesmaker自动生成);如果启用了脚本复制功能,submit.sh 会按照给定的模板直接复制,如果没有启用原样复制功能,则按照 pesmaker 原本的设置生成 submit.sh 脚本
…pesmaker submit‘.
add explanation to the termination signal "subprocess.CalledProcessError: Command '['bash', 'submit.sh']' returned non-zero exit status 143." when a vasp single point process is killed
Collaborator
|
good to see your commit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR improves the job submission workflow, especially for large batches of single-point calculations.
It adds:
Motivation
Submitting a large number of single-point calculations can take a long time, and previously there was limited visibility into the submission progress.
These changes make the workflow easier to monitor and allow it to terminate more cleanly when interrupted.
Main changes
pesmaker submitTesting
The following checks pass locally:
python -m pytest tests/test_job_scripts.py tests/test_submit_background.py python -m ruff check .