multiscale / muscle3

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

InstanceManager crashes on shutdown if no stderr.txt is present #276

Open LourensVeen opened 11 months ago

LourensVeen commented 11 months ago

At https://github.com/multiscale/muscle3/blob/b354a2439f380edc62f1f6aadaa103f808ce2900/libmuscle/python/libmuscle/manager/instance_manager.py#L210 we open the stderr.txt file of the instance to check for log messages. If the instance didn't start properly, then that file may be missing, causing a crash here.