Open mebenstein opened 1 year ago
I agree, this seems to have been added and not caught in https://github.com/ut-parla/Parla.py/pull/112. Thanks for raising this!
I'll remove the check and run through the tests to make sure everything is okay.
Also as a heads up, we've been rewriting our runtime from scratch in C++ for Parla 0.3 where we've made these mechanisms a bit more robust than storing waiting tasks in a global dictionary :) We have a few more features to refine before release but it will hopefully be within the next month.
Seems like there's a few mutex conflicts for this case since it hasn't been tested in a while. We're seeing if we can resolve it.
Tutorial 1 mentions:
When I tried the following:
I get:
Which is caused by the following assertion in task_runtime.py:
if dependent.task is None
It seems that this assertion makes no sense since ComputeTask is only invoked after all the unspawned dependencies are supposed to be added. Thus this assertion can never be true, maybe it should be removed?