-
Notifications
You must be signed in to change notification settings - Fork 17
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
asynchronous workflows #269
Comments
Hey @euhruska, apologies for the late ping. Is this still relevant for you? |
Yes, still relevant. While adaptivemd supports asynchronous, it doesn't use radical.entk, but lower level implementations, which has disadvantages, just mentioning robustness and usability for domain-scientists. So implementing it on entk level would be great, but not sure how it could be actually implemented. From the user side it's probably better to require the user to define new stages, since once a stage starts running it shouldn't be modified. The user would be defining and running new stages on-the fly in the script while previous stages already run. |
Thanks, this is helpful. I see two approaches:
Option 1 is already implemented and if you think it might be interesting, you can find more details in this paper: https://arxiv.org/pdf/1801.01174.pdf |
Maybe I could use an Ensemble of pipelines approach, use one pipeline for md stages, and several pipelines for the analysis stages. The analysis pipelines would divide up the analysis. With post_exec conditions I think I could make the analysis stages wait (run sleep stages) till a predefined md stage (in the separate md pipeline) is finished. Is that correct? Approach 1: This might work, it would be more general than the above approach. Can you help me where in the repo the Listing 2 line |
Your description seems to fit our freshly developed pause/resume capability for stages and pipelines. That would enable you to pause your analysis stages instead of running sleep stages, until the MD stage has finished. This functionality is still experimental so likely buggy but available for testing if you want to try it out. For Approach 1, I checked and the code we used for that publication is not committed yet (luckily we checked!). I have asked for it to be committed and I will let you know once it will be available. |
Apologies for the delay, it took a while to organize the code related to |
@andre-merzky @iparask we should discuss this to see whether we can derive useful requirements for EnTK development roadmap. After that, I think we should close this ticket. |
@iparask I linked the Development page on the wiki homepage. |
feature request:
Allowing entk adding more tasks before the current ones finish, allowing asynchronous workflows.
The text was updated successfully, but these errors were encountered: