GMLC-TDC / HELICS

Hierarchical Engine for Large-scale Infrastructure Co-Simulation (HELICS)
https://docs.helics.org/en/latest/
BSD 3-Clause "New" or "Revised" License
126 stars 40 forks source link

Failure to send very large messages via endpoints #2698

Open trevorhardy opened 1 week ago

trevorhardy commented 1 week ago

Describe the bug At very large message sizes (~100Mbytes), HELICS fails to deliver the entire message and does not throw an error.

What is the expected behavior? Entire messages would be delivered or an error would be thrown indicating not all the message was received.

To Reproduce Test federation is included in the HELICS-Examples repo.

Environment (please complete the following information):

Python HELICS version v3.5.3

HELICS Library version 3.5.3 (2024-07-08)


**Additional context and information**
Sender log:

Sent message of length 1000 Sent message of length 10000 Sent message of length 100000 Sent message of length 1000000 Sent message of length 10000000 Sent message of length 100000000 Sent message of length 1000000000


Receiver log:

Full message received of size 1000 Full message received of size 10000 Full message received of size 100000 Full message received of size 1000000 Full message received of size 10000000 Incomplete message received of size 16113920 out of 100000000 Incomplete message received of size 10144256 out of 1000000000

leovsch commented 1 week ago

I've also ran the example in my environment:

helics, version v3.5.3

Python HELICS version v3.5.3

HELICS Library version 3.5.3 (2024-07-08)

The result was the same as in the issue description.