#2324: stop --follow'ing output when simulation ends
| Reporter: | Roland Haas |
| Status: | new |
| Milestone: | |
| Version: | |
| Type: | enhancement |
| Priority: | minor |
| Component: | SimFactory |
Currently 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.
Pull request:
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).
--
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2324/stop-following-output-when-simulation-ends