Skip to content

Commit

Permalink
Deployed 34978bf with MkDocs version: 1.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Unknown committed Oct 22, 2024
1 parent badb16b commit a363972
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion search/search_index.json

Large diffs are not rendered by default.

13 changes: 8 additions & 5 deletions user-guide/python/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1309,7 +1309,7 @@ <h2 id="mpi4py-for-cpu">mpi4py for CPU</h2>
<div class="highlight"><pre><span></span><code><span class="ch">#!/usr/bin/env python</span>

<span class="sd">&quot;&quot;&quot;</span>
<span class="sd">Parallel Numpy Array Broadcast </span>
<span class="sd">Parallel Numpy Array Broadcast</span>
<span class="sd">&quot;&quot;&quot;</span>

<span class="kn">from</span> <span class="nn">mpi4py</span> <span class="kn">import</span> <span class="n">MPI</span>
Expand Down Expand Up @@ -1396,7 +1396,7 @@ <h2 id="mpi4py-for-gpu">mpi4py for GPU</h2>
<div class="highlight"><pre><span></span><code><span class="ch">#!/usr/bin/env python</span>

<span class="sd">&quot;&quot;&quot;</span>
<span class="sd">Reduce-to-all CuPy Arrays </span>
<span class="sd">Reduce-to-all CuPy Arrays</span>
<span class="sd">&quot;&quot;&quot;</span>

<span class="kn">from</span> <span class="nn">mpi4py</span> <span class="kn">import</span> <span class="n">MPI</span>
Expand Down Expand Up @@ -1491,7 +1491,7 @@ <h2 id="installing-your-own-python-packages-with-pip">Installing your own Python
<div class="admonition tip">
<p class="admonition-title">Tip</p>
<p>In the commands below, remember to replace <code>x01</code> with your project code
and <code>auser</code> with your username. </p>
and <code>auser</code> with your username.</p>
</div>
<p>Next, create the virtual environment within a designated folder:</p>
<div class="highlight"><pre><span></span><code>python<span class="w"> </span>-m<span class="w"> </span>venv<span class="w"> </span>--system-site-packages<span class="w"> </span>/work/x01/x01/auser/myvenv
Expand Down Expand Up @@ -1606,7 +1606,7 @@ <h2 id="installing-your-own-python-packages-with-conda">Installing your own Pyth
<code>conda install -p ${CONDA_ROOT}/envs/myvenv &lt;package_name&gt;</code>. And you can
see the packages currently installed in the active environment with the
command <code>conda list</code>. After all packages have been installed, simply run
<code>conda deactivate</code> twice in order to restore the original comand prompt.</p>
<code>conda deactivate</code> twice in order to restore the original command prompt.</p>
<div class="highlight"><pre><span></span><code><span class="o">(</span>myvenv<span class="o">)</span><span class="w"> </span><span class="o">[</span>auser@cirrus-login1<span class="w"> </span>auser<span class="o">]</span>$<span class="w"> </span>conda<span class="w"> </span>deactivate
<span class="o">(</span>base<span class="o">)</span><span class="w"> </span><span class="o">[</span>auser@cirrus-login1<span class="w"> </span>auser<span class="o">]</span>$<span class="w"> </span>conda<span class="w"> </span>deactivate
<span class="o">[</span>auser@cirrus-login1<span class="w"> </span>auser<span class="o">]</span>$
Expand Down Expand Up @@ -1666,7 +1666,10 @@ <h2 id="using-jupyterlab-on-cirrus">Using JupyterLab on Cirrus</h2>
<code>module load anaconda3</code>.</p>
</li>
<li>
<p>Run <code>export JUPYTER_RUNTIME_DIR=$(pwd)</code>.</p>
<p>Run <code>export JUPYTER_RUNTIME_DIR=$(pwd)</code>. Jobs running in the
batch system may also need to set both <code>JUPYTER_CONFIG_DIR</code> and
<code>JUPYTER_DATA_DIR</code> is the same way. By default, these are related to
<code>${HOME}</code>, which is not available on the back end.</p>
</li>
<li>
<p>Start the JupyterLab server by running
Expand Down

0 comments on commit a363972

Please sign in to comment.