<html>#2324: stop --follow'ing output when simulation ends
<table style='border-spacing: 1ex 0pt; '>
<tr><td style='text-align:right'> Reporter:</td><td>Roland Haas</td></tr>
<tr><td style='text-align:right'>   Status:</td><td>new</td></tr>
<tr><td style='text-align:right'>Milestone:</td><td></td></tr>
<tr><td style='text-align:right'>  Version:</td><td></td></tr>
<tr><td style='text-align:right'>     Type:</td><td>enhancement</td></tr>
<tr><td style='text-align:right'> Priority:</td><td>minor</td></tr>
<tr><td style='text-align:right'>Component:</td><td>SimFactory</td></tr>
</table>

<p>Currently <code>sim show-output --follow</code> must be manually aborted when the simulation ends. This is inconvenient (at least) for the tutorial server notebook <a data-is-external-link="true" href="https://nbviewer.jupyter.org/github/nds-org/jupyter-et/blob/master/CactusTutorial.ipynb" rel="nofollow">https://nbviewer.jupyter.org/github/nds-org/jupyter-et/blob/master/CactusTutorial.ipynb</a> where the TOV evolution uses <code>submit</code> (to show how this would be done on a real cluster) then <code>show-output --follow</code> (to show what is going on) and requires users to press the “interrupt” button to continue in the notebook.</p>
<p>Pull request:</p>
<p><a data-is-external-link="true" href="https://bitbucket.org/simfactory/simfactory2/pull-requests/39/end-following-output-when-simulation-ends/diff" rel="nofollow">https://bitbucket.org/simfactory/simfactory2/pull-requests/39/end-following-output-when-simulation-ends/diff</a></p>
<p>adds code to simfactory’s <code>show-output</code> routine to <code>kill -TERM</code> the <code>tail</code> process running to show output when the simulation is detected to have ended (polled every 60 seconds).</p>
<p>--<br/>
Ticket URL: <a href='https://bitbucket.org/einsteintoolkit/tickets/issues/2324/stop-following-output-when-simulation-ends'>https://bitbucket.org/einsteintoolkit/tickets/issues/2324/stop-following-output-when-simulation-ends</a></p>
</html>