Commit af510ed3 authored by Pierre Augier's avatar Pierre Augier
Browse files

Correct fig_simul_obj.dio + update fluidsim profile.

parent 2cdac4807db5
<mxfile userAgent="Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0" version="8.6.4" editor="www.draw.io" type="device"><diagram id="d488cd5c-f9a3-7452-a3ba-77e4ba35fda0" name="Page-1">7V1bc5s4FP41fmyHu+GxTprtTtOtZ70zu/vkkUG21QJihZzY+fUrgYRBYHBtnNiOM5kGxNH1nPOdixAdmHfR+jcCkuU3HMBwYGjBemDeDwxDt0yN/eElm7zENdy8YEFQIIi2BRP0AkWhqLdYoQCmFUKKcUhRUi30cRxDn1bKACH4uUo2x2G11wQsYK1g4oOwXvo3CuhSzmK4Lf8C0WIperZdM38wA/7PBcGrWHQ3MMx59pM/joBsSswzXYIAP5eKzM8D845gTPOraH0HQ760ctXyeg87nhbDJjCme1XQLTEQupFzhwFbCnGLCV3iBY5B+HlbOsomCHkTGrtb0ihklzq7ZL2SzT+8/KMtb/8Vz35ASjeC02BFMSvatv6IcSLo5jimgkznzacUEPqJ85SV+CFIU+TL4gcUyq7rMxeLkeIV8cXUBPtY1QUUVI7gHJ91qZ5Yrt8gjiCbBCMgMAQUPVUFBAg5WxR0oiobMNiUCBKMYpqWWh7zAkYgVMbSRYubQoXKjGMXeYvyrjS0bVHG3F2MHp6I0UO2qmVWf9S04RHszhoaQ4LY5CARPaeU4J/wDoeYZEM3tezn9NIxNM5COkxPq0qHo6i1Qm/YXhv98dJULF8v0nSorOzk6luzS6uyS/awi10d9FV21WvbzbWL4eYyLmq1DEMfdjSUa0atoYMEqFc4Olfb4pyFOBbe2J7oYbut9D2gh3sqW+R6qtvRaE/OVF7c84AvSwEU3W2Xl6HTSn+8vJjGieSl4qT+qmA8gAiFfMpfYPgEKfLBGZskz65Cu32UhbEPtDDqKKTB6d/ACO16AuFKrOjAcELGklFSESTnvxWPtUYR6xnFA/MTe2ola/avVvo3Y6xG4Zp+ACFa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ReD26Bg6J0ICq4q3b0r/Mg2/kvJ6zEryJPXPG7n02tNGbyvCOTinBQQowh0vHZyg6ZDoMkevmHkpZtNuwUKm2Ac7PgeQ724fHJ/jWh+cF93bHEvv2XLr9Uj+9WDOTtXtuE7xZ0HbUpL2bbtcuQXH9TvBRnql1r2PeUiE8ebZkb39OEIdbhdn1JWRtX/l5Sb3rLZRxRLMrdTas5ERKxhdREN2zhMRBzNUxoy9xKSbsaw2+3/8ZKTb/8fHfPz/w==</diagram></mxfile> <mxfile userAgent="Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0" version="8.6.5" editor="www.draw.io" type="device"><diagram id="d488cd5c-f9a3-7452-a3ba-77e4ba35fda0" name="Page-1">7R1bc6M299f4cTPcL4/rZNN2NttmPnem7ROjgGyrixEFObHz6z8JJAzi5tj4Gmd2EnQ4up77kcSO9PvF6pcExPMfOIDhSFOC1Uh/GGmaYWj0NwOsc4CmKzlglqAgB6kbwAS9Qw4UaEsUwLSCSDAOCYqrQB9HEfRJBQaSBL9V0aY4rPYagxmsASY+COvQv1BA5jnU0ewN/FeIZnPes+no+YsX4P+cJXgZ8e5Gmj7NfvLXCyCa4vNM5yDAbyWQ/m2k3ycYk/xpsbqHIVtZsWp5vceWt8WwExiRrSqoBh8IWYu5w4AuBS/ihMzxDEcg/LaBjrMJQtaEQktzsgjpo0ofaa/J+m8GvzNF8R/+7l9IyJpTGiwJpqBN608YxxxviiPC0VTWfEpAQr4ymlKIH4I0Rb4AP6JQdF2fOV+MFC8Tn0+Nk49WnUGOZXHKsVmX6vHl+gXiBaSToAgJDAFBr1UGAZzPZgUer0oHDNYlhBijiKSllp8ZgCIIiVF5i1xgVEMvE44+5C2KUmloG1BG3DZC2wcitE1XtUzqO0Wx9yB31tAzTBCdHEx4zylJ8E94j0OcZEPXlezn8Nxha2fBHbqrVLnDksRawtdMtwt/f24qlm8QbtqVV1qpempyKVVyiR7ayNWDXyVXvbbZXLsYbs7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JPdzRxmd0e3KpGXWndrGhNNQ8Rd4l70pSvoQmVW09vH3uP5k/Y+4Z1XEyY39Z4lbE6uMKkj5RU8cl6j8XIDmAvFlkbwpk/r+tRUq6fuhSNb9ng18zD6VPR16fp0YL1Y3ljlF/YQeczKZ+z73oSrLlyqdBRFfCijz1kxhxCuK4kmCx6PExgn2Idp55GQPWWx4gMVjT8XXV+En3ITxf5br1tmQ4eQRKeeDr1sSRRHRY4dMDzm/Y5BCm9yeKFyKO+cNsXv7qEEsb53f5GC2MS9JTOJIkJDpACLM+zPDDIhwR9L0uc/XmMoHYe4JZK+LPk8zulpyU4WVxHL8mk1yKc1hHzWzzVcpHwWYpXm9olvXuSFnUK465C+/dwBNdhBS13QvgJbKT3oZINr2zI4jkpTxSHTU+g099qc/zSmjYLQW0AQpUKzZaAfDHJTb4PfBLypguHuhomDwV2qwHYPpAquKt3dFn5kG/+l5PUzBeTJaxa3s+l1pgw+VwRycU4KiNAC9Bw7uammXVSTaZ8w8lL1pt0CiUwwClo+2lEHlz/vUHxGT7XMUekzeqPmT+hVL+a0rmzDN8l7L9qUlrJr22Xf76XJl1Pkz/lse8tFJI7XzYQe6Osi8nD7PpsujWr4r6Y3nbLZhhVLPNfKNWfCIoZdXUQq/buxiKXInyyXzm/vfPOJFjf/n1OOvvkvs/Rv/wc=</diagram></mxfile>
\ No newline at end of file \ No newline at end of file
...@@ -24,15 +24,15 @@ if not os.path.exists(root): ...@@ -24,15 +24,15 @@ if not os.path.exists(root):
patterns2d = [ patterns2d = [
# TODO: replace np=1 case # TODO: replace np=1 case
(root / 'beskow_1024x1024/').glob('*np=2*fftwmpi2d*'), (root / 'beskow_1024x1024/').glob('*np=1_*fftw2d*'),
(root / 'beskow_1024x1024/').glob('*np=8*fftwmpi2d*'), (root / 'beskow_1024x1024/').glob('*np=8*fftwmpi2d*'),
] ]
patterns3d = [ patterns3d = [
# TODO: replace np=1 case # TODO: replace np=1 case
(root / 'beskow_128x128x128/').glob('*np=2*fftwmpi3d*'), (root / 'beskow_128x128x128/').glob('*np=1_*fftw3d*'),
(root / 'beskow_128x128x128/').glob('*np=8*fftwmpi3d*'), (root / 'beskow_128x128x128/').glob('*np=8*fftwmpi3d*'),
(root / 'beskow_512x512x512/').glob('*np=64*fftwmpi3d*'), (root / 'beskow_512x512x512/').glob('*np=2_*fftwmpi3d*'),
(root / 'beskow_512x512x512/').glob('*np=128*fftwmpi3d*'), (root / 'beskow_512x512x512/').glob('*np=128*fftwmpi3d*'),
# (root / 'beskow_1024x1024x1024/').glob('*np=1024*p3dfft*'), # (root / 'beskow_1024x1024x1024/').glob('*np=1024*p3dfft*'),
# (root / 'beskow_1024x1024x1024/').glob('*np=1024*fftwmpi3d*'), # (root / 'beskow_1024x1024x1024/').glob('*np=1024*fftwmpi3d*'),
......
...@@ -624,7 +624,7 @@ operator.}\label{fig:profile2d} ...@@ -624,7 +624,7 @@ operator.}\label{fig:profile2d}
In Fig.~\ref{fig:profile2d} both sequential and parallel profiles of the 2D In Fig.~\ref{fig:profile2d} both sequential and parallel profiles of the 2D
Navier-Stokes solver shows that majority of time is spent in inverse and forward Navier-Stokes solver shows that majority of time is spent in inverse and forward
FFT calls (\codeinline{ifft\_as\_arg} and \codeinline{fft\_as\_arg}). For the FFT calls (\codeinline{ifft\_as\_arg} and \codeinline{fft\_as\_arg}). For the
sequential case, approximately 0.3\% of the time is spent in pure Python sequential case, approximately 0.14\% of the time is spent in pure Python
functions, i.e. functions not built using \pack{Cython} and \pack{Pythran}. functions, i.e. functions not built using \pack{Cython} and \pack{Pythran}.
% %
\pack{Cython} extensions are responsible for interfacing with FFT operators and \pack{Cython} extensions are responsible for interfacing with FFT operators and
...@@ -652,14 +652,14 @@ Top row: grid sized $128\times128\times128$ solved (a) sequentially using ...@@ -652,14 +652,14 @@ Top row: grid sized $128\times128\times128$ solved (a) sequentially using
\codeinline{fft3d.mpi\_with\_fftwmpi3d} operator. \codeinline{fft3d.mpi\_with\_fftwmpi3d} operator.
% %
Bottom row: grid sized $512\times512\times512$ using Bottom row: grid sized $512\times512\times512$ using
\codeinline{fft3d.mpi\_with\_fftwmpi3d} operator (c) with 64 processes and (d) \codeinline{fft3d.mpi\_with\_fftwmpi3d} operator (c) with 2 processes and
with 128 processes.} (d) with 128 processes.}
\label{fig:profile3d} \label{fig:profile3d}
\end{figure} \end{figure}
From Fig.~\ref{fig:profile3d} it can be shown that, for the 3D Navier-Stokes From Fig.~\ref{fig:profile3d} it can be shown that, for the 3D Navier-Stokes
solver for all cases majority of time is attributed to FFT calls. The overall time solver for all cases majority of time is attributed to FFT calls. The overall time
spent in pure Python function range from 0.07\% for $512^3$ grid points and 64 spent in pure Python function range from 0.001\% for $512^3$ grid points and 2
processes to 0.46\% for $128^3$ grid points and 8 processes. processes to 0.46\% for $128^3$ grid points and 8 processes.
% %
This percentage tends to increase with the number of processes used since the real This percentage tends to increase with the number of processes used since the real
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment