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
0bd764cb
Commit
0bd764cb
authored
11 months ago
by
Georgiana Mania
Browse files
Options
Downloads
Patches
Plain Diff
add content in slide 4
parent
a02df1b7
No related branches found
Branches containing commit
No related tags found
1 merge request
!72
Draft: Compute devices lecture
Pipeline
#68931
passed
11 months ago
Stage: test
Stage: build
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lectures/parallelism/slides.qmd
+7
-4
7 additions, 4 deletions
lectures/parallelism/slides.qmd
with
7 additions
and
4 deletions
lectures/parallelism/slides.qmd
+
7
−
4
View file @
0bd764cb
...
...
@@ -30,10 +30,8 @@ task-parallelism we should probably give a real definition and different flavour
::: {.column width="50%"}
* 1d Tsunami equation
* Korteweg–De Vries equation
* Korteweg–De Vries equation
- "PDE modeling waves on shallow water surfaces" [Wikipedia](https://en.wikipedia.org/wiki/Korteweg%E2%80%93De_Vries_equation)
* Discretization not numerically accurate
* [Wikipedia](https://en.wikipedia.org/wiki/Korteweg%E2%80%93De_Vries_equation)
* FIXME
:::
::: {.column width="50%"}
...
...
@@ -70,6 +68,12 @@ FIXME
```
## Hands-on Session! {background-color=var(--dark-bg-color) .leftalign}
1. Load the GNU compliler and compile the code on Levante
```bash
module load gcc
g++ main.cpp -o main
```
1. Compile and run the example serially. Use `time ./serial.x` to time the execution.
23. Compile and run the example using OpenMP. Use `OMP_NUM_THREADS=2 time ./omp.x` to time the execution.
...
...
@@ -212,7 +216,6 @@ Wikipedia
:::
## Types of parallelism
* **Data-level parallelism** supported by hardware through
* instruction-level parallelism (e.g. pipelining)
...
...
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