stop --follow'ing output when simulation ends

Create issue
Issue #2324 resolved
Roland Haas created an issue

Currently sim show-output --follow must be manually aborted when the simulation ends. This is inconvenient (at least) for the tutorial server notebook 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).

Comments (4)

  1. Log in to comment