Skip to content

Conversation

GravityPHY
Copy link
Contributor

This SGE class inherit from PBS machine class. I have tested with a vanilla python print job and it works. I can continue working on testing with more complex tasks.

@codecov
Copy link

codecov bot commented Apr 14, 2023

Codecov Report

Attention: 49 lines in your changes are missing coverage. Please review.

Comparison is base (0b5ea39) 72.80% compared to head (5207175) 55.99%.
Report is 2 commits behind head on master.

Files Patch % Lines
dpdispatcher/machines/pbs.py 14.28% 48 Missing ⚠️
dpdispatcher/contexts/ssh_context.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           master     #323       +/-   ##
===========================================
- Coverage   72.80%   55.99%   -16.81%     
===========================================
  Files          37       37               
  Lines        3603     3659       +56     
===========================================
- Hits         2623     2049      -574     
- Misses        980     1610      +630     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@njzjz njzjz self-requested a review April 14, 2023 17:19
@njzjz njzjz linked an issue Apr 14, 2023 that may be closed by this pull request
Copy link
Member

@njzjz njzjz left a comment

Choose a reason for hiding this comment

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

Please add a new section to doc/batch.md to introduce the new Machine type.

status_line = txt
print("status_line", status_line)
self.status_record_list.append(status_line)
if (status_line is None) and (self.status_record_list != []):
Copy link
Member

Choose a reason for hiding this comment

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

It seems that self.status_record_list != [] can be removed as self.status_record_list must not be [] due to line 227.

By the way, what is status_record_list used for?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I used status_record_list for debugging purpose. Will fix it according to your suggestion.

@njzjz njzjz enabled auto-merge (squash) December 31, 2023 21:50
@njzjz njzjz merged commit 3594f91 into deepmodeling:master Dec 31, 2023
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.

dpdispatcher support for Sun Grid Engine(SGE) batch system
2 participants