Changeset 1515 for palm/trunk/TUTORIAL/SOURCE/program_control.tex
- Timestamp:
- Jan 2, 2015 11:35:51 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/TUTORIAL/SOURCE/program_control.tex
r973 r1515 6 6 \usepackage{ngerman} 7 7 \usepackage{pgf} 8 \usetheme{Dresden}9 8 \usepackage{subfigure} 10 9 \usepackage{units} … … 16 15 \usetikzlibrary{shapes,arrows,positioning,decorations.pathreplacing} 17 16 \def\Tiny{\fontsize{4pt}{4pt}\selectfont} 17 \def\Tinytwo{\fontsize{3pt}{3pt}\selectfont} 18 18 19 19 %---------- neue Pakete … … 22 22 \usepackage{multicol} 23 23 \usepackage{pdfcomment} 24 25 \institute{Institut fÃŒr Meteorologie und Klimatologie, Leibniz UniversitÀt Hannover} 24 \usepackage{listings} 25 \lstset{showspaces=false,language=fortran,basicstyle= 26 \ttfamily,showstringspaces=false, captionpos=b,aboveskip=0pt,belowskip=0pt} 27 28 \institute{Institute of Meteorology and Climatology, Leibniz UniversitÀt Hannover} 29 \selectlanguage{english} 26 30 \date{last update: \today} 27 31 \event{PALM Seminar} … … 42 46 43 47 \title[Program Control by Physical Parameters]{Program Control by Physical Parameters} 44 \author{ Siegfried Raasch}48 \author{PALM group} 45 49 46 50 % Notes: … … 52 56 \titlepage 53 57 \end{frame} 58 59 \section{Program Control by Physical Parameters} 60 \subsection{Program Control by Physical Parameters} 54 61 55 62 % Folie 2 … … 270 277 \end{tikzpicture} 271 278 \footnotesize 279 \vspace{-3mm} 272 280 \begin{itemize} 273 281 \item<2->{There are two NAMELIST groups ({\tt \&inipar} and {\tt \&d3par}).} … … 279 287 280 288 % Folie 7 281 \begin{frame} 289 \begin{frame}[fragile] 290 \tikzstyle{green} = [rectangle, draw, fill=green!30, text width=2.1\textwidth, font=\Tinytwo] 282 291 \frametitle{The Run Control File} 283 292 \scriptsize … … 290 299 errors have occurred!}} 291 300 \par\bigskip 292 \includegraphics[width=1.08\textwidth]{program_control_figures/run_control_file.png} 293 \normalsize 301 \begin{tikzpicture}[scale=0.51, every node/.style={scale=0.51}] 302 \node [green]{\begin{lstlisting} 303 ****************************** ------------------------------------------ 304 * PALM 3.10 Rev: 1443 * atmosphere - 3D - run without 1D - prerun 305 ****************************** ------------------------------------------ 306 307 Date: 30-07-14 Run: example_cbl 308 Time: 14:41:23 Run-No.: 00 309 Run on host: lccrayh 310 Number of PEs: 8 Processor grid (x,y): ( 2, 4) calculated 311 ------------------------------------------------------------------------------ 312 . 313 . 314 . 315 Run-control output: 316 ------------------ 317 318 RUN ITER. HH:MM:SS.SS DT(E) UMAX VMAX WMAX U* W* THETA* Z_I ENERG. DISTENERG DIVOLD DIVNEW UMAX(KJI) VMAX(KJI) WMAX(KJI) ADVECX ADVECY MGCYC 319 --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 320 0 0 00:00:00.00 20.0000A -0.2192D -0.2169D -0.1214 0.000 1.38 0.000E+00 800. 0.106E-02 0.000E+00 0.000E+00 0.000E+00 11 32 5 5 37 29 4 26 0 0.000 0.000 0 321 0 1 00:00:20.00 20.0000A -0.2192 -0.2169 -0.1214 0.001 0.69 -0.124E+03 100. 0.105E-02 0.948E-03 0.491E-05 0.355E-15 11 32 5 5 37 29 4 26 0 0.000 0.000 0 322 0 2 00:00:40.00 20.0000D -0.2151 -0.2176 -0.1209 0.001 0.69 -0.125E+03 100. 0.104E-02 0.940E-03 0.802E-05 0.359E-15 11 32 5 5 37 29 4 26 0 0.000 0.000 0 323 . 324 . 325 326 \end{lstlisting} 327 }; 328 \end{tikzpicture} 294 329 \end{frame} 295 330 296 331 % Folie 8 297 \begin{frame} 332 \begin{frame}[fragile] 333 \tikzstyle{green} = [rectangle, draw, fill=green!30, text width=0.9\textwidth, font=\Tiny] 298 334 \frametitle{The Header File} 299 335 \scriptsize … … 305 341 \end{itemize} 306 342 \begin{center} 307 \includegraphics[width=0.9\textwidth]{program_control_figures/header_file.png} 343 \begin{tikzpicture}[scale=1, every node/.style={scale=1}] 344 \node [green]{\begin{lstlisting} 345 . 346 . 347 . 348 Run time and time step information: 349 ---------------------------------- 350 351 Timestep: variable maximum value: 20.000 s CFL-factor: 0.90 352 Start time: 0.000 s 353 End time: 3600.000 s 354 355 Time reached: 3601.930 s 356 CPU-time used: 4.391 s per timestep: 0.017 s 357 per second of simulated time: 0.001 s 358 359 360 Computational grid and domain size: 361 ---------------------------------- 362 363 Grid length: dx = 50.000 m dy = 50.000 m dz = 50.000 m 364 . 365 . 366 . 367 \end{lstlisting} 368 }; 369 \end{tikzpicture} 308 370 \end{center} 309 371 \normalsize … … 311 373 312 374 % Folie 9 313 \begin{frame} 375 \begin{frame}[fragile] 376 \tikzstyle{green} = [rectangle, draw, fill=green!30, text width=1.4\textwidth, font=\Tiny] 314 377 \frametitle{CPU Measurements File} 315 378 \begin{columns}[c] … … 320 383 \item<2->{It should be inspected regularly in order to find out, if the code is still well optimized (e.g. load balance).} 321 384 \item<3->{Prognostic-equations and pressure solver ({\tt pres}) should be the main consumer.} 322 \item<4->{For larger grids ($ 400^3$ points), {\tt pres} may need up to 50\% of the total time.}385 \item<4->{For larger grids ($1024^3$ points), {\tt pres} may need up to 50\% of the total time or more.} 323 386 \item<5->{Time needed for communication (sum of {\tt exchange\_horiz}({\tt \_2d}) and {\tt mpi\_alltoall}) should not exceed about 10-15\% of the total time.} 324 387 \end{itemize} 325 388 \normalsize 326 389 \column{0.58\textwidth} 327 \includegraphics[width=1.1\textwidth]{program_control_figures/cpu_measurements_file.png} 390 \vspace{-5mm} 391 \begin{tikzpicture}[scale=0.75, every node/.style={scale=0.75}] 392 \node [green]{\begin{lstlisting} 393 PALM 3.10 Rev: 1443 run: example_cbl.00 host: lccrayh 30-07-14 14:41:23 394 ----------- 395 396 CPU measures for 8 PEs ( 2(x) * 4(y) tasks * 1 threads): 397 398 gridpoints (x/y/z): 40 * 40 * 40 399 nr of timesteps: 253 400 cpu time per grid point and timestep: 0.27546 * 10**-6 s 401 ---------------------------------------------------------------------- 402 403 place: mean counts min max rms 404 sec. % sec. sec. sec. 405 ------------------------------------------------------------------------------ 406 total 4.460 100.00 1 4.460 4.460 0.001 407 all progn.equations 2.943 65.98 759 2.905 2.982 0.028 408 pres 0.611 13.70 760 0.611 0.611 0.000 409 diffusivities 0.338 7.59 759 0.338 0.339 0.001 410 exchange-horiz-progn 0.146 3.28 759 0.108 0.185 0.028 411 calculate_timestep 0.118 2.64 253 0.070 0.125 0.018 412 flow_statistics 0.103 2.31 254 0.102 0.104 0.001 413 prandtl_fluxes 0.062 1.40 759 0.062 0.063 0.000 414 initialisation 0.062 1.39 1 0.061 0.061 0.001 415 data_output_2d 0.028 0.62 10 0.021 0.028 0.002 416 sum_up_3d_data 0.004 0.10 146 0.004 0.005 0.000 417 disturb_field 0.004 0.08 10 0.003 0.007 0.001 418 run_control 0.003 0.07 254 0.000 0.000 0.008 419 last actions 0.003 0.07 1 0.003 0.003 0.000 420 data_output_tseries 0.003 0.06 253 0.000 0.000 0.007 421 data_output_profiles 0.001 0.02 4 0.000 0.000 0.002 422 swap_timelevel 0.000 0.01 759 0.000 0.000 0.000 423 user_actions 0.000 0.01 759 0.000 0.000 0.000 424 average_3d_data 0.000 0.00 2 0.000 0.000 0.000 425 426 special measures: 427 ------------------------------------------------------------------------------- 428 timesteps 4.391 98.45 253 4.391 4.391 0.000 429 poisfft 0.441 9.90 760 0.440 0.443 0.001 430 exchange_horiz 0.233 5.22 6866 0.193 0.275 0.029 431 fft_y 0.122 2.73 760 0.121 0.122 0.000 432 fft_x 0.121 2.71 760 0.121 0.121 0.000 433 transpo invers 0.084 1.89 760 0.084 0.085 0.000 434 transpo forward 0.077 1.72 760 0.075 0.078 0.001 435 mpi_alltoall 0.063 1.42 4560 0.060 0.065 0.002 436 divergence 0.043 0.97 1520 0.043 0.044 0.000 437 tridia 0.036 0.81 760 0.036 0.036 0.000 438 exchange_horiz_2d 0.021 0.47 3795 0.019 0.022 0.001 439 \end{lstlisting} 440 }; 441 \end{tikzpicture} 328 442 \end{columns} 329 443 \end{frame} … … 339 453 For a first look, {\tt ncview} is a convenient tool.} 340 454 \item<2->{{\tt ncdump} can be used to display the netCDF file contents in ASCII format ({\tt ncdump -c} displays only header informations).} 341 \item<3->{The simple viewer for netCDF-data - {\tt ncview} - as well as ncl graphic software is available on the IMUK-cluster.}455 \item<3->{The simple viewer for netCDF-data - {\tt ncview} - as well as ncl graphic software is available on the notebooks and on the IMUK-cluster.} 342 456 \end{itemize} 343 457 \end{frame}
Note: See TracChangeset
for help on using the changeset viewer.