task <code>build</code> compiles the <code>diagnose</code> utility
into the <code>bin</code> directory.
It can be compiled directly using the makefile as follows:</p>
<pre><code>&gt; cd &lt;cmdstan-home&gt;
&gt; make bin/diagnose</code></pre>
</div>
<div id="running-the-diagnose-command" class="section level2" number="17.2">
<h2><span class="header-section-number">17.2</span> Running the diagnose command</h2>
<p>The <code>diagnose</code> command is executed on one or more output files,
which are provided as