Skip to content

Commit

Permalink
Deployed fcdb65d with MkDocs version: 1.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Unknown committed Jun 12, 2024
1 parent d5ee34c commit cb2a952
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 10 deletions.
2 changes: 1 addition & 1 deletion search/search_index.json

Large diffs are not rendered by default.

Binary file modified sitemap.xml.gz
Binary file not shown.
15 changes: 6 additions & 9 deletions user-guide/development/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1711,18 +1711,15 @@ <h4 id="using-intel-compilers-and-hpe-mpt">Using Intel Compilers and HPE MPT</h4
<p>The compiler wrappers are then available as</p>
<ul>
<li><code>mpif90</code> - Fortran with MPI</li>
<li><code>mpicc</code> - C with MPI</li>
<li><code>mpicxx</code> - C++ with MPI</li>
<li><code>mpicc -cc=icc</code> - C with MPI</li>
<li><code>mpicxx --cxx=icpc</code> - C++ with MPI</li>
</ul>
<div class="admonition note">
<p class="admonition-title">Note</p>
<p>The MPT compiler wrappers use GCC by default rather than the Intel compilers:</p>
<p>When compiling C applications you must also specify that <code>mpicc</code> should use the <code>icc</code> compiler with, for example, <code>mpicc -cc=icc</code>. Similarly, when compiling C++ applications you must also specify that <code>mpicxx</code> should use the <code>icpc</code> compiler with, for example, <code>mpicxx -cxx=icpc</code>. (This is not required for Fortran as the <code>mpif90</code> compiler automatically uses <code>ifort</code>.) If in doubt use <code>mpicc -cc=icc -v</code> or <code>mpicxx -cxx=icpc -v</code> to see which compiler is actually being called.</p>
<p>The MPT C/C++ compiler wrappers use GCC by default rather than the Intel compilers hence the additional options in the commands above. When compiling C applications you must also specify that <code>mpicc</code> should use the <code>icc</code> compiler with, for example, <code>mpicc -cc=icc</code>. Similarly, when compiling C++ applications you must also specify that <code>mpicxx</code> should use the <code>icpc</code> compiler with, for example, <code>mpicxx -cxx=icpc</code>. (This is not required for Fortran as the <code>mpif90</code> compiler automatically uses <code>ifort</code>.) If in doubt use <code>mpicc -cc=icc -v</code> or <code>mpicxx -cxx=icpc -v</code> to see which compiler is actually being called.</p>
<p>Alternatively, you can set the environment variables <code>MPICC_CC=icc</code> and/or <code>MPICXX=icpc</code> to ensure the correct base compiler is used:</p>
<pre><code>export MPICC_CC=icc
<div class="highlight"><pre><span></span><code>export MPICC_CC=icc
export MPICXX_CXX=icpc
</code></pre>
</div>
</code></pre></div>
<p>Whent eh environment variables are set, you can use <code>mpicc</code> or <code>mpicxx</code> without needing additional options.</p>
<h4 id="using-gcc-compilers-and-hpe-mpt">Using GCC Compilers and HPE MPT</h4>
<p>Once you have loaded the MPT module you should next load the <code>gcc</code>
module:</p>
Expand Down

0 comments on commit cb2a952

Please sign in to comment.