Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
openmp-lab-exercises
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container 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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pdc-summer-school
openmp-lab-exercises
Commits
39ca117b
Commit
39ca117b
authored
Aug 14, 2019
by
Kjartan Thor Wikfeldt
Browse files
Options
Downloads
Patches
Plain Diff
generalize project/reservation and add link to source codes
parent
bb1de3b8
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
intro_lab/README.md
+3
-2
3 additions, 2 deletions
intro_lab/README.md
with
3 additions
and
2 deletions
intro_lab/README.md
+
3
−
2
View file @
39ca117b
...
@@ -39,7 +39,7 @@ ftn -fpp -O2 -openmp -lm name_source.f90 -o name_exec
...
@@ -39,7 +39,7 @@ ftn -fpp -O2 -openmp -lm name_source.f90 -o name_exec
To run your code on Beskow, you will need to have an interactive allocation:
To run your code on Beskow, you will need to have an interactive allocation:
```
```
salloc -N 1 -t 4:00:00 -A
edu18.summer --reservation=summer-2018-08-15
salloc -N 1 -t 4:00:00 -A
<name-of-allocation> --reservation=<name-of-reservation>
```
```
To set the number of threads, you need to set the OpenMP environment variable:
To set the number of threads, you need to set the OpenMP environment variable:
...
@@ -98,7 +98,8 @@ Questions:
...
@@ -98,7 +98,8 @@ Questions:
_Concepts: Parallel, default data environment, runtime library calls_
_Concepts: Parallel, default data environment, runtime library calls_
Here we are going to implement a first parallel version of the pi.c / pi.f90
Here we are going to implement a first parallel version of the
[
pi.c
](
pi.c
)
/
[
pi.f90
](
pi.f90
)
code to calculate the value of
π
using the parallel construct.
code to calculate the value of
π
using the parallel construct.
The figure below shows the numerical technique, we are going to use to calculate
π
.
The figure below shows the numerical technique, we are going to use to calculate
π
.
...
...
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