multiscale / muscle3

The third major version of the MUltiScale Coupling Library and Environment
Apache License 2.0
25 stars 13 forks source link

Simulation doesn't end properly #69

Open DongweiYe opened 4 years ago

DongweiYe commented 4 years ago

The experiments with ISR3D works fine but doesn't end properly. The submodels will just hanging there and don't know that the simulation has already finished. Same thing happens to MUSCLE3 manage. It seems the managar doesn't know when to kill the simulation as well.

LourensVeen commented 4 years ago

It seems like the problem here was that the model had its ports assigned to operators incorrectly. A bigger problem is that MUSCLE3 will not check that, and then hang on shutdown because it's trying to send messages on ports it's supposed to be receiving on.