Skip to content

Commit febc5a1

Browse files
author
MFC Action
committed
Docs @ 8c288fd
1 parent 841f3b7 commit febc5a1

40 files changed

+471
-506
lines changed

documentation/doxygen_crawl.html

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,9 @@
9292
<a href="md_examples.html#autotoc_md76"/>
9393
<a href="md_examples.html#autotoc_md77"/>
9494
<a href="md_examples.html#autotoc_md78"/>
95-
<a href="md_examples.html#autotoc_md79"/>
96-
<a href="md_examples.html#autotoc_md80"/>
9795
<a href="md_expectedPerformance.html"/>
96+
<a href="md_expectedPerformance.html#autotoc_md80"/>
97+
<a href="md_expectedPerformance.html#autotoc_md81"/>
9898
<a href="md_expectedPerformance.html#autotoc_md82"/>
9999
<a href="md_expectedPerformance.html#autotoc_md83"/>
100100
<a href="md_expectedPerformance.html#autotoc_md84"/>
@@ -103,39 +103,37 @@
103103
<a href="md_expectedPerformance.html#autotoc_md87"/>
104104
<a href="md_expectedPerformance.html#autotoc_md88"/>
105105
<a href="md_expectedPerformance.html#autotoc_md89"/>
106-
<a href="md_expectedPerformance.html#autotoc_md90"/>
107-
<a href="md_expectedPerformance.html#autotoc_md91"/>
108106
<a href="md_getting-started.html"/>
107+
<a href="md_getting-started.html#autotoc_md91"/>
108+
<a href="md_getting-started.html#autotoc_md92"/>
109109
<a href="md_getting-started.html#autotoc_md93"/>
110110
<a href="md_getting-started.html#autotoc_md94"/>
111111
<a href="md_getting-started.html#autotoc_md95"/>
112-
<a href="md_getting-started.html#autotoc_md96"/>
113-
<a href="md_getting-started.html#autotoc_md97"/>
114112
<a href="md_papers.html"/>
115113
<a href="md_readme.html"/>
116-
<a href="md_readme.html#autotoc_md100"/>
117-
<a href="md_readme.html#autotoc_md101"/>
114+
<a href="md_readme.html#autotoc_md98"/>
115+
<a href="md_readme.html#autotoc_md99"/>
118116
<a href="md_references.html"/>
119117
<a href="md_running.html"/>
118+
<a href="md_running.html#autotoc_md102"/>
119+
<a href="md_running.html#autotoc_md103"/>
120120
<a href="md_running.html#autotoc_md104"/>
121121
<a href="md_running.html#autotoc_md105"/>
122122
<a href="md_running.html#autotoc_md106"/>
123123
<a href="md_running.html#autotoc_md107"/>
124124
<a href="md_running.html#autotoc_md108"/>
125-
<a href="md_running.html#autotoc_md109"/>
126-
<a href="md_running.html#autotoc_md110"/>
127125
<a href="md_testing.html"/>
128-
<a href="md_testing.html#autotoc_md112"/>
129-
<a href="md_testing.html#autotoc_md113"/>
126+
<a href="md_testing.html#autotoc_md110"/>
127+
<a href="md_testing.html#autotoc_md111"/>
130128
<a href="md_visualization.html"/>
129+
<a href="md_visualization.html#autotoc_md113"/>
130+
<a href="md_visualization.html#autotoc_md114"/>
131131
<a href="md_visualization.html#autotoc_md115"/>
132132
<a href="md_visualization.html#autotoc_md116"/>
133133
<a href="md_visualization.html#autotoc_md117"/>
134134
<a href="md_visualization.html#autotoc_md118"/>
135135
<a href="md_visualization.html#autotoc_md119"/>
136136
<a href="md_visualization.html#autotoc_md120"/>
137-
<a href="md_visualization.html#autotoc_md121"/>
138-
<a href="md_visualization.html#autotoc_md122"/>
139137
<a href="pages.html"/>
140138
</body>
141139
</html>
Loading
Loading

documentation/md_examples.html

Lines changed: 96 additions & 145 deletions
Large diffs are not rendered by default.

