Commit da06e04d authored by Matthieu Boileau's avatar Matthieu Boileau
Browse files

Merge branch 'master' of gitlab.math.unistra.fr:patapon/patapon

parents 72c1b75f 48bf31ee
......@@ -1924,6 +1924,15 @@ MRREVIEWER = {Philip D. Loewen},
Year = {2015},
Bdsk-Url-1 = {https://tel.archives-ouvertes.fr/tel-01132856}}
@incollection{helluy2016asynchronous,
title={Asynchronous OpenCL/MPI numerical simulations of conservation laws},
author={Helluy, Philippe and Strub, Thomas and Massaro, Michel and Roberts, Malcolm},
booktitle={Software for Exascale Computing-SPPEXA 2013-2015},
pages={547--565},
year={2016},
publisher={Springer}
}
@unpublished{helluy:hal-01134222,
Author = {Strub, Thomas and Helluy, Philippe and Massaro, Michel and Roberts, Malcolm},
File = {helluy-iwocl-2015.pdf:https\://hal.archives-ouvertes.fr/hal-01134222/file/helluy-iwocl-2015.pdf:PDF},
......
#LyX 2.2 created this file. For more info see http://www.lyx.org/
\lyxformat 508
#LyX 2.3 created this file. For more info see http://www.lyx.org/
\lyxformat 544
\begin_document
\begin_header
\save_transient_properties true
\origin unavailable
\textclass amsart
\textclass svmult
\begin_preamble
% !TeX document-id = {b2f719dd-15e9-4da9-bfb8-3275215cc85d}
\usepackage{babel}
%\usepackage{babel}
\usepackage{xspace}
%\usepackage{amssymb}
%\usepackage{wasysym}
......@@ -42,13 +42,10 @@
%\newcommand{\vvec}{\ensuremath{\text{v}}\xspace}
%\newcommand{\n}{\ensuremath{\vec n}\xspace}
%\newcommand{\x}{\ensuremath{\vec x}\xspace}
% Added by lyx2lyx
\renewcommand{\textendash}{--}
\renewcommand{\textemdash}{---}
\providecommand{\pgfsyspdfmark}[3]{}
\end_preamble
\use_default_options false
\begin_modules
theorems-ams
eqs-within-sections
figs-within-sections
\end_modules
......@@ -67,6 +64,8 @@ figs-within-sections
\font_osf false
\font_sf_scale 100 100
\font_tt_scale 100 100
\use_microtype false
\use_dash_ligatures true
\graphics default
\default_output_format default
\output_sync 0
......@@ -96,6 +95,7 @@ figs-within-sections
\suppress_date false
\justification true
\use_refstyle 0
\use_minted 0
\index Index
\shortcut idx
\color #008000
......@@ -108,7 +108,10 @@ figs-within-sections
\tocdepth 3
\paragraph_separation skip
\defskip smallskip
\quotes_language english
\is_math_indent 0
\math_numbering_side default
\quotes_style english
\dynamic_quotes 0
\papercolumns 1
\papersides 1
\paperpagestyle default
......@@ -138,10 +141,14 @@ Emmanuel Franck, Philippe Helluy
Christian Klingenberg, Lukas Tannhaüser
\end_layout
\begin_layout Address
\begin_layout Institute
Observatoire de Strasbourg, CEA, IRMA, Inria Tonus, University of Würzburg
\end_layout
\begin_layout ChapAuthor
Philippe Helluy
\end_layout
\begin_layout Abstract
This paper is devoted to the simulation of MHD flows with complex structures.
This kind flows present instabilities that generate shock waves.
......@@ -179,6 +186,7 @@ The MagnetoHydroDynamic (MHD) system is a fundamental model used in many
\begin_inset CommandInset citation
LatexCommand cite
key "dedner2002hyperbolic"
literal "true"
\end_inset
......@@ -193,6 +201,7 @@ We propose a simple scheme, based on an abstract kinetic interpretation,
\begin_inset CommandInset citation
LatexCommand cite
key "bouchut1999construction"
literal "true"
\end_inset
......@@ -200,6 +209,7 @@ key "bouchut1999construction"
\begin_inset CommandInset citation
LatexCommand cite
key "aregba2000discrete"
literal "true"
\end_inset
......@@ -215,6 +225,7 @@ key "aregba2000discrete"
\begin_inset CommandInset citation
LatexCommand cite
key "badwaik2018task,coulette2019high"
literal "true"
\end_inset
......@@ -376,6 +387,7 @@ We consider the MHD equations with Divergence Cleaning
\begin_inset CommandInset citation
LatexCommand cite
key "dedner2002hyperbolic"
literal "true"
\end_inset
......@@ -468,6 +480,7 @@ and the potential
\begin_inset CommandInset citation
LatexCommand cite
key "powell94,dedner2002hyperbolic,barth2006role"
literal "true"
\end_inset
......@@ -494,6 +507,7 @@ Theoretically, the parameter
\begin_inset CommandInset citation
LatexCommand cite
key "dedner2002hyperbolic"
literal "true"
\end_inset
......@@ -648,6 +662,7 @@ textcolor{blue}
\begin_inset CommandInset citation
LatexCommand cite
key "dedner2002hyperbolic"
literal "true"
\end_inset
......@@ -659,6 +674,7 @@ key "dedner2002hyperbolic"
\begin_inset CommandInset citation
LatexCommand cite
key "dumbserJCP2016"
literal "true"
\end_inset
......@@ -758,6 +774,7 @@ The Lattice-Boltzmann Method (LBM) originated from the physical kinetic
\begin_inset CommandInset citation
LatexCommand cite
key "chen1998lattice"
literal "true"
\end_inset
......@@ -772,6 +789,7 @@ s can take a few number of given values.
\begin_inset CommandInset citation
LatexCommand cite
key "succi2001lattice"
literal "true"
\end_inset
......@@ -783,6 +801,7 @@ key "succi2001lattice"
\begin_inset CommandInset citation
LatexCommand cite
key "bouchut1999construction,aregba2000discrete,dellar2002lattice,graille2014approximation"
literal "true"
\end_inset
......@@ -794,6 +813,7 @@ key "bouchut1999construction,aregba2000discrete,dellar2002lattice,graille2014app
\begin_inset CommandInset citation
LatexCommand cite
key "badwaik:hal-01451393,coulette2016palindromic"
literal "true"
\end_inset
......@@ -1058,6 +1078,7 @@ It is a simple projection on the Maxwellian state associated to the conservative
\begin_inset CommandInset citation
LatexCommand cite
key "dellar2013interpretation"
literal "true"
\end_inset
......@@ -1276,6 +1297,7 @@ It is possible to add a small dissipation
\begin_inset CommandInset citation
LatexCommand cite
key "graille2014approximation"
literal "true"
\end_inset
......@@ -1283,6 +1305,7 @@ key "graille2014approximation"
\begin_inset CommandInset citation
LatexCommand cite
key "coulette2016palindromic"
literal "true"
\end_inset
......@@ -1331,6 +1354,7 @@ For the moment, we have assumed periodic boundary conditions.
\begin_inset CommandInset citation
LatexCommand cite
key "drui2019analysis"
literal "true"
\end_inset
......@@ -1434,6 +1458,7 @@ The proof is based on standard Taylor expansions.
\begin_inset CommandInset citation
LatexCommand cite
key "courtes2020vectorial"
literal "true"
\end_inset
......@@ -1444,6 +1469,7 @@ key "courtes2020vectorial"
\begin_inset CommandInset citation
LatexCommand cite
key "dubois2008equivalent,otomo2017two"
literal "true"
\end_inset
......@@ -1848,6 +1874,7 @@ OpenCL runtime
\begin_inset CommandInset citation
LatexCommand cite
key "klockner2012pycuda"
literal "true"
\end_inset
......@@ -1873,6 +1900,7 @@ OpenCL is practically available since september 2009.
\begin_inset CommandInset citation
LatexCommand cite
key "gaster2012heterogeneous"
literal "true"
\end_inset
......@@ -1930,7 +1958,7 @@ reference "fig:A-(virtual)-GPU"
placement H
wide false
sideways false
status collapsed
status open
\begin_layout Plain Layout
\align center
......@@ -2051,6 +2079,7 @@ For more details on OpenCL, we refer for instance to
\begin_inset CommandInset citation
LatexCommand cite
key "gaster2012heterogeneous,klockner2012pycuda"
literal "true"
\end_inset
......@@ -2066,7 +2095,7 @@ We have implemented the above algorithm using PyOpenCL.
\end_layout
\begin_layout Standard
The different NVIDIA and AMD hardware are listed in Table
The different devices used in this paper are listed in Table
\begin_inset CommandInset ref
LatexCommand ref
reference "tab:OpenCL-devices-for"
......@@ -2074,21 +2103,26 @@ reference "tab:OpenCL-devices-for"
\end_inset
.
The AMD processor was used inside a virtual environment, which implies
a non-negligible loss of performance.
PyOpenCL allows to select either the CPU or the GPU for the computations.
When the CPU is selected, it is also possible to choose the number of activated
CPU cores through a Linux environment variable.
With the OpenCL AMD drivers, when the CPU is selected, it is also possible
to choose the number of activated CPU cores through a Linux environment
variable.
This is useful for estimating (in a crude way) the efficiency of the OpenCL
parallelism.
\end_layout
\begin_layout Standard
\begin_inset Float table
wide false
sideways false
status collapsed
status open
\begin_layout Plain Layout
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="7" columns="6">
<lyxtabular version="3" rows="6" columns="7">
<features tabularvalignment="middle">
<column alignment="center" valignment="top">
<column alignment="center" valignment="top">
......@@ -2096,6 +2130,7 @@ status collapsed
<column alignment="center" valignment="top">
<column alignment="center" valignment="top">
<column alignment="center" valignment="top">
<column alignment="center" valignment="top">
<row>
<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
......@@ -2110,7 +2145,7 @@ name
\begin_inset Text
\begin_layout Plain Layout
system
type
\end_layout
\end_inset
......@@ -2119,7 +2154,7 @@ system
\begin_inset Text
\begin_layout Plain Layout
memory
frequency
\end_layout
\end_inset
......@@ -2128,7 +2163,7 @@ memory
\begin_inset Text
\begin_layout Plain Layout
cache
memory
\end_layout
\end_inset
......@@ -2137,36 +2172,42 @@ cache
\begin_inset Text
\begin_layout Plain Layout
compute units
cache
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
processors
\begin_inset Formula $\begin{array}{c}
\text{available}\\
\text{compute units}
\end{array}$
\end_inset
\end_layout
\end_inset
</cell>
</row>
<row>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
GeForce 320M
processors
\end_layout
\end_inset
</cell>
</row>
<row>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
Mac OS X
Tesla V100-PCIE-16GB
\end_layout
\end_inset
......@@ -2175,7 +2216,7 @@ Mac OS X
\begin_inset Text
\begin_layout Plain Layout
256 MB
GPU
\end_layout
\end_inset
......@@ -2184,7 +2225,7 @@ Mac OS X
\begin_inset Text
\begin_layout Plain Layout
16 kB
1.4 GHz
\end_layout
\end_inset
......@@ -2193,45 +2234,45 @@ Mac OS X
\begin_inset Text
\begin_layout Plain Layout
6
16 GB
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
48
48 kB
\end_layout
\end_inset
</cell>
</row>
<row>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
GeForce GTX 470
80
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
Ubuntu 10.04
5120
\end_layout
\end_inset
</cell>
</row>
<row>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
1.3 GB
NVIDIA Quadro P6000
\end_layout
\end_inset
......@@ -2240,7 +2281,7 @@ Ubuntu 10.04
\begin_inset Text
\begin_layout Plain Layout
48 kB
GPU
\end_layout
\end_inset
......@@ -2249,27 +2290,25 @@ Ubuntu 10.04
\begin_inset Text
\begin_layout Plain Layout
14
1.5 GHz
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
448
24 GB
\end_layout
\end_inset
</cell>
</row>
<row>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
GeForce GTX 260
32 kB
\end_layout
\end_inset
......@@ -2278,25 +2317,27 @@ GeForce GTX 260
\begin_inset Text
\begin_layout Plain Layout
Ubuntu 10.04
30
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
895 MB
3840
\end_layout
\end_inset
</cell>
</row>
<row>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
16 kB
NVIDIA GTX 1660
\end_layout
\end_inset
......@@ -2305,27 +2346,25 @@ Ubuntu 10.04
\begin_inset Text
\begin_layout Plain Layout
27
GPU
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
216
1.6 GHz
\end_layout
\end_inset
</cell>
</row>
<row>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
Radeon HD 5850
6 GB
\end_layout
\end_inset
......@@ -2334,7 +2373,7 @@ Radeon HD 5850
\begin_inset Text
\begin_layout Plain Layout
Ubuntu 10.04
48 kB
\end_layout
\end_inset
......@@ -2343,45 +2382,45 @@ Ubuntu 10.04
\begin_inset Text
\begin_layout Plain Layout
512 MB
22
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
32 kB
1408
\end_layout
\end_inset
</cell>
</row>
<row>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
18
AMD EPYC 7551 32-core
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
1440
CPU
\end_layout
\end_inset
</cell>
</row>
<row>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
Phenom II X4 945
2 GHz
\end_layout
\end_inset
......@@ -2390,7 +2429,7 @@ Phenom II X4 945
\begin_inset Text
\begin_layout Plain Layout
Ubuntu 10.04
47 GB
\end_layout
\end_inset
......@@ -2399,7 +2438,7 @@ Ubuntu 10.04
\begin_inset Text
\begin_layout Plain Layout
4 GB
32 kB
\end_layout
\end_inset
......@@ -2408,36 +2447,36 @@ Ubuntu 10.04
\begin_inset Text
\begin_layout Plain Layout
1-24
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
4
1-24
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
</row>
<row>
<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
4
2 x Intel Xeon CPU E5-2609 v4
\end_layout
\end_inset
</cell>
</row>
<row>
<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text