Skip to content

Commit

Permalink
trying push again
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeff Candy committed Jan 16, 2024
1 parent 8d98638 commit 9f764f1
Show file tree
Hide file tree
Showing 47 changed files with 124 additions and 115 deletions.
56 changes: 32 additions & 24 deletions docs/build.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<title>Build from sources &mdash; GACODE</title>
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="_static/css/theme.css?v=19f00094" />
<link rel="stylesheet" type="text/css" href="_static/contentui.css?v=4cf5b151" />
<link rel="stylesheet" type="text/css" href="_static/contentui.css" />


<link rel="shortcut icon" href="_static/favicon.ico"/>
Expand All @@ -20,7 +20,7 @@
<script src="_static/documentation_options.js?v=5929fcd5"></script>
<script src="_static/doctools.js?v=888ff710"></script>
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="_static/contentui.js?v=9ee86694"></script>
<script src="_static/contentui.js"></script>
<script src="_static/js/theme.js"></script>
<link rel="index" title="Index" href="genindex.html" />
<link rel="search" title="Search" href="search.html" />
Expand Down Expand Up @@ -54,7 +54,9 @@
<li class="toctree-l1"><a class="reference internal" href="setup.html">Environment setup</a></li>
<li class="toctree-l1 current"><a class="current reference internal" href="#">Build from sources</a><ul>
<li class="toctree-l2"><a class="reference internal" href="#prerequisites">Prerequisites</a></li>
<li class="toctree-l2"><a class="reference internal" href="#concept-of-platform-files">Concept of platform files</a></li>
<li class="toctree-l2"><a class="reference internal" href="#environment-variables">Environment variables</a></li>
<li class="toctree-l2"><a class="reference internal" href="#openblas">OpenBLAS</a></li>
<li class="toctree-l2"><a class="reference internal" href="#building">Building</a></li>
</ul>
</li>
Expand Down Expand Up @@ -110,37 +112,43 @@ <h2>Prerequisites<a class="headerlink" href="#prerequisites" title="Link to this
</pre></div>
</div>
</section>
<section id="environment-variables">
<h2>Environment variables<a class="headerlink" href="#environment-variables" title="Link to this heading"></a></h2>
<p>First, you need to locate a suitable platform, or make your own platform files. After cloning the repository, you can query the existing platforms using:</p>
<section id="concept-of-platform-files">
<h2>Concept of platform files<a class="headerlink" href="#concept-of-platform-files" title="Link to this heading"></a></h2>
<p>In order to compile the full GACODE package on a new machine, <strong>platform files</strong> must be created. You can use existing ones or create your own. After cloning the repository, you can query the existing platforms using:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span>$ ./gacode/shared/bin/gacode_platforms
</pre></div>
</div>
<p>In order to compile the full GACODE package on a new machine, <strong>platform files</strong> must be created. Let’s imagine you have a new laptop, and you want this platform to be known as MY_PC. In this case you’ll need these lines in your shell RC file:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span>export GACODE_PLATFORM=MY_PC
export GACODE_ROOT=$HOME/gacode
. $GACODE_ROOT/shared/bin/gacode_setup
</pre></div>
</div>
<p>Then you must create the following files:</p>
<ol class="arabic">
<li><p>Machine-specific compilation options:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span>$GACODE_ROOT/platform/build/make.inc.MY_PC
<p>To create new platform files (say, for a new platform MINE) then copy/edit the following files:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span>$GACODE_ROOT/platform/build/make.inc.MINE
$GACODE_ROOT/platform/exec/exec.MINE
$GACODE_ROOT/platform/env/env.MINE (if needed)
</pre></div>
</div>
</li>
<li><p>Parallel execution command syntax:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span>$GACODE_ROOT/platform/exec/exec.MY_PC
<p>Numerous templates for each of these files can be found in the specific folders, and most often there will be an existing machine files that is almost exactly what you need</p>
</section>
<section id="environment-variables">
<h2>Environment variables<a class="headerlink" href="#environment-variables" title="Link to this heading"></a></h2>
<p>To use your new platform files, enter the following lines in your shell RC file:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span>export GACODE_PLATFORM=MINE
export GACODE_ROOT=$HOME/gacode
. $GACODE_ROOT/shared/bin/gacode_setup
. $GACODE_ROOT/platform/env/env.MINE (if needed)
</pre></div>
</div>
</li>
<li><p>Any module load commands (optional) go here:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span>$GACODE_ROOT/platform/env/env.MY_PC
</section>
<section id="openblas">
<h2>OpenBLAS<a class="headerlink" href="#openblas" title="Link to this heading"></a></h2>
<p>When building with gfortran, we recommend using <a class="reference external" href="https://github.com/xianyi/OpenBLAS.git">OpenBLAS</a>. It is important to build with <strong>single-threaded</strong> settings. In the Makefile.rule file in the top-level OpenBLAS directory, set:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">FC</span><span class="o">=</span><span class="n">gfortran</span>
<span class="n">BINARY</span><span class="o">=</span><span class="mi">64</span>
<span class="n">USE_THREAD</span><span class="o">=</span><span class="mi">0</span>
<span class="n">NUM_THREADS</span><span class="o">=</span><span class="mi">1</span>
<span class="n">NO_SHARED</span><span class="o">=</span><span class="mi">1</span>
<span class="n">NO_CBLAS</span><span class="o">=</span><span class="mi">1</span>
<span class="n">NO_LAPACKE</span><span class="o">=</span><span class="mi">1</span>
</pre></div>
</div>
</li>
</ol>
<p>Numerous templates for each of these files can be found in the specific folders, and most often there will be an existing machine files that is almost exactly what you need. So, the strategy is to copy a similar machine file to your new one, and tweak as required.</p>
<p>You can find an example of linking to OpenBLAS in platform/build/make.inc.MINT.</p>
</section>
<section id="building">
<h2>Building<a class="headerlink" href="#building" title="Link to this heading"></a></h2>
Expand Down
4 changes: 2 additions & 2 deletions docs/cgyro.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<title>CGYRO &mdash; GACODE</title>
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="_static/css/theme.css?v=19f00094" />
<link rel="stylesheet" type="text/css" href="_static/contentui.css?v=4cf5b151" />
<link rel="stylesheet" type="text/css" href="_static/contentui.css" />