documentation/md_expectedPerformance.html

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -135,9 +135,9 @@
135135
<div class="headertitle"><div class="title">Performance</div></div>
136136
</div><!--header-->
137137
<div class="contents">
138-
<div class="textblock"><p><a class="anchor" id="autotoc_md81"></a></p>
138+
<div class="textblock"><p><a class="anchor" id="autotoc_md79"></a></p>
139139
<p>MFC has been benchmarked on several CPUs and GPU devices. This page is a summary of these results.</p>
140-
<h1><a class="anchor" id="autotoc_md82"></a>
140+
<h1><a class="anchor" id="autotoc_md80"></a>
141141
Figure of merit: Grind time performance</h1>
142142
<p>The following table outlines observed performance as nanoseconds per grid point (ns/gp) per equation (eq) per right-hand side (rhs) evaluation (lower is better), also known as the grind time. We solve an example 3D, inviscid, 5-equation model problem with two advected species (8 PDEs) and 8M grid points (158-cubed uniform grid). The numerics are WENO5 finite volume reconstruction and HLLC approximate Riemann solver. This case is located in <code>examples/3D_performance_test</code>. You can run it via <code>./mfc.sh run -n &lt;num_processors&gt; -j $(nproc) ./examples/3D_performance_test/case.py -t pre_process simulation --case-optimization</code> for CPU cases right after building MFC, which will build an optimized version of the code for this case then execute it. For benchmarking GPU devices, you will likely want to use <code>-n &lt;num_gpus&gt;</code> where <code>&lt;num_gpus&gt;</code> should likely be <code>1</code>. If the above does not work on your machine, see the rest of this documentation for other ways to use the <code>./mfc.sh run</code> command.</p>
143143
<p>Results are for MFC v4.9.3 (July 2024 release), though numbers have not changed meaningfully since then. Similar performance is also seen for other problem configurations, such as the Euler equations (4 PDEs). All results are for the compiler that gave the best performance. Note:</p><ul>
@@ -249,34 +249,34 @@ <h1><a class="anchor" id="autotoc_md82"></a>
249249
<td class="markdownTableBodyRight">Fujitsu A64FX </td><td class="markdownTableBodyRight">Arm </td><td class="markdownTableBodyRight">CPU </td><td class="markdownTableBodyRight">48 cores </td><td class="markdownTableBodyRight">63 </td><td class="markdownTableBodyLeft">GNU 13.2.0 </td><td class="markdownTableBodyLeft">SBU Ookami </td></tr>
250250
</table>
251251
<p><b>All grind times are in nanoseconds (ns) per grid point (gp) per equation (eq) per right-hand side (rhs) evaluation, so X ns/gp/eq/rhs. Lower is better.</b></p>
252-
<h1><a class="anchor" id="autotoc_md83"></a>
252+
<h1><a class="anchor" id="autotoc_md81"></a>
253253
Weak scaling</h1>
254254
<p>Weak scaling results are obtained by increasing the problem size with the number of processes so that work per process remains constant.</p>
255-
<h2><a class="anchor" id="autotoc_md84"></a>
255+
<h2><a class="anchor" id="autotoc_md82"></a>
256256
AMD MI250X GPU</h2>
257257
<p>MFC weask scales to (at least) 65,536 AMD MI250X GPUs on OLCF Frontier with 96% efficiency. This corresponds to 87% of the entire machine.</p>
258258
<p><img src="../res/weakScaling/frontier.svg" alt="" style="height: 50%; width:50%; border-radius: 10pt pointer-events: none;" class="inline"/></p>
259-
<h2><a class="anchor" id="autotoc_md85"></a>
259+
<h2><a class="anchor" id="autotoc_md83"></a>
260260
NVIDIA V100 GPU</h2>
261261
<p>MFC weak scales to (at least) 13,824 V100 NVIDIA V100 GPUs on OLCF Summit with 97% efficiency. This corresponds to 50% of the entire machine.</p>
262262
<p><img src="../res/weakScaling/summit.svg" alt="" style="height: 50%; width:50%; border-radius: 10pt pointer-events: none;" class="inline"/></p>
263-
<h2><a class="anchor" id="autotoc_md86"></a>
263+
<h2><a class="anchor" id="autotoc_md84"></a>
264264
IBM Power9 CPU</h2>
265265
<p>MFC Weak scales to 13,824 Power9 CPU cores on OLCF Summit to within 1% of ideal scaling.</p>
266266
<p><img src="../res/weakScaling/cpuScaling.svg" alt="" style="height: 50%; width:50%; border-radius: 10pt pointer-events: none;" class="inline"/></p>
267-
<h1><a class="anchor" id="autotoc_md87"></a>
267+
<h1><a class="anchor" id="autotoc_md85"></a>
268268
Strong scaling</h1>
269269
<p>Strong scaling results are obtained by keeping the problem size constant and increasing the number of processes so that work per process decreases.</p>
270-
<h2><a class="anchor" id="autotoc_md88"></a>
270+
<h2><a class="anchor" id="autotoc_md86"></a>
271271
NVIDIA V100 GPU</h2>
272272
<p>The base case utilizes 8 GPUs with one MPI process per GPU for these tests. The performance is analyzed at two problem sizes: 16M and 64M grid points. The "base case" uses 2M and 8M grid points per process.</p>
273-
<h3><a class="anchor" id="autotoc_md89"></a>
273+
<h3><a class="anchor" id="autotoc_md87"></a>
274274
16M Grid Points</h3>
275275
<p><img src="../res/strongScaling/strongScaling16.svg" alt="" style="width: 50%; border-radius: 10pt pointer-events: none;" class="inline"/></p>
276-
<h3><a class="anchor" id="autotoc_md90"></a>
276+
<h3><a class="anchor" id="autotoc_md88"></a>
277277
64M Grid Points</h3>
278278
<p><img src="../res/strongScaling/strongScaling64.svg" alt="" style="width: 50%; border-radius: 10pt pointer-events: none;" class="inline"/></p>
279-
<h2><a class="anchor" id="autotoc_md91"></a>
279+
<h2><a class="anchor" id="autotoc_md89"></a>
280280
IBM Power9 CPU</h2>
281281
<p>CPU strong scaling tests are done with problem sizes of 16, 32, and 64M grid points, with the base case using 2, 4, and 8M cells per process.</p>
282282
<p><img src="../res/strongScaling/cpuStrongScaling.svg" alt="" style="width: 50%; border-radius: 10pt pointer-events: none;" class="inline"/> </p>

