Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
dumux-repositories
dumux
Commits
b0137f18
Commit
b0137f18
authored
Dec 04, 2018
by
Utz
Committed by
Martin Schneider
Dec 18, 2018
Browse files
Finish the parallel and the input/output section.
parent
b411ac0a
Changes
2
Hide whitespace changes
Inline
Side-by-side
doc/handbook/5_inputoutput.tex
View file @
b0137f18
...
...
@@ -147,8 +147,8 @@ Dumux allows to write out simulation results via the vtkwirter.
For every print out step, a single *.vtu file is created. For parallel simulations one file
per printoutstep is generated for each processor.
Time step information and files are stored in a *.pvd file.
The *.pvd file groups the singel *.vtu file and contains additionaly the timestep information.
Also it is the main file for the visuali
az
ion with paraview.
The *.pvd file groups the singel *.vtu file
s
and contains additionaly the timestep information.
Also it is the main file for the visuali
sat
ion with paraview.
The vtk-file format is also supported by other common visualisation programms like Visit and Tecplot.
\subsubsection
{
Gnuplot interface
}
...
...
doc/handbook/5_parallel.tex
View file @
b0137f18
...
...
@@ -8,7 +8,7 @@ computing clusters.
There are different concepts and methods for parallel programming, they are
often grouped in
\textit
{
shared-memory
}
and
\textit
{
distributed-memory
}
apporaches. The parallelization in
\Dumux
is based on the
\textit
{
Message Passing Interface
}
(MPI), which is usually called MPI parallelization.
\textit
{
Message Passing Interface
}
(MPI), which is usually called MPI parallelization
(distributed-memory approach)
.
It is the MPI parallelization that allows the user to run
\Dumux
applications in parallel on a desktop computer, the users laptop or
large high performance clusters. However, the chosen
\Dumux
...
...
@@ -32,12 +32,12 @@ must be installed on the system and all \Dune modules and \Dumux must be recompi
\subsection
{
Prepare an Parallel Application
}
Not all parts of
\Dumux
can be used in parallel. One example are the linear solvers
of the sequential backend. However, with the AMG backend
\Dumux
provides
a parallel solver backend based on Algebraic MultiGrid (AMG) that can be used in
a parallel solver backend based on Algebraic Multi
Grid (AMG) that can be used in
parallel.
If an application uses not allready the AMG backend, the
backend must be switched by the user to run the application also in parallel.
First, the header files for the parallel AMG
B
ackend must be included
First, the header files for the parallel AMG
b
ackend must be included
.
\begin{lstlisting}
[style=DumuxCode]
#include <dumux/linear/amgbackend.hh>
...
...
@@ -65,7 +65,7 @@ The parallel simulation is started with the \textbf{mpirun} command.
mpirun -np <n
_
cores> <executable
_
name>
\end{lstlisting}
\textit
{
np
}
sets the number of cores
{
n
\_
cores
}
that should be used for the
\textit
{
np
}
sets the number of cores
(
\texttt
{
n
\_
cores
}
)
that should be used for the
computation. On a cluster you usually have to use a queuing system (e.g. slurm) to
submit a job.
...
...
Timo Koch
@timok
mentioned in commit
a47c325a
·
Dec 18, 2018
mentioned in commit
a47c325a
mentioned in commit a47c325a10eca6ea83d1b420584b0925f9a4de2f
Toggle commit list
Timo Koch
@timok
mentioned in merge request
!1428 (merged)
·
Dec 18, 2018
mentioned in merge request
!1428 (merged)
mentioned in merge request !1428
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment