sim show-output --follow must be manually aborted when the simulation ends. This is inconvenient (at least) for the tutorial server notebook https://nbviewer.jupyter.org/github/nds-org/jupyter-et/blob/master/CactusTutorial.ipynb where the TOV evolution uses
submit (to show how this would be done on a real cluster) then
show-output --follow (to show what is going on) and requires users to press the “interrupt” button to continue in the notebook.
adds code to simfactory’s
show-output routine to
kill -TERM the
tail process running to show output when the simulation is detected to have ended (polled every 60 seconds).