documentation/md_getting-started.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -135,13 +135,13 @@
135135
<div class="headertitle"><div class="title">Getting Started</div></div>
136136
</div><!--header-->
137137
<div class="contents">
138-
<div class="textblock"><p><a class="anchor" id="autotoc_md92"></a></p>
139-
<h1><a class="anchor" id="autotoc_md93"></a>
138+
<div class="textblock"><p><a class="anchor" id="autotoc_md90"></a></p>
139+
<h1><a class="anchor" id="autotoc_md91"></a>
140140
Fetching MFC</h1>
141141
<p>You can either download MFC's <a href="https://github.com/MFlowCode/MFC/releases/latest">latest release from GitHub</a> or clone the repository:</p>
142142
<div class="fragment"><div class="line">git clone https://github.com/MFlowCode/MFC.git</div>
143143
<div class="line">cd MFC</div>
144-
</div><!-- fragment --><h1><a class="anchor" id="autotoc_md94"></a>
144+
</div><!-- fragment --><h1><a class="anchor" id="autotoc_md92"></a>
145145
Build Environment</h1>
146146
<p>MFC can be built in multiple ways on various operating systems. Please select your desired configuration from the list bellow:</p>
147147
<details >
@@ -221,7 +221,7 @@ <h1><a class="anchor" id="autotoc_md93"></a>
221221
</div><!-- fragment --><p>They will download the dependencies MFC requires to build itself.</p>
222222
<p></p>
223223
</details>
224-
<h1><a class="anchor" id="autotoc_md95"></a>
224+
<h1><a class="anchor" id="autotoc_md93"></a>
225225
Building MFC</h1>
226226
<p>MFC can be built with support for various (compile-time) features:</p>
227227
<table class="markdownTable">
@@ -250,12 +250,12 @@ <h1><a class="anchor" id="autotoc_md95"></a>
250250
<li>Build MFC using a single thread without MPI, GPU, and Debug support: <code>./mfc.sh build --no-mpi</code>.</li>
251251
<li>Build MFC's <code>simulation</code> code in Debug mode with MPI and GPU support: <code>./mfc.sh build --debug --gpu -t simulation</code>.</li>
252252
</ul>
253-
<h1><a class="anchor" id="autotoc_md96"></a>
253+
<h1><a class="anchor" id="autotoc_md94"></a>
254254
Running the Test Suite</h1>
255255
<p>Run MFC's test suite with 8 threads:</p>
256256
<div class="fragment"><div class="line">./mfc.sh test -j 8</div>
257257
</div><!-- fragment --><p>Please refer to the <a class="el" href="md_testing.html">Testing</a> document for more information.</p>
258-
<h1><a class="anchor" id="autotoc_md97"></a>
258+
<h1><a class="anchor" id="autotoc_md95"></a>
259259
Running an Example Case</h1>
260260
<p>MFC has example cases in the <code>examples</code> folder. You can run such a case interactively using 2 tasks by typing:</p>
261261
<div class="fragment"><div class="line">./mfc.sh run examples/2D_shockbubble/case.py -n 2</div>