<link rel="shortcut icon" href="_static/favicon.ico"/>
Expand All @@ -20,7 +20,7 @@
<script src="_static/documentation_options.js?v=5929fcd5"></script>
<script src="_static/doctools.js?v=888ff710"></script>
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="_static/contentui.js?v=9ee86694"></script>
<script src="_static/contentui.js"></script>
<script async="async" src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>
<script src="_static/js/theme.js"></script>
<link rel="index" title="Index" href="genindex.html" />
Expand Down
4 changes: 2 additions & 2 deletions docs/cgyro/FAQ.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<title>FAQ &mdash; GACODE</title>
<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="../_static/css/theme.css?v=19f00094" />
<link rel="stylesheet" type="text/css" href="../_static/contentui.css?v=4cf5b151" />
<link rel="stylesheet" type="text/css" href="../_static/contentui.css" />


<link rel="shortcut icon" href="../_static/favicon.ico"/>
Expand All @@ -20,7 +20,7 @@
<script src="../_static/documentation_options.js?v=5929fcd5"></script>
<script src="../_static/doctools.js?v=888ff710"></script>
<script src="../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../_static/contentui.js?v=9ee86694"></script>
<script src="../_static/contentui.js"></script>
<script async="async" src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>
<script src="../_static/js/theme.js"></script>
<link rel="index" title="Index" href="../genindex.html" />
Expand Down
4 changes: 2 additions & 2 deletions docs/cgyro/cgyro_cori.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<title>Running CGYRO on NERSC Cori &mdash; GACODE</title>
<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="../_static/css/theme.css?v=19f00094" />
<link rel="stylesheet" type="text/css" href="../_static/contentui.css?v=4cf5b151" />
<link rel="stylesheet" type="text/css" href="../_static/contentui.css" />


<link rel="shortcut icon" href="../_static/favicon.ico"/>
Expand All @@ -20,7 +20,7 @@
<script src="../_static/documentation_options.js?v=5929fcd5"></script>
<script src="../_static/doctools.js?v=888ff710"></script>
<script src="../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../_static/contentui.js?v=9ee86694"></script>
<script src="../_static/contentui.js"></script>
<script src="../_static/js/theme.js"></script>
<link rel="index" title="Index" href="../genindex.html" />
<link rel="search" title="Search" href="../search.html" />
Expand Down
4 changes: 2 additions & 2 deletions docs/cgyro/cgyro_list.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<title>Alphabetical list for input.cgyro &mdash; GACODE</title>
<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="../_static/css/theme.css?v=19f00094" />
<link rel="stylesheet" type="text/css" href="../_static/contentui.css?v=4cf5b151" />
<link rel="stylesheet" type="text/css" href="../_static/contentui.css" />


