Closed mpoquet closed 3 years ago
UP! After discussion with @mickours we think that a flush of the buffers into the output files at regular time would do the trick.
This has been done for jobs by @Mommessc IIRC. Closing this issue as it is super old and solved for the main output file. Please reopen it if needed for other output files.
When large instances are executed, they might be stopped for many reasons : timeout reached, discharged battery, stopped by the user because it is too long... In these cases, nearly all Batsim's outputs are lost, as most are written at the end of the simulation.
It would be way better to write outputs throughout the simulation rather than what is currently done. The Pajé trace outputting is already streamed, the same should be applied to other output files.