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

use of start-up tasks in an asynchronous graph #21

Closed
cylc opened this issue Nov 21, 2011 · 1 comment
Closed

use of start-up tasks in an asynchronous graph #21

cylc opened this issue Nov 21, 2011 · 1 comment

Comments

@cylc
Copy link
Collaborator

cylc commented Nov 21, 2011

A start-up task (under [scheduling] -> [[special tasks]]) is a non-cycling synchronous task; i.e. it has an associated cycle time, but it only runs once, at suite start up. This is commonly used for a "prep" task that prepares a suite workspace or similar. If you declare a start-up task and then use it in an asynchronous graph, it results in the following run time error:

Cannot create a consistent method resolution order (MRO) for bases oneoff, async_oneoff

This is because cylc has derived a task type from both the oneoff (synchronous) and async_oneoff classes, which is inconsistent.

Cylc should check for task type inconsistencies like this when validating a suite.

@cylc
Copy link
Collaborator Author

cylc commented Jan 8, 2012

This issue was fixed last week. Validation now checks for erroneous use of special synchronous tasks in asynchronous graph sections.

@cylc cylc closed this as completed Jan 8, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

0 participants