Recover partial simulation result

Hello all,

If I started the simulation and then the simulation was cut off because the terminal was closed accidentally, Is there any way to recover the previously simulated events before the simulation has been stopped? The module.root and out.root files have been created, but no data is registered!

Or should I restart all over again?


Hi Tasneem,

if the files are empty unfotunately there is no way to retrieve the events already simulated. ROOT keeps an internal buffer and only writes it to file when necessary, this is done for performance reasons.

I fear you have to start over again. If you are working remotely on a machine and get disconnected regularly, try using GNU screen on the machine, so the session is not ended and the program continues running even when you get disconnected.