Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Sep 20, 2024
1 parent d74e13c commit a0bce3d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions latest/_modules/compass/parallel.html
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,11 @@ <h1>Source code for compass.parallel</h1><div class="highlight"><pre>
<span class="n">cores_per_node</span><span class="o">=</span><span class="n">cores_per_node</span><span class="p">,</span>
<span class="n">mpi_allowed</span><span class="o">=</span><span class="n">mpi_allowed</span>
<span class="p">)</span>

<span class="k">if</span> <span class="n">config</span><span class="o">.</span><span class="n">has_option</span><span class="p">(</span><span class="s1">&#39;parallel&#39;</span><span class="p">,</span> <span class="s1">&#39;gpus_per_node&#39;</span><span class="p">):</span>
<span class="n">available_resources</span><span class="p">[</span><span class="s1">&#39;gpus_per_node&#39;</span><span class="p">]</span> <span class="o">=</span> \
<span class="n">config</span><span class="o">.</span><span class="n">getint</span><span class="p">(</span><span class="s1">&#39;parallel&#39;</span><span class="p">,</span> <span class="s1">&#39;gpus_per_node&#39;</span><span class="p">)</span>

<span class="k">return</span> <span class="n">available_resources</span></div>


Expand Down

0 comments on commit a0bce3d

Please sign in to comment.