Proposed fix for HELICS_TIME_MAXTIME
: redefine to a smaller value
#2725
Labels
bug
Issue concerning incorrect code operation
Describe the bug
#2574 and #2534 have shown that, at least for the purposes of the User Guide Examples in Python, there is a consistent problem requesting
HELICS_TIME_MAXTIME
that tends (but not always) causes the HELICS to fail to grant time to any federate. As a work-around, most if not all of the User Guide Python examples have been re-worked to instead useHELICS_TIME_MAXTIME - 1
and this completely solves the problem. I propose that we re-define the value to something similar.What is the expected behavior?
It is expected that using
HELICS_TIME_MAXTIME
doesn't cause the co-simulation to hang.To Reproduce
See issues #2574 and #2534
Environment (please complete the following information):
pip install helics
Additional context and information
A brief discussion with @phlptp revealed two details:
The text was updated successfully, but these errors were encountered: