-
Notifications
You must be signed in to change notification settings - Fork 62
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
New policy 'round_robin_halt' #1868
Conversation
Hi @jlubo, sorry for taking a while to respond. Is it feasible to add a unit test for this? |
Okay, I'll try to do that in the next few days. |
Great, thanks! I see an error (twice) in the run:
This is because you are collecting all results on one node. Unfortunately, that won't work; through I admit this isn't great, but for the moment there is no way around it. |
Thanks @brenthuisman for pointing that out. To avoid the error in MPI setups, I've now added a condition that prevents running the related assertion (which is anyway not crucial for this test) if the data is not available on the current node. In the future this condition may be removed if #1892 is solved. |
…y equal mechanisms
The next problem was quite hard to wrap my head around... It seems that the tests (as of commit 417bd5e) did sometimes not pass because the relationship between This problem has now (as of commit a8627a5) been solved for the tests by considering instances of synapse mechanisms that are indistinguishable upon initialization (when the |
Introduces the new policy
round_robin_halt
. This enables to halt at the current item until the policyround_robin
is called again.Related to issue #1749.