documentation/md_papers.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@
135135
<div class="headertitle"><div class="title">Papers</div></div>
136136
</div><!--header-->
137137
<div class="contents">
138-
<div class="textblock"><p><a class="anchor" id="autotoc_md98"></a></p>
138+
<div class="textblock"><p><a class="anchor" id="autotoc_md96"></a></p>
139139
<p>MFC: An open-source high-order multi-component, multi-phase, and multi-scale compressible flow solver. <a href="https://doi.org/10.1016/j.cpc.2020.107396">S. H. Bryngelson, K. Schmidmayer, V. Coralic, K. Maeda, J. Meng, T. Colonius (2021) Computer Physics Communications <b>266</b>, 107396</a></p>
140140
<div class="fragment"><div class="line">@article{Bryngelson_2021,</div>
141141
<div class="line"> title = {{MFC: A}n open-source high-order multi-component, multi-phase, and multi-scale compressible flow solver},</div>

documentation/md_readme.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -135,8 +135,8 @@
135135
<div class="headertitle"><div class="title">Documentation</div></div>
136136
</div><!--header-->
137137
<div class="contents">
138-
<div class="textblock"><p><a class="anchor" id="autotoc_md99"></a></p>
139-
<h1><a class="anchor" id="autotoc_md100"></a>
138+
<div class="textblock"><p><a class="anchor" id="autotoc_md97"></a></p>
139+
<h1><a class="anchor" id="autotoc_md98"></a>
140140
User Documentation</h1>
141141
<ul>
142142
<li><a class="el" href="md_getting-started.html">Getting Started</a></li>
@@ -149,7 +149,7 @@ <h1><a class="anchor" id="autotoc_md100"></a>
149149
<li><a class="el" href="md_authors.html">MFC's Authors</a></li>
150150
<li><a class="el" href="md_references.html">References</a></li>
151151
</ul>
152-
<h1><a class="anchor" id="autotoc_md101"></a>
152+
<h1><a class="anchor" id="autotoc_md99"></a>
153153
Code/API Documentation</h1>
154154
<p>MFC's three codes have their own documentation:</p>
155155
<ul>

documentation/md_references.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@
135135
<div class="headertitle"><div class="title">References</div></div>
136136
</div><!--header-->
137137
<div class="contents">
138-
<div class="textblock"><p><a class="anchor" id="autotoc_md102"></a></p>
138+
<div class="textblock"><p><a class="anchor" id="autotoc_md100"></a></p>
139139
<ul>
140140
<li><a class="anchor" id="Allaire02"></a>Allaire, G., Clerc, S., and Kokh, S. (2002). A five-equation model for the simulation of interfaces between compressible fluids. Journal of Computational Physics, 181(2):577–616.</li>
141141
</ul>

0 commit comments

Comments
 (0)