HLRS Vlad: added to Computer Resources
This commit is contained in:
@@ -353,33 +353,45 @@ This simulation cycle is repeated until the number of pre-defined time steps is
|
|||||||
|
|
||||||
For this project we are using the Vlad code.
|
For this project we are using the Vlad code.
|
||||||
In its essence, it iteratively solves the one-dimensional Vlasov-Poisson system self-consistently
|
In its essence, it iteratively solves the one-dimensional Vlasov-Poisson system self-consistently
|
||||||
|
and adds changes due to atomic and molecular processes
|
||||||
to find the time evolution of the plasmas phase space density and electric field.
|
to find the time evolution of the plasmas phase space density and electric field.
|
||||||
|
Different boundary conditions can be selected to model different physical problems,
|
||||||
|
like periodic boundaries or any mix of Dirichlet and Neumann boundaries.
|
||||||
|
|
||||||
The code utilizes the blitz++, PETSc, HDF5 and jansson libraries.
|
The Vlad code utilizes the blitz++, PETSc, HDF5 and jansson libraries.
|
||||||
Output is written fully in parallel, using the same HDF5 file for fields and currents
|
Output is written fully in parallel, using the same HDF5 file for fields and currents
|
||||||
throughout the whole simulation.
|
throughout the whole simulation.
|
||||||
The input can be read from a json file or from a HDF5 file to restart a previous simulation.
|
The input can be read from a json file or from a HDF5 file to restart a previous simulation.
|
||||||
|
Compilation is done using the GCC compiler.
|
||||||
|
|
||||||
The problem size is mainly determined by the phase space density, which is discretely stored in
|
The problem size is mainly determined by the phase space density, which is discretely stored in
|
||||||
a two-dimensional array, holding the density of particles in one spatial and one velocity dimension.
|
a two-dimensional array, holding the density of particles in one spatial and one velocity dimension.
|
||||||
(A numeric integration of the pure Vlasov equation without atomic effects
|
All arrays are managed by the blitz++ library.
|
||||||
would then lead to linearly increasing computation time if the spatial or velocity resolution is increased.
|
Because the KATRIN WGTS is very long (16\,m) compared to the plasma length scale,
|
||||||
Meanwhile the solution time for the Poisson equation only scales with the number of grid cells in space-direction.
|
that determines the spatial resolution (ca. 0.06\,cm),
|
||||||
However, the computation time grows with the order of 2 when the velocity resolution grows,
|
the z-direction has to contain at least $3\times10^4$ grid cells.
|
||||||
if one decides to add of atomic effects like beta decay, ionization and recombination.)
|
|
||||||
|
|
||||||
The KATRIN WGTS is very long (16\,m) compared to the plasma length scale
|
|
||||||
that determines the maximum spatial resolution (ca. 0.06\,cm).
|
|
||||||
This made it obvious that a parallelization in the spatial direction is necessary.
|
This made it obvious that a parallelization in the spatial direction is necessary.
|
||||||
It was implemented by using the message passing interface (MPI) exclusively without internal
|
It was implemented by using the message passing interface (MPI) exclusively without internal
|
||||||
threading and without hybrid parallelization.
|
threading and without hybrid parallelization.
|
||||||
With that, all arrays across the space-dimension are cut in equally-sized sub-arrays, distributed over all CPUs.
|
On local computing clusters the OpenMPI implementation is used.
|
||||||
|
The code has been parallized to not utilize any GPU resources.
|
||||||
|
However, it is technically possible and planned to do some parts of the calculation on GPUs in the future.
|
||||||
|
At the moment, all arrays across the space-dimension are cut in equally-sized sub-arrays,
|
||||||
|
distributed over all CPUs.
|
||||||
The velocity-dimension is not split up by this,
|
The velocity-dimension is not split up by this,
|
||||||
so that each CPU gets a slice over the whole velocity domain, but only a few z-values for 2d arrays.
|
so that each CPU gets a slice over the whole velocity domain, but only a few z-values for 2d arrays.
|
||||||
This minimizes CPU communication to the exchange of ghost cells between the sub-arrays and
|
This minimizes CPU communication to the exchange of ghost cells between the sub-arrays and
|
||||||
allows parallelization of the Vlasov- and Poisson-solver at the same time.
|
allows parallelization of the Vlasov- and Poisson-solver at the same time.
|
||||||
The parallel solution of the Poisson equation is mainly taken care of by the linear PETSc library.
|
The parallel solution of the Poisson equation is mainly taken care of by the linear PETSc library.
|
||||||
|
|
||||||
|
The code has been tested by doing several simulations on the bwForCluster BinAC before.
|
||||||
|
%(A numeric integration of the pure Vlasov equation without atomic effects
|
||||||
|
%would then lead to linearly increasing computation time if the spatial or velocity resolution is increased.
|
||||||
|
%Meanwhile the solution time for the Poisson equation only scales with the number of grid cells in space-direction.
|
||||||
|
%However, the computation time grows with the order of 2 when the velocity resolution grows,
|
||||||
|
%if one decides to add of atomic effects like beta decay, ionization and recombination.)
|
||||||
|
|
||||||
|
|
||||||
%{\it \textbf{Important:} please consider the corresponding technical guidelines and requirements (e.g. required minimal code scalability, memory restrictions, etc.) of the chosen machine(s)!}\\
|
%{\it \textbf{Important:} please consider the corresponding technical guidelines and requirements (e.g. required minimal code scalability, memory restrictions, etc.) of the chosen machine(s)!}\\
|
||||||
|
|
||||||
%\textit{If you use third-party codes, include}
|
%\textit{If you use third-party codes, include}
|
||||||
@@ -451,39 +463,18 @@ The parallel solution of the Poisson equation is mainly taken care of by the lin
|
|||||||
\setlength{\tabcolsep}{4pt}
|
\setlength{\tabcolsep}{4pt}
|
||||||
\renewcommand{\arraystretch}{1.2}
|
\renewcommand{\arraystretch}{1.2}
|
||||||
\begin{tabular}{llcccccc} \hline\hline
|
\begin{tabular}{llcccccc} \hline\hline
|
||||||
Sub-project &
|
Sub-project & Type & Problem & \# runs & \# steps/ & Wall time/ & \# cores/ & Total \\
|
||||||
Type &
|
& of run & size & & run & step [seconds] & run & [core-h] \\
|
||||||
Problem &
|
|
||||||
\# runs &
|
|
||||||
\# steps/ &
|
|
||||||
Wall time/ &
|
|
||||||
\# cores/ &
|
|
||||||
Total \\
|
|
||||||
&
|
|
||||||
of run &
|
|
||||||
size &
|
|
||||||
&
|
|
||||||
run &
|
|
||||||
step [hours] &
|
|
||||||
run &
|
|
||||||
[core-h] \\
|
|
||||||
\hline\hline
|
\hline\hline
|
||||||
Sub-proj. 1 &
|
Sub-proj. 1 & 1 & $32768\times500$ & 4 & $2\times 10^7$ & 0.0864 & 2048 & $3.9\times 10^6$ \\
|
||||||
Preproc. &
|
~ & 1 & $32768\times1000$ & 2 & $1\times 10^7$ & 0.3456 & 4096 & $7.8\times 10^6$ \\
|
||||||
P1 &
|
Sub-proj. 2 & 1 & $16384\times500$ & 10 & $1\times 10^6$ & 0.3456 & 2048 & \\
|
||||||
R1 &
|
~ & 2 & $16384\times1000$ & 2 & $1\times 10^6$ & 0.3456 & 2048 & \\
|
||||||
S1 &
|
~ & 3 & $16384\times5000$ & 2 & $1\times 10^6$ & 0.3456 & 2048 & \\
|
||||||
W1 &
|
~ & 3 & $16384\times10000$ & 2 & $1\times 10^6$ & 0.3456 & 2048 & \\
|
||||||
C1 &
|
Sub-proj. 3 & 1 & $16384\times500$ & 5 & $1\times 10^6$ & 0.3456 & 2048 & \\
|
||||||
R1$\cdot$S1$\cdot$W1$\cdot$C1 \\
|
|
||||||
~ &
|
|
||||||
Type 1 &
|
|
||||||
P2 &
|
|
||||||
R2 &
|
|
||||||
S2 &
|
|
||||||
W2 &
|
|
||||||
C2 &
|
|
||||||
R2$\cdot$S2$\cdot$W2$\cdot$C2 \\
|
|
||||||
$\cdots$ &\multicolumn{7}{c}{$\cdots$}\\
|
$\cdots$ &\multicolumn{7}{c}{$\cdots$}\\
|
||||||
\hline\hline
|
\hline\hline
|
||||||
TOTAL & & & & & & & sum of above\\
|
TOTAL & & & & & & & sum of above\\
|
||||||
|
|||||||
Reference in New Issue
Block a user