-
Notifications
You must be signed in to change notification settings - Fork 94
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
Parameterized tasks. #1953
Parameterized tasks. #1953
Conversation
ExamplesParamterized tasksBasic:
With inter-chunk dependence:
Similar, but avoid unnecessary triggers between chunks and the init and close tasks:
How to do three 4-month model runs in each cycle of a yearly-cycling suite:
Member-to-member triggers[UPDATE: this feature has been removed - see the discussion below]
|
(Test battery passes in my environment with master merged in. The conflict is a tiny one in |
cbc9f41
to
d0227f6
Compare
Branch rebased (I still need to address my own TODOs before review...) |
3943575
to
07b4de7
Compare
@matthewrmshin et. al. - this is now ready for review. I'll quickly add documentation to the user guide once the notation and implementation is agreed. Also can you discuss, do I need to add cylc-5 support back in as per remaining TODOs that I've left at the top of
(As far as NIWA is concerned, cylc-5 is long dead and I'd rather not mess up the new graph parser with it!) |
\caption[Static chunked (top) and dynamic cycled (bottom) versions of the | ||
same workflow.]{\scriptsize Static chunked and dynamic cycled versions of | ||
the same workflow.} | ||
\label{fig-eg2} |
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.
Not seeing the images for this in my html copy of the docs.
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.
Good point, hadn't checked the HTML - will fix tomorrow NZ.
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.
Fixed.
|
Huh, it passes here; I don't get the deprecation message (as reported by @matthewrmshin) from Python 2.7.5... But I do at Python 2.6. Odd that a deprecation warning is removed at later versions! Fixed. |
New draft CUG section on "cycling" added. I still need to address the remaining feedback above. |
New draft section revised. Will address remaining feedback tomorrow (and review the latest tutorial draft) |
Tests OK in my environment. |
OK:
I'm personally pretty happy with the documentation now. If you disagree only mildly, maybe consider improvements via later PRs, depending on current levels of urgency (when do you want to get the tutorial VM out?) |
@matthewrmshin - review 2 ok. In the interests of time, agree with @hjoliver that documentation can be refined at a later date (I still don't like the way "dynamic" is being used here but it's not a blocker on the otherwise good work). As noted by @hjoliver above, the only thing I've noted is a slight slowdown in validation times with master (at time of investigating) giving a validation time of:
vs this branch of:
This is testing with a suite based on the horrible numbers of inter-family triggers as:
I don't think this is a showstopper and not an unexpected slowdown given the increased work being done, just noted here for completeness. @matthewrmshin - over to you to press the button when you're happy for this to go in. |
Test OK in my environment (with master merged in). New code and code changes are good. I'll merge this to allow it to stabilise on master. |
Woo-hoo, it's merged at last! For the record, I'm seeing these timings on the suite with "horrible numbers of inter-family triggers"
This isn't too much of a hit, but I'll do some more profiling in due course... |
Close #1937.
Close #1900.
Refactored graph-string parser.
New functionality:
foo<m>, bar<m,n>, baz<m,n,o>, qux<m,n,o,p>
, etc.)member-to-member family semantics, for same-size same-sort-order families(removed)Works and the test battery passes, BUT:
Still TODO:
add more doc-strings and commentsaddress a bunch of TODOs that I left in the codeadd tests for the new functionalityadd more error-detection for mis-use of the new syntaxuser guide documentation(address the back-compat issue mentioned above).