Replies: 3 comments 13 replies
-
My notes:
|
Beta Was this translation helpful? Give feedback.
-
If we follow the above, I would propose to have something like:
That would imply that, if As discussed, there are some implications on EnTK's state model. Currently,
In that way, There are many details/conditions I am not explicitly addressing here and there are other approaches to consider but, if you like the approach I suggested, I will be happy to work together towards a full spec. |
Beta Was this translation helpful? Give feedback.
-
A question just came to my mind. Will we allow to mix blocking and non-blocking execution? Something like: appman.submit_pipelines(set([p]))
appman.run(blocking=False)
... I'm doing something
appman.submit_pipelines(set([p]))
appman.run(blocking=True) |
Beta Was this translation helpful? Give feedback.
-
From @euhruska:
Feature request for entk to enable adding individual non-blocking tasks.
Two proposed new function calls (to be discussed):
appman.run_non_blocking()
Description: Starts an Application manager with an pipeline. Pipeline might contain only an empty stage. Keep running even if no tasks are left to be run until walltime runs out. This call has to be non-blocking.
appman.run_task_nonblocking(task)
Description: Add to above Application manager one task. This call has to be non-blocking. Will be executed as soon as possible. No data transfer from tasks back except task.state.
Mock code:
https://github.com/radical-cybertools/radical.midas/blob/master/midas_mock_non_blocking.py
Schema:
https://docs.google.com/presentation/d/1uXyYE10QkU33r6ucnk_PSScGLrsWbLccd4WSiG61bs8
Beta Was this translation helpful? Give feedback.
All reactions