Skip to content

Tutorial Guide for Running Parallelization-based Software in Cheaha #768

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 19 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .vscode/markdown.code-snippets
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,15 @@
],
"description": "Disables warning Markdown Lint MD046 for the selected block."
},
"Disable Markdown Lint MD045 for a DrawIO Diagram": {
"prefix": "md045 disable",
"body": [
"<!-- markdownlint-disable MD045 -->",
"$TM_SELECTED_TEXT",
"<!-- markdownlint-enable MD045 -->"
],
"description": "Disables warning Markdown Lint MD045 for the selected DrawIO Diagram."
},
"Stub Page": {
"prefix": "stub",
"body": [
Expand Down
1 change: 1 addition & 0 deletions build_env.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ dependencies:
- conda-forge::yaml=0.2.5
- conda-forge::yamllint=1.37.1
- pip:
- mkdocs-drawio==1.11.2
- mkdocs-gen-files==0.5.0
- mkdocs-glightbox==0.3.7
- mkdocs-git-revision-date-localized-plugin==1.2.6
Expand Down
8 changes: 8 additions & 0 deletions docs/cheaha/software/res/parallelism_gromacs_cpu.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
"tmpi","omp","Execution Time","Speedup"
"1","1","5372.63","1"
"1","24","349.95","15.35"
"2","12","401.09","13.39"
"4","6","370.49","14.50"
"6","4","354.50","15.16"
"12","2","346.44","15.51"
"24","1","323.80","16.59"
5 changes: 5 additions & 0 deletions docs/cheaha/software/res/parallelism_gromacs_gpu.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
"GPU","tmpi","omp","Execution Time","Speedup","Partition"
"1","1","1","230.62","23.30","amperenodes"
"2","1","1","230.30","23.33","amperenodes"
"1","1","1","337.53","15.92","pascalnodes"
"2","1","1","346.84","15.49","pascalnodes"
9 changes: 9 additions & 0 deletions docs/cheaha/software/res/parallelism_gromacs_gpu_hybrid.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
"GPU","tmpi","omp","Execution Time","Speedup","Partition"
"1","1","2","144.95","37.07","amperenodes"
"1","1","4","92.87","57.85","amperenodes"
"2","2","2","270.63","19.85","amperenodes"
"2","2","4","167.00","32.17","amperenodes"
"1","1","2","222.63","24.13","pascalnodes"
"1","1","4","176.62","30.42","pascalnodes"
"2","2","2","416.54","12.90","pascalnodes"
"2","2","4","261.52","20.54","pascalnodes"
233 changes: 233 additions & 0 deletions docs/cheaha/tutorial/images/parallelism_parallel_execution.drawio

Large diffs are not rendered by default.

106 changes: 106 additions & 0 deletions docs/cheaha/tutorial/images/parallelism_serial_execution.drawio
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
<mxfile host="app.diagrams.net" agent="Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36" version="25.0.3">
<diagram name="Page-1" id="FyunNXShFwi7xVi1bjig">
<mxGraphModel dx="954" dy="639" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="0">
<root>
<mxCell id="0" />
<mxCell id="1" parent="0" />
<mxCell id="ieEiJyJ8NVLQRWqODvOp-23" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="ieEiJyJ8NVLQRWqODvOp-24" target="ieEiJyJ8NVLQRWqODvOp-44">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="ieEiJyJ8NVLQRWqODvOp-24" value="Large Scale Simulation" style="rounded=0;whiteSpace=wrap;html=1;fontSize=14;fontStyle=1;flipV=1;flipH=0;labelBackgroundColor=none;" vertex="1" parent="1">
<mxGeometry x="50" y="480" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="ieEiJyJ8NVLQRWqODvOp-25" value="" style="endArrow=classic;html=1;rounded=0;fontSize=13;labelBackgroundColor=none;fontColor=default;" edge="1" parent="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="170" y="509.5" as="sourcePoint" />
<mxPoint x="240" y="510" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="ieEiJyJ8NVLQRWqODvOp-26" value="CPU Core 1" style="shape=process;whiteSpace=wrap;html=1;backgroundOutline=1;fontSize=14;fontStyle=1;flipV=1;flipH=0;labelBackgroundColor=none;" vertex="1" parent="1">
<mxGeometry x="676" y="480" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="ieEiJyJ8NVLQRWqODvOp-27" value="" style="endArrow=classic;html=1;rounded=0;fontSize=13;labelBackgroundColor=none;fontColor=default;" edge="1" parent="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="603" y="509.5" as="sourcePoint" />
<mxPoint x="673" y="510" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="ieEiJyJ8NVLQRWqODvOp-28" value="" style="shape=table;startSize=0;container=1;collapsible=0;childLayout=tableLayout;flipV=1;flipH=0;labelBackgroundColor=none;fontStyle=1" vertex="1" parent="1">
<mxGeometry x="260" y="490" width="360" height="40" as="geometry" />
</mxCell>
<mxCell id="ieEiJyJ8NVLQRWqODvOp-29" value="" style="shape=tableRow;horizontal=0;startSize=0;swimlaneHead=0;swimlaneBody=0;top=0;left=0;bottom=0;right=0;collapsible=0;dropTarget=0;fillColor=none;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;labelBackgroundColor=none;fontStyle=1" vertex="1" parent="ieEiJyJ8NVLQRWqODvOp-28">
<mxGeometry width="360" height="40" as="geometry" />
</mxCell>
<mxCell id="ieEiJyJ8NVLQRWqODvOp-30" value="Task 16" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;overflow=hidden;fillColor=none;top=0;left=0;bottom=0;right=0;pointerEvents=1;labelBackgroundColor=none;fontStyle=1" vertex="1" parent="ieEiJyJ8NVLQRWqODvOp-29">
<mxGeometry width="60" height="40" as="geometry">
<mxRectangle width="60" height="40" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="ieEiJyJ8NVLQRWqODvOp-31" value="------" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;overflow=hidden;fillColor=none;top=0;left=0;bottom=0;right=0;pointerEvents=1;labelBackgroundColor=none;fontStyle=1" vertex="1" parent="ieEiJyJ8NVLQRWqODvOp-29">
<mxGeometry x="60" width="60" height="40" as="geometry">
<mxRectangle width="60" height="40" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="ieEiJyJ8NVLQRWqODvOp-32" value="Task 4" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;overflow=hidden;fillColor=none;top=0;left=0;bottom=0;right=0;pointerEvents=1;labelBackgroundColor=none;fontStyle=1" vertex="1" parent="ieEiJyJ8NVLQRWqODvOp-29">
<mxGeometry x="120" width="60" height="40" as="geometry">
<mxRectangle width="60" height="40" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="ieEiJyJ8NVLQRWqODvOp-33" value="Task 3" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;overflow=hidden;fillColor=none;top=0;left=0;bottom=0;right=0;pointerEvents=1;labelBackgroundColor=none;fontStyle=1" vertex="1" parent="ieEiJyJ8NVLQRWqODvOp-29">
<mxGeometry x="180" width="60" height="40" as="geometry">
<mxRectangle width="60" height="40" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="ieEiJyJ8NVLQRWqODvOp-34" value="Task 2" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;overflow=hidden;fillColor=none;top=0;left=0;bottom=0;right=0;pointerEvents=1;labelBackgroundColor=none;fontStyle=1" vertex="1" parent="ieEiJyJ8NVLQRWqODvOp-29">
<mxGeometry x="240" width="60" height="40" as="geometry">
<mxRectangle width="60" height="40" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="ieEiJyJ8NVLQRWqODvOp-35" value="Task 1" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;overflow=hidden;fillColor=none;top=0;left=0;bottom=0;right=0;pointerEvents=1;labelBackgroundColor=none;fontStyle=1" vertex="1" parent="ieEiJyJ8NVLQRWqODvOp-29">
<mxGeometry x="300" width="60" height="40" as="geometry">
<mxRectangle width="60" height="40" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="ieEiJyJ8NVLQRWqODvOp-36" value="" style="shape=table;startSize=0;container=1;collapsible=0;childLayout=tableLayout;flipV=1;flipH=0;dashed=1;dashPattern=1 4;labelBackgroundColor=none;fontStyle=1" vertex="1" parent="1">
<mxGeometry x="260" y="460" width="360" height="17" as="geometry" />
</mxCell>
<mxCell id="ieEiJyJ8NVLQRWqODvOp-37" value="" style="shape=tableRow;horizontal=0;startSize=0;swimlaneHead=0;swimlaneBody=0;top=0;left=0;bottom=0;right=0;collapsible=0;dropTarget=0;fillColor=none;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;labelBackgroundColor=none;fontStyle=1" vertex="1" parent="ieEiJyJ8NVLQRWqODvOp-36">
<mxGeometry width="360" height="17" as="geometry" />
</mxCell>
<mxCell id="ieEiJyJ8NVLQRWqODvOp-38" value="t16" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;overflow=hidden;fillColor=none;top=0;left=0;bottom=0;right=0;pointerEvents=1;labelBackgroundColor=none;fontStyle=1" vertex="1" parent="ieEiJyJ8NVLQRWqODvOp-37">
<mxGeometry width="60" height="17" as="geometry">
<mxRectangle width="60" height="17" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="ieEiJyJ8NVLQRWqODvOp-39" value="------" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;overflow=hidden;fillColor=none;top=0;left=0;bottom=0;right=0;pointerEvents=1;labelBackgroundColor=none;fontStyle=1" vertex="1" parent="ieEiJyJ8NVLQRWqODvOp-37">
<mxGeometry x="60" width="60" height="17" as="geometry">
<mxRectangle width="60" height="17" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="ieEiJyJ8NVLQRWqODvOp-40" value="t4" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;overflow=hidden;fillColor=none;top=0;left=0;bottom=0;right=0;pointerEvents=1;labelBackgroundColor=none;fontStyle=1" vertex="1" parent="ieEiJyJ8NVLQRWqODvOp-37">
<mxGeometry x="120" width="60" height="17" as="geometry">
<mxRectangle width="60" height="17" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="ieEiJyJ8NVLQRWqODvOp-41" value="t3" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;overflow=hidden;fillColor=none;top=0;left=0;bottom=0;right=0;pointerEvents=1;labelBackgroundColor=none;fontStyle=1" vertex="1" parent="ieEiJyJ8NVLQRWqODvOp-37">
<mxGeometry x="180" width="60" height="17" as="geometry">
<mxRectangle width="60" height="17" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="ieEiJyJ8NVLQRWqODvOp-42" value="t2" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;overflow=hidden;fillColor=none;top=0;left=0;bottom=0;right=0;pointerEvents=1;labelBackgroundColor=none;fontStyle=1" vertex="1" parent="ieEiJyJ8NVLQRWqODvOp-37">
<mxGeometry x="240" width="60" height="17" as="geometry">
<mxRectangle width="60" height="17" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="ieEiJyJ8NVLQRWqODvOp-43" value="t1" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;overflow=hidden;fillColor=none;top=0;left=0;bottom=0;right=0;pointerEvents=1;labelBackgroundColor=none;fontStyle=1" vertex="1" parent="ieEiJyJ8NVLQRWqODvOp-37">
<mxGeometry x="300" width="60" height="17" as="geometry">
<mxRectangle width="60" height="17" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="ieEiJyJ8NVLQRWqODvOp-44" value="Large Scale Simulation" style="rounded=0;whiteSpace=wrap;html=1;fontSize=14;fontStyle=1;flipV=1;flipH=0;labelBackgroundColor=none;" vertex="1" parent="1">
<mxGeometry x="250" y="480" width="120" height="60" as="geometry" />
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>
7 changes: 7 additions & 0 deletions docs/cheaha/tutorial/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,10 @@ Have you encountered problems while using Anaconda on Cheaha? We have provided t
Below is a list of Tutorials we currently have Using Anaconda on Cheaha;

1. Using PyTorch and TensorFlow with Anaconda on Cheaha, click [here.](../tutorial/pytorch_tensorflow.md)

## Getting Started With Parallelism on Cheaha

The tutorial covers usage of the following parallelization-based software installed in Cheaha. To use parllelization based software on Cheaha, [click here](./parallelism.md).

1. [Gromacs](https://www.gromacs.org/): Used for High-performance molecular dynamics and analysis.
1. [Quantum Expresso](https://www.quantum-espresso.org/): Used for electronic-structure calculations and materials modeling.
Loading
Loading