Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-pdelab-tutorials
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
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
PDELab
dune-pdelab-tutorials
Commits
8f6bb3c1
Commit
8f6bb3c1
authored
9 years ago
by
René Heß
Browse files
Options
Downloads
Patches
Plain Diff
[Bugfix] Fix typos
parent
a5b28e11
No related branches found
Branches containing commit
No related tags found
1 merge request
!12
[Bugfix] Fix typos
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tutorial01/exercise/doc/exercise01.tex
+1
-1
1 addition, 1 deletion
tutorial01/exercise/doc/exercise01.tex
tutorial06/exercise/doc/exercise06.tex
+10
-8
10 additions, 8 deletions
tutorial06/exercise/doc/exercise06.tex
with
11 additions
and
9 deletions
tutorial01/exercise/doc/exercise01.tex
+
1
−
1
View file @
8f6bb3c1
...
...
@@ -169,7 +169,7 @@ subsampling=0
\lstinline
{
nitschenonlinearpoissonfem
}
instead of
\lstinline
{
nonlinearpoissonfem
}
.
\item
In the file
\lstinline
{
driver.hh
}
you have to turn of the
constraints. The code
to this
is already ther
e
you just have to
constraints. The code is already ther you just have to
comment/uncomment the parts marked with
\begin{lstlisting}
//== Exercise 2
{
...
...
This diff is collapsed.
Click to expand it.
tutorial06/exercise/doc/exercise06.tex
+
10
−
8
View file @
8f6bb3c1
...
...
@@ -76,7 +76,7 @@ mpirun -np 2 ./exercise06-1
and make some simple changes.
\begin{enumerate}
\item
First run the code from
\lstinline
{
exercise06-1
}
and try out
different setting. Don't forget to use
\lstinline
{
mpirun
}
if you
different setting
s
. Don't forget to use
\lstinline
{
mpirun
}
if you
want to use more than one process.
\item
Add a timer to the program and meassure how long it takes to
solve the nonlinear system with newton. In tutorial00 you can see
...
...
@@ -89,8 +89,9 @@ mpirun -np 2 ./exercise06-1
\begin{lstlisting}
auto maxTime = gv.comm().max(time);
\end{lstlisting}
This takes the maximum of the values of time from all processes.
\item
You could also try different solver backends
This takes the maximum of the values of time from all
processes. Compare parallel and sequential times.
\item
You could also try different solver backends.
\end{enumerate}
\end{Exercise}
...
...
@@ -135,7 +136,7 @@ gv.communicate(dh,Dune::All_All_Interface,
but we don't need that for completing the exercise.
\end{itemize}
Our goal is to communicate the rank stored in the data vector to the
other process in overlap regions. Right now the
other process in
the
overlap regions. Right now the
\lstinline
{
ExampleDataHandle
}
on top of the file does not
communicate anything. Let's change that!
...
...
@@ -167,10 +168,11 @@ mpirun -np 2 ./exercise06-2
[communication]
type = 5
\end{lstlisting}
Use the program output and find out where communication
happens. Drawing the grid with overlap is highly recommended. When
you know what's going on try different codimensions or larger
grids with more overlap.
Find out where communication happens for different communication
interfaces by looking at the program output and the comments in
the source code. Drawing the grid with overlap is highly
recommended. When you know what's going on try different
codimensions or larger grids with more overlap.
\end{enumerate}
\end{Exercise}
...
...
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