Skip to content

Commit

Permalink
deploy: abc7917
Browse files Browse the repository at this point in the history
  • Loading branch information
zingale committed Nov 13, 2024
1 parent f604394 commit 8e9acdf
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 10 deletions.
32 changes: 25 additions & 7 deletions _sources/olcf-compilers.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,33 @@ see: https://docs.olcf.ornl.gov/systems/frontier_user_guide.html#programming-env

load modules:

.. prompt:: bash
* ROCm 6.1.3:

.. prompt:: bash

module load PrgEnv-gnu
module load cray-mpich/8.1.28
module load craype-accel-amd-gfx90a
module load amd-mixed/6.1.3

* ROCm 6.2.4:

There is an additional step with later versions of ROCm. First load the modules:

.. prompt:: bash

module load cpe/24.07
module load PrgEnv-gnu
module load cray-mpich
module load craype-accel-amd-gfx90a
module load amd-mixed/6.2.4

Then you need to modify the library include path to include ``CRAY_LD_LIBRARY_PATH``
since the module wrappers do not do this:

module load PrgEnv-gnu
module load cray-mpich/8.1.28
module load craype-accel-amd-gfx90a
module load amd-mixed/6.1.3
module unload darshan-runtime
.. prompt:: bash

this will load ROCm 6.1.3
export LD_LIBRARY_PATH=$CRAY_LD_LIBRARY_PATH:$LD_LIBRARY_PATH

.. note::

Expand Down
17 changes: 15 additions & 2 deletions olcf-compilers.html
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,8 @@ <h2>Frontier<a class="headerlink" href="#frontier" title="Link to this heading">
<p>log into: <code class="docutils literal notranslate"><span class="pre">frontier.olcf.ornl.gov</span></code></p>
<p>see: <a class="reference external" href="https://docs.olcf.ornl.gov/systems/frontier_user_guide.html#programming-environment">https://docs.olcf.ornl.gov/systems/frontier_user_guide.html#programming-environment</a></p>
<p>load modules:</p>
<ul>
<li><p>ROCm 6.1.3:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><style type="text/css">
span.prompt1:before {
content: "$ ";
Expand All @@ -107,8 +109,19 @@ <h2>Frontier<a class="headerlink" href="#frontier" title="Link to this heading">
<span class="prompt1">module<span class="w"> </span>load<span class="w"> </span>cray-mpich/8.1.28</span>
<span class="prompt1">module<span class="w"> </span>load<span class="w"> </span>craype-accel-amd-gfx90a</span>
<span class="prompt1">module<span class="w"> </span>load<span class="w"> </span>amd-mixed/6.1.3</span>
<span class="prompt1">module<span class="w"> </span>unload<span class="w"> </span>darshan-runtime</span>
</pre></div></div><p>this will load ROCm 6.1.3</p>
</pre></div></div></li>
<li><p>ROCm 6.2.4:</p>
<p>There is an additional step with later versions of ROCm. First load the modules:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span class="prompt1">module<span class="w"> </span>load<span class="w"> </span>cpe/24.07</span>
<span class="prompt1">module<span class="w"> </span>load<span class="w"> </span>PrgEnv-gnu</span>
<span class="prompt1">module<span class="w"> </span>load<span class="w"> </span>cray-mpich</span>
<span class="prompt1">module<span class="w"> </span>load<span class="w"> </span>craype-accel-amd-gfx90a</span>
<span class="prompt1">module<span class="w"> </span>load<span class="w"> </span>amd-mixed/6.2.4</span>
</pre></div></div><p>Then you need to modify the library include path to include <code class="docutils literal notranslate"><span class="pre">CRAY_LD_LIBRARY_PATH</span></code>
since the module wrappers do not do this:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span class="prompt1"><span class="nb">export</span><span class="w"> </span><span class="nv">LD_LIBRARY_PATH</span><span class="o">=</span><span class="nv">$CRAY_LD_LIBRARY_PATH</span>:<span class="nv">$LD_LIBRARY_PATH</span></span>
</pre></div></div></li>
</ul>
<div class="admonition note">
<p class="admonition-title">Note</p>
<p>In the past, tabulated rates seem to exhibit a strange slow down on
Expand Down
Loading

0 comments on commit 8e9acdf

Please sign in to comment.