<link rel="shortcut icon" href="../_static/favicon.ico"/>
Expand All @@ -20,7 +20,7 @@
<script src="../_static/documentation_options.js?v=5929fcd5"></script>
<script src="../_static/doctools.js?v=888ff710"></script>
<script src="../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../_static/contentui.js?v=9ee86694"></script>
<script src="../_static/contentui.js"></script>
<script async="async" src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>
<script src="../_static/js/theme.js"></script>
<link rel="index" title="Index" href="../genindex.html" />
Expand Down
4 changes: 2 additions & 2 deletions docs/cgyro/cgyro_table.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<title>Tabular list for input.cgyro &mdash; GACODE</title>
<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="../_static/css/theme.css?v=19f00094" />
<link rel="stylesheet" type="text/css" href="../_static/contentui.css?v=4cf5b151" />
<link rel="stylesheet" type="text/css" href="../_static/contentui.css" />


<link rel="shortcut icon" href="../_static/favicon.ico"/>
Expand All @@ -20,7 +20,7 @@
<script src="../_static/documentation_options.js?v=5929fcd5"></script>
<script src="../_static/doctools.js?v=888ff710"></script>
<script src="../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../_static/contentui.js?v=9ee86694"></script>
<script src="../_static/contentui.js"></script>
<script async="async" src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>
<script src="../_static/js/theme.js"></script>
<link rel="index" title="Index" href="../genindex.html" />
Expand Down
4 changes: 2 additions & 2 deletions docs/cgyro/cgyro_titan.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<title>Running CGYRO on OLCF Titan (deprecated) &mdash; GACODE</title>
<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="../_static/css/theme.css?v=19f00094" />
<link rel="stylesheet" type="text/css" href="../_static/contentui.css?v=4cf5b151" />
<link rel="stylesheet" type="text/css" href="../_static/contentui.css" />


<link rel="shortcut icon" href="../_static/favicon.ico"/>
Expand All @@ -20,7 +20,7 @@
<script src="../_static/documentation_options.js?v=5929fcd5"></script>
<script src="../_static/doctools.js?v=888ff710"></script>
<script src="../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../_static/contentui.js?v=9ee86694"></script>
<script src="../_static/contentui.js"></script>
<script src="../_static/js/theme.js"></script>
<link rel="index" title="Index" href="../genindex.html" />
<link rel="search" title="Search" href="../search.html" />
Expand Down
4 changes: 2 additions & 2 deletions docs/cgyro/outputs.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<title>CGYRO output files &mdash; GACODE</title>
<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="../_static/css/theme.css?v=19f00094" />
<link rel="stylesheet" type="text/css" href="../_static/contentui.css?v=4cf5b151" />
<link rel="stylesheet" type="text/css" href="../_static/contentui.css" />


<link rel="shortcut icon" href="../_static/favicon.ico"/>
Expand All @@ -20,7 +20,7 @@
<script src="../_static/documentation_options.js?v=5929fcd5"></script>
<script src="../_static/doctools.js?v=888ff710"></script>
<script src="../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../_static/contentui.js?v=9ee86694"></script>
<script src="../_static/contentui.js"></script>
<script async="async" src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>
<script src="../_static/js/theme.js"></script>
<link rel="index" title="Index" href="../genindex.html" />
Expand Down
4 changes: 2 additions & 2 deletions docs/cgyro/running_cases.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<title>Running Cases &mdash; GACODE</title>
<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="../_static/css/theme.css?v=19f00094" />
<link rel="stylesheet" type="text/css" href="../_static/contentui.css?v=4cf5b151" />
<link rel="stylesheet" type="text/css" href="../_static/contentui.css" />


<link rel="shortcut icon" href="../_static/favicon.ico"/>
Expand All @@ -20,7 +20,7 @@
<script src="../_static/documentation_options.js?v=5929fcd5"></script>
<script src="../_static/doctools.js?v=888ff710"></script>
<script src="../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../_static/contentui.js?v=9ee86694"></script>
<script src="../_static/contentui.js"></script>
<script src="../_static/js/theme.js"></script>
<link rel="index" title="Index" href="../genindex.html" />
<link rel="search" title="Search" href="../search.html" />
Expand Down
4 changes: 2 additions & 2 deletions docs/download.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<title>Download and user agreement &mdash; GACODE</title>
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="_static/css/theme.css?v=19f00094" />
<link rel="stylesheet" type="text/css" href="_static/contentui.css?v=4cf5b151" />
<link rel="stylesheet" type="text/css" href="_static/contentui.css" />


