-
Notifications
You must be signed in to change notification settings - Fork 59
revise option to control number of resubmit fail jobs #545
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
Open
thangckt
wants to merge
109
commits into
deepmodeling:master
Choose a base branch
from
thangckt:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
109 commits
Select commit
Hold shift + click to select a range
11fe336
revise SGE
thangckt 8140a43
Update pbs.py
thangckt b893544
Update pbs.py
thangckt 82b7262
Update pbs.py
thangckt 01ffd14
add sge_qe_name
thangckt 56e3afe
Update pbs.py
thangckt 703aa49
y
thangckt 2c3b38a
Update submission.py
thangckt f73e0f9
u
thangckt 957cf4a
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 034c9d7
Update pbs.py
thangckt 3f07742
Update pbs.py
thangckt 499c691
Merge branch 'PR' into master
thangckt 76150bf
Merge pull request #1 from thangckt/master
thangckt ef28a1b
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 65dca91
u
thangckt ffe52e1
Merge pull request #2 from thangckt/master
thangckt 8d7b566
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 8c50c4f
u
thangckt 89d2a41
Merge branch 'PR' into master
thangckt 2093336
Merge pull request #3 from thangckt/master
thangckt 920984d
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] c8f5657
y
thangckt ef6ebeb
Merge branch 'master' of https://github.com/thangckt/dpdispatcher
thangckt f56fa50
Merge branch 'PR' into master
thangckt e06c648
Merge pull request #4 from thangckt/master
thangckt 6d6c973
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] dae7909
Update pbs.py
thangckt 4ca179c
Merge pull request #5 from thangckt/master
thangckt 83644c3
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] b1758d9
Create _version.py
thangckt 62a3459
Delete dpdispatcher/_version.py
thangckt 774b130
Merge pull request #6 from deepmodeling/master
thangckt 2ae2e62
Update pbs.py
thangckt ad6b971
Merge branch 'master' of https://github.com/deepmodeling/dpdispatcher…
thangckt d02adf6
Merge pull request #8 from deepmodeling/master
thangckt 3aca952
Merge pull request #9 from deepmodeling/master
thangckt 9fc0f84
Merge branch 'master' into PR
thangckt 95b8aa5
Merge pull request #10 from deepmodeling/master
thangckt cc7efcd
Merge pull request #11 from thangckt/master
thangckt 99589d3
u
thangckt 711da1d
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 1e0c21e
Update test_lsf_script_generation.py
thangckt 10cf5d3
Merge branch 'PR' of https://github.com/thangckt/dpdispatcher into PR
thangckt 416a767
Merge pull request #12 from thangckt/PR
thangckt e530cf6
Update test_lsf_script_generation.py
thangckt 5adce1b
Merge pull request #13 from deepmodeling/master
thangckt 4084a31
Update pbs.py
thangckt 9b1c566
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] fc690ae
change `sge_pe_name` to `pe_name`
thangckt cfbc5dd
Update ssh_context.py
thangckt 81f52a3
Merge branch 'master' into master
thangckt 7bbc485
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 37da47c
u
thangckt bca9728
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 02f1449
Merge pull request #14 from deepmodeling/master
thangckt c13be3b
Update SSHcontext: add execute command
thangckt a9fbadf
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] fba9574
Update pbs.py
thangckt 0d2cd71
Merge remote-tracking branch 'upstream/master' into dev
thangckt 5f42bc8
Update dlog.py
thangckt bfe1615
Update dlog.py
thangckt 1ded55e
Merge pull request #16 from deepmodeling/master
thangckt 4033a20
Merge pull request #17 from deepmodeling/master
thangckt 59b6139
Merge pull request #18 from deepmodeling/master
thangckt 1f514de
Update ssh_context.py
thangckt be99e41
Update ssh_context.py
thangckt 415c114
allow retry_count=0
thangckt ac9c1e4
Update submission.py
thangckt d28233d
Merge pull request #19 from deepmodeling/master
thangckt 1f29674
Update submission.py
thangckt ba5147d
Update submission.py
thangckt 7ee3919
Update submission.py
thangckt 2fb5e81
Update submission.py
thangckt 033443c
Update submission.py
thangckt f977a7a
Update submission.py
thangckt 1787bcc
Update pbs.py
thangckt 2e8b001
Merge pull request #20 from deepmodeling/master
thangckt c56ef45
Merge pull request #21 from deepmodeling/master
thangckt 6bd72ad
Update shell.py
thangckt 57a5991
u
thangckt 69b4a0b
Update batch.py
thangckt e80b712
Update batch.py
thangckt 2f22fe5
Merge pull request #22 from deepmodeling/master
thangckt 4bf6a76
Update machine.py
thangckt 170b1ef
Update machine.py
thangckt 9db2abc
Merge pull request #23 from deepmodeling/master
thangckt 4ad8a82
Merge pull request #24 from deepmodeling/master
thangckt 96176dc
Merge remote-tracking branch 'upstream/master'
thangckt 284f1f8
revise option to control number of resubmit fail jobs
thangckt 8b04937
revise resubmit fail jobs
thangckt 909e595
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 1ee843f
u
thangckt 6b244da
u
thangckt 4bb42d8
u
thangckt e897d8a
Update test_argcheck.py
thangckt ae8a0a3
u
thangckt 0d6bf3d
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 1d0d467
Update .gitignore
thangckt 08e24a6
Merge branch 'master' of https://github.com/thangckt/dpdispatcher
thangckt ac7116d
u
thangckt 558e911
Update test_class_machine_dispatch.py
thangckt c8b0198
u
thangckt 2960443
Revert "u"
thangckt 6682e06
Update test_class_machine_dispatch.py
thangckt 26a3732
Update machine.py
thangckt 77ce083
u
thangckt ecc93b2
u
thangckt bfe4356
Update pbs.py
thangckt File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"ruff.lineLength": 88 | ||
} |
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
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
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
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
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -17,6 +17,9 @@ | |||||
|
||||||
|
||||||
class PBS(Machine): | ||||||
def __init__(self, **kwargs): | ||||||
super().__init__(**kwargs) | ||||||
|
||||||
def gen_script(self, job): | ||||||
pbs_script = super().gen_script(job) | ||||||
return pbs_script | ||||||
|
@@ -188,24 +191,8 @@ def gen_script_header(self, job): | |||||
|
||||||
|
||||||
class SGE(PBS): | ||||||
def __init__( | ||||||
self, | ||||||
batch_type=None, | ||||||
context_type=None, | ||||||
local_root=None, | ||||||
remote_root=None, | ||||||
remote_profile={}, | ||||||
*, | ||||||
context=None, | ||||||
): | ||||||
super(PBS, self).__init__( | ||||||
batch_type, | ||||||
context_type, | ||||||
local_root, | ||||||
remote_root, | ||||||
remote_profile, | ||||||
context=context, | ||||||
) | ||||||
def __init__(self, **kwargs): | ||||||
super().__init__(**kwargs) | ||||||
|
||||||
Comment on lines
+194
to
196
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Similar to the PBS class, this empty
Suggested change
Copilot uses AI. Check for mistakes. Positive FeedbackNegative Feedback |
||||||
def gen_script_header(self, job): | ||||||
### Ref:https://softpanorama.org/HPC/PBS_and_derivatives/Reference/pbs_command_vs_sge_commands.shtml | ||||||
|
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The empty
__init__
method only calls the parent constructor without adding any PBS-specific functionality. Consider removing this method entirely and rely on the parent class constructor, unless there are plans to add PBS-specific initialization logic.Copilot uses AI. Check for mistakes.