<html>#2198: simfactory's user level run command does not record jobid in a segment's properties.ini file
<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>development version</td></tr>
<tr><td style='text-align:right'>     Type:</td><td>bug</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>Changes (by Roland Haas):</p>
<p>The (user level) run command does not record a jobid in a segment's properties.ini file which means one cannot eg restart from a checkpoint since simfactory complains about an unset jobid:</p>
<div class="codehilite"><pre><span></span><span>simfactory/bin/sim create-run test1 --parfile par/tov_ETK_2018_lisbon.par --procs 1 --walltime 0:5:0 &amp;</span>
<span>grep jobid ~/simulations/test1/output-0000/SIMFACTORY/properties.ini</span>
</pre></div>


<p>shows the issue (but not producing any output). And the error obtained when trying to restart is along the lines of</p>
<blockquote>
<p>Simulation name: binarybh9 Error: job id is negative Aborting Simfactory</p>
</blockquote>
<p>This was reported by Qingwen Wang in <a href="http://lists.einsteintoolkit.org/pipermail/users/2018-September/006524.html" rel="nofollow" class="ap-connect-link">http://lists.einsteintoolkit.org/pipermail/users/2018-September/006524.html</a></p>
<p>A workaround is to not use run as a user but always submit or to use the cleanup command after which simfactory is fine with there not being a job id.</p>
<p><strong>Keyword:</strong> None</p>
<p>--<br/>
Ticket URL: <a href='https://bitbucket.org/einsteintoolkit/tickets/issues/2198/simfactorys-user-level-run-command-does'>https://bitbucket.org/einsteintoolkit/tickets/issues/2198/simfactorys-user-level-run-command-does</a></p>
</html>