<html>#1059: simfactory silent error
<table style='border-spacing: 1ex 0pt; '>
<tr><td style='text-align:right'> Reporter:</td><td>anonymous</td></tr>
<tr><td style='text-align:right'>   Status:</td><td>resolved</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>Changes (by Roland Haas):</p>
<p><table>
<tr><td>status:</td><td>resolved (was new)</td></tr>
</table></p>
<p>When sim submit -remote ... fails to queue a job because the allocation has been overdrawn, simfactory does not print any error message to screen (it is only hidden in the log file).</p>
<p>Could it be made to print an error message to screen?</p>
<p><strong>Keyword:</strong> simfactory<br />
<strong>Keyword:</strong> error<br />
<strong>Keyword:</strong> message</p>
<p>Comment (by Roland Haas):</p>
<p>This no longer happens. Simfactory (even <code>--remote</code>) now ends its output with "Warning: submit either failed or could not determine job id, output:" followed by the raw output from the submit command. Eg for a quick test trying to remote-submit to  a non-existing allocation on Blue Waters I get:</p>
<blockquote>
<p>Executing submit command: cd /scratch/sciteam/rhaas/simulations/foo/output-0000 &amp;&amp; qsub /scratch/sciteam/rhaas/simulations/foo/output-0000/SIMFACTORY/SubmitScript</p>
<p>Warning: submit either failed or could not determine job id, output:</p>
<p>Warning:</p>
<p>WARNING: A scan of your job script did not find an invocation of 'aprun'/'ccmrun'.</p>
<p>This may be due to using another command to invoke 'aprun'/'ccmrun', or the use of a shell variable.</p>
<p>Job will be submitted as usual, but please ensure your job script eventually
invokes 'aprun'/'ccmrun' command to execute tasks on allocated compute nodes.
Please contact help+bw@ncsa.illinois.edu if you need any assistance.</p>
<p>ERROR: No allocation for project account (bar).
Please specify a project acount with valid allocation.
e.g. 'qsub -A &lt;project_account&gt; job.script.sh'
Please contact help+bw@ncsa.illinois.edu if you need assistance.</p>
</blockquote>
<p>--<br/>
Ticket URL: <a href='https://bitbucket.org/einsteintoolkit/tickets/issues/1059/simfactory-silent-error'>https://bitbucket.org/einsteintoolkit/tickets/issues/1059/simfactory-silent-error</a></p>
</html>