Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
lecture materials
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
generic software skills
lecture materials
Commits
6f85cd37
Commit
6f85cd37
authored
10 months ago
by
Claudia Frauen
Browse files
Options
Downloads
Patches
Plain Diff
Added OpenMP - MPI comparison slide
parent
b6de6321
No related branches found
No related tags found
1 merge request
!72
Draft: Compute devices lecture
Pipeline
#70694
passed
10 months ago
Stage: test
Stage: build
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lectures/hardware/slides.qmd
+15
-0
15 additions, 0 deletions
lectures/hardware/slides.qmd
with
15 additions
and
0 deletions
lectures/hardware/slides.qmd
+
15
−
0
View file @
6f85cd37
...
...
@@ -116,6 +116,21 @@ If we want to scale beyond one node, what do we need in our example?
* Often used for boundary exchange
* A lot of the details are beyond the scope of this lecture.
## OpenMP vs MPI
:::{.smaller}
| OpenMP | MPI |
| ------ | --- |
| shared memory | distributed memory |
| can't scale beyond one node | can scale across many nodes |
| uses independent threads| uses ranks that need to communicate with each other |
| pragmas inserted in the code tell the compiler where to parallelise | API to vendor specific libraries |
* OpenMPI is a MPI implementation and has nothing to do with OpenMP
:::
## Collectives
* Collective communication that involves a group of processes (ranks)
* Examples: broadcast, gather, scatter, reduction ...
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment