Skip to content

Commit af78380

Browse files
authored
Merge pull request #9 from learning-process/01-add
2 parents 295372a + 8097681 commit af78380

File tree

1 file changed

+27
-2
lines changed

1 file changed

+27
-2
lines changed

01-intro.tex

+27-2
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ \section{Introduction to MPI}
8989
\hline
9090
\textbf{Performance} & No direct impact on performance & Optimized for different platforms and hardware \\
9191
\hline
92-
\textbf{Examples} & MPI-1, MPI-2, MPI-3, MPI-4 (specifications) & MPICH, Open MPI, Intel MPI \\
92+
\textbf{Examples} & MPI-1, MPI-2, MPI-3, MPI-4 (specifications) & MPICH, Open MPI, MS MPI (Microsoft MPI), Intel MPI \\
9393
\hline
9494
\end{tabular}
9595
\caption{Key Differences Between MPI Standard and MPI Library}
@@ -228,6 +228,8 @@ \section{MPI data distribution}
228228
\item tag: A user-defined message identifier to differentiate messages.
229229
\item comm: The communicator that defines the group of processes within which the message is being sent (e.g., \texttt{MPI\_COMM\_WORLD}).
230230
\end{itemize}
231+
232+
const void *buf, int count, MPI\_Datatype datatype - data array description
231233
\end{frame}
232234

233235
\begin{frame}[fragile]{\texttt{MPI\_Recv()}}
@@ -246,6 +248,23 @@ \section{MPI data distribution}
246248
\end{itemize}
247249
\end{frame}
248250

251+
\begin{frame}[fragile]{MPI Communicators}
252+
MPI Communicator: A communicator in MPI defines a communication context, a group of processes that can send and receive messages from one another. The processes within a communicator are assigned unique ranks, which are integers that identify each process.
253+
254+
Ranks: Every process within a communicator has a rank, starting from 0. The rank helps to uniquely identify a process within the communicator.
255+
256+
Groups: A communicator has an associated group of processes. A group is an ordered set of processes, which MPI uses to determine communication partners.
257+
\end{frame}
258+
259+
\begin{frame}[fragile]{\texttt{MPI\_COMM\_WORLD}}
260+
\texttt{MPI\_COMM\_WORLD}: The \texttt{MPI\_COMM\_WORLD} is the default communicator created when an MPI program starts. It includes all the processes that are initiated by the MPI runtime.
261+
\begin{itemize}
262+
\item Every process in the MPI application automatically becomes a part of \texttt{MPI\_COMM\_WORLD}, and this communicator is used for most communication operations in simple MPI programs.
263+
\item All the processes in the program are assigned a rank in \texttt{MPI\_COMM\_WORLD}, starting from 0 to the number of processes minus one.
264+
\item \texttt{MPI\_COMM\_WORLD} allows processes to exchange messages, perform collective operations (e.g. broadcasting, reducing, scattering, etc.), and more.
265+
\end{itemize}
266+
\end{frame}
267+
249268
\begin{frame}[fragile]{Performance measurement in MPI: \texttt{MPI\_Wtime()}}
250269
\texttt{double MPI\_Wtime(void)}
251270

@@ -275,8 +294,14 @@ \section{MPI data distribution}
275294
\Huge{Thank You!}
276295
\end{frame}
277296

278-
% Optional references slide
297+
% References slide
279298
\begin{frame}{References}
299+
\begin{enumerate}
300+
\item MPI Standard \href{https://www.mpi-forum.org/docs/}{https://www.mpi-forum.org/docs/}
301+
\item MPICH guides: \href{https://www.mpich.org/documentation/guides/}{https://www.mpich.org/documentation/guides/}
302+
\item Microsoft MPI: \href{https://learn.microsoft.com/en-us/message-passing-interface/microsoft-mpi}{https://learn.microsoft.com/en-us/message-passing-interface/microsoft-mpi}
303+
\item OpenMPI docs: \href{https://www.open-mpi.org/doc/}{https://www.open-mpi.org/doc/}
304+
\end{enumerate}
280305
\end{frame}
281306

282307
\end{document}

0 commit comments

Comments
 (0)