|
| 1 | +\documentclass{beamer} |
| 2 | + |
| 3 | +% Theme choice |
| 4 | +\usetheme{Madrid} |
| 5 | + |
| 6 | +% Optional packages |
| 7 | +\usepackage{graphicx} % For including images |
| 8 | +\usepackage{amsmath} % For math symbols and formulas |
| 9 | +\usepackage{hyperref} % For hyperlinks |
| 10 | +\usepackage{listings} |
| 11 | +\usepackage{xcolor} |
| 12 | +\usepackage[T1]{fontenc} |
| 13 | + |
| 14 | +\lstdefinestyle{CStyle}{ |
| 15 | + language=C, % Set the language to C |
| 16 | + basicstyle=\ttfamily\footnotesize\linespread{0.9}\tiny, % Set font style and size |
| 17 | + keywordstyle=\color{blue}, % Color of keywords |
| 18 | + commentstyle=\color{gray}, % Color of comments |
| 19 | + stringstyle=\color{red}, % Color of strings |
| 20 | + showstringspaces=false, % Do not mark spaces in strings |
| 21 | + breaklines=true, % Enable line breaks at appropriate places |
| 22 | + breakatwhitespace=false, % Break lines at any character, not just whitespace |
| 23 | + numbers=left, % Show line numbers on the left |
| 24 | + numberstyle=\tiny\color{gray}, % Style for line numbers |
| 25 | + tabsize=4, % Set tab width |
| 26 | + keepspaces=true, % Keep indentation spaces |
| 27 | + frame=single, % Add a border around the code |
| 28 | + aboveskip=0pt, % Reduce space above the code block |
| 29 | + belowskip=0pt, % Reduce space below the code block |
| 30 | + xleftmargin=7.5pt, % Add left padding (approx. 2.8mm or 10px) |
| 31 | + xrightmargin=15pt, % Add left padding (approx. 2.8mm or 10px) |
| 32 | +} |
| 33 | + |
| 34 | +% Title, author, date, and institute (optional) |
| 35 | +\title[Parallel Programming. MPI (deatiled API overview)]{Parallel Programming course. MPI (deatiled API overview)} |
| 36 | +\author{Obolenskiy Arseniy, Nesterov Alexander} |
| 37 | +\institute{Nizhny Novgorod State University} |
| 38 | + |
| 39 | +\date{\today} % or \date{Month Day, Year} |
| 40 | + |
| 41 | +% Redefine the footline to display both the short title and the university name |
| 42 | +\setbeamertemplate{footline}{ |
| 43 | + \leavevmode% |
| 44 | + \hbox{% |
| 45 | + \begin{beamercolorbox}[wd=.45\paperwidth,ht=2.5ex,dp=1ex,leftskip=1em,center]{author in head/foot}% |
| 46 | + \usebeamerfont{author in head/foot}\insertshortinstitute % Displays the university name |
| 47 | + \end{beamercolorbox}% |
| 48 | + \begin{beamercolorbox}[wd=.45\paperwidth,ht=2.5ex,dp=1ex,leftskip=1em,center]{author in head/foot}% |
| 49 | + \usebeamerfont{author in head/foot}\insertshorttitle % Displays the short title |
| 50 | + \end{beamercolorbox}% |
| 51 | + \begin{beamercolorbox}[wd=.1\paperwidth,ht=2.5ex,dp=1ex,rightskip=1em,center]{author in head/foot}% |
| 52 | + \usebeamerfont{author in head/foot}\insertframenumber{} / \inserttotalframenumber |
| 53 | + \end{beamercolorbox}}% |
| 54 | + \vskip0pt% |
| 55 | +} |
| 56 | + |
| 57 | +\begin{document} |
| 58 | + |
| 59 | +\begin{frame} |
| 60 | + \titlepage |
| 61 | +\end{frame} |
| 62 | + |
| 63 | +\begin{frame}{Contents} |
| 64 | + \tableofcontents |
| 65 | +\end{frame} |
| 66 | + |
| 67 | +\section{MPI collective operations} |
| 68 | + |
| 69 | +\begin{frame}{Collective operations} |
| 70 | +\end{frame} |
| 71 | + |
| 72 | +\begin{frame}{Broadcast} |
| 73 | +\end{frame} |
| 74 | + |
| 75 | +\begin{frame}{\texttt{MPI\_Gather}} |
| 76 | +\end{frame} |
| 77 | + |
| 78 | +\begin{frame}{\texttt{MPI\_Scatter}} |
| 79 | +\end{frame} |
| 80 | + |
| 81 | +\begin{frame}{\texttt{MPI\_AllGather}} |
| 82 | +\end{frame} |
| 83 | + |
| 84 | +\begin{frame}{All-to-All} |
| 85 | +\end{frame} |
| 86 | + |
| 87 | +\begin{frame}{Reduction} |
| 88 | +\end{frame} |
| 89 | + |
| 90 | +\begin{frame} |
| 91 | + \centering |
| 92 | + \Huge{Thank You!} |
| 93 | +\end{frame} |
| 94 | + |
| 95 | +\begin{frame}{References} |
| 96 | +\end{frame} |
| 97 | + |
| 98 | +\end{document} |
0 commit comments