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

Dynamic federation hangs at completion #2534

Open
trevorhardy opened this issue Apr 7, 2023 · 2 comments
Open

Dynamic federation hangs at completion #2534

trevorhardy opened this issue Apr 7, 2023 · 2 comments
Assignees
Labels
bug Issue concerning incorrect code operation

Comments

@trevorhardy
Copy link
Contributor

trevorhardy commented Apr 7, 2023

Describe the bug
The dynamic federation example has a late-joining federate that is able to join the co-simulation but when the co-simulation ends and the federates all try to leave, the co-simulation hangs.

What is the expected behavior?
Federates would be able to leave the co-simulation at its completion.

To Reproduce
Example has been committed in the HELICS-example repo here.

Environment (please complete the following information):

  • Operating System: Mac and Windows
  • Language Extension: Python
  • what compiler or setup process did you use
  • HELICS version: 3.4.0

Run to see log files. All federates have reached the end of their simulated time and are hanging when trying to leave. Battery.py has been used for debugging up to this point and logs the results of a global_time_debugging while making an asynchronous time request for h.HELICS_TIME_MAXTIME (which all other federates are also doing).

@trevorhardy trevorhardy added the bug Issue concerning incorrect code operation label Apr 7, 2023
@trevorhardy
Copy link
Contributor Author

@phlptp do you think this will be addressed in the upcoming release?

@trevorhardy
Copy link
Contributor Author

Confirmed bug still exists in v3.5.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue concerning incorrect code operation
Projects
None yet
Development

No branches or pull requests

2 participants