Skip to content

Commit

Permalink
deploy: f896555
Browse files Browse the repository at this point in the history
  • Loading branch information
zingale committed Jun 24, 2024
1 parent 4aee2b8 commit 7194ded
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions _sources/olcf-andes.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Batch Visualization on Andes
============================

It is best to work on ``andes.olcf.ornl.gov``. You will want to setup
a new env for andes. We'll call it ``andes_env``.
a new env for andes. We'll call it ``myenv``.

You need to load python with anaconda support there:

Expand Down Expand Up @@ -43,7 +43,7 @@ you need to do:

.. prompt:: bash

source activate andes_env
source activate myenv

Then you can run a python script that does visualization as with the
following submission script::
Expand All @@ -56,7 +56,7 @@ following submission script::

cd $SLURM_SUBMIT_DIR

source activate andes_env
source activate myenv

srun python vol-xrb-enuc.py flame_wave_1000Hz_25cm_smallplt203204

Expand Down
6 changes: 3 additions & 3 deletions olcf-andes.html
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
<section id="batch-visualization-on-andes">
<h1>Batch Visualization on Andes<a class="headerlink" href="#batch-visualization-on-andes" title="Link to this heading"></a></h1>
<p>It is best to work on <code class="docutils literal notranslate"><span class="pre">andes.olcf.ornl.gov</span></code>. You will want to setup
a new env for andes. We’ll call it <code class="docutils literal notranslate"><span class="pre">andes_env</span></code>.</p>
a new env for andes. We’ll call it <code class="docutils literal notranslate"><span class="pre">myenv</span></code>.</p>
<p>You need to load python with anaconda support there:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><style type="text/css">
span.prompt1:before {
Expand All @@ -116,7 +116,7 @@ <h1>Batch Visualization on Andes<a class="headerlink" href="#batch-visualization
<span class="prompt1">pip<span class="w"> </span>install<span class="w"> </span>.</span>
</pre></div></div><p>Each time you log in, if you want to use this environment,
you need to do:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span class="prompt1"><span class="nb">source</span><span class="w"> </span>activate<span class="w"> </span>andes_env</span>
<div class="highlight-default notranslate"><div class="highlight"><pre><span class="prompt1"><span class="nb">source</span><span class="w"> </span>activate<span class="w"> </span>myenv</span>
</pre></div></div><p>Then you can run a python script that does visualization as with the
following submission script:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span>#!/bin/bash
Expand All @@ -127,7 +127,7 @@ <h1>Batch Visualization on Andes<a class="headerlink" href="#batch-visualization

cd $SLURM_SUBMIT_DIR

source activate andes_env
source activate myenv

srun python vol-xrb-enuc.py flame_wave_1000Hz_25cm_smallplt203204
</pre></div>
Expand Down
Loading

0 comments on commit 7194ded

Please sign in to comment.