<link rel="shortcut icon" href="_static/favicon.ico"/>
Expand All @@ -20,7 +20,7 @@
<script src="_static/documentation_options.js?v=5929fcd5"></script>
<script src="_static/doctools.js?v=888ff710"></script>
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="_static/contentui.js?v=9ee86694"></script>
<script src="_static/contentui.js"></script>
<script src="_static/js/theme.js"></script>
<link rel="index" title="Index" href="genindex.html" />
<link rel="search" title="Search" href="search.html" />
Expand Down
4 changes: 2 additions & 2 deletions docs/genindex.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<title>Index &mdash; GACODE</title>
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="_static/css/theme.css?v=19f00094" />
<link rel="stylesheet" type="text/css" href="_static/contentui.css?v=4cf5b151" />
<link rel="stylesheet" type="text/css" href="_static/contentui.css" />


<link rel="shortcut icon" href="_static/favicon.ico"/>
Expand All @@ -19,7 +19,7 @@
<script src="_static/documentation_options.js?v=5929fcd5"></script>
<script src="_static/doctools.js?v=888ff710"></script>
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="_static/contentui.js?v=9ee86694"></script>
<script src="_static/contentui.js"></script>
<script src="_static/js/theme.js"></script>
<link rel="index" title="Index" href="#" />
<link rel="search" title="Search" href="search.html" />
Expand Down
4 changes: 2 additions & 2 deletions docs/geometry.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<title>FLUX-SURFACE GEOMETRY &mdash; GACODE</title>
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="_static/css/theme.css?v=19f00094" />
<link rel="stylesheet" type="text/css" href="_static/contentui.css?v=4cf5b151" />
<link rel="stylesheet" type="text/css" href="_static/contentui.css" />


<link rel="shortcut icon" href="_static/favicon.ico"/>
Expand All @@ -20,7 +20,7 @@
<script src="_static/documentation_options.js?v=5929fcd5"></script>
<script src="_static/doctools.js?v=888ff710"></script>
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="_static/contentui.js?v=9ee86694"></script>
<script src="_static/contentui.js"></script>
<script async="async" src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>
<script src="_static/js/theme.js"></script>
<link rel="index" title="Index" href="genindex.html" />
Expand Down
4 changes: 2 additions & 2 deletions docs/gyro.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<title>GYRO &mdash; GACODE</title>
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="_static/css/theme.css?v=19f00094" />
<link rel="stylesheet" type="text/css" href="_static/contentui.css?v=4cf5b151" />
<link rel="stylesheet" type="text/css" href="_static/contentui.css" />


<link rel="shortcut icon" href="_static/favicon.ico"/>
Expand All @@ -20,7 +20,7 @@
<script src="_static/documentation_options.js?v=5929fcd5"></script>
<script src="_static/doctools.js?v=888ff710"></script>
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="_static/contentui.js?v=9ee86694"></script>
<script src="_static/contentui.js"></script>
<script src="_static/js/theme.js"></script>
<link rel="index" title="Index" href="genindex.html" />
<link rel="search" title="Search" href="search.html" />
Expand Down
4 changes: 2 additions & 2 deletions docs/gyro/gyro_gallery.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<title>Gallery of classic GYRO images (circa 2003) &mdash; GACODE</title>
<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="../_static/css/theme.css?v=19f00094" />
<link rel="stylesheet" type="text/css" href="../_static/contentui.css?v=4cf5b151" />
<link rel="stylesheet" type="text/css" href="../_static/contentui.css" />


<link rel="shortcut icon" href="../_static/favicon.ico"/>
Expand All @@ -20,7 +20,7 @@
<script src="../_static/documentation_options.js?v=5929fcd5"></script>
<script src="../_static/doctools.js?v=888ff710"></script>
<script src="../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../_static/contentui.js?v=9ee86694"></script>
<script src="../_static/contentui.js"></script>
<script src="../_static/js/theme.js"></script>
<link rel="index" title="Index" href="../genindex.html" />
<link rel="search" title="Search" href="../search.html" />
Expand Down
Loading

0 comments on commit 9f764f1

Please sign in to comment.