You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
\textbf{Examples} & MPI-1, MPI-2, MPI-3, MPI-4 (specifications) & MPICH, Open MPI, MS MPI (Microsoft MPI), Intel MPI \\
93
93
\hline
94
94
\end{tabular}
95
95
\caption{Key Differences Between MPI Standard and MPI Library}
@@ -228,6 +228,8 @@ \section{MPI data distribution}
228
228
\item tag: A user-defined message identifier to differentiate messages.
229
229
\item comm: The communicator that defines the group of processes within which the message is being sent (e.g., \texttt{MPI\_COMM\_WORLD}).
230
230
\end{itemize}
231
+
232
+
const void *buf, int count, MPI\_Datatype datatype - data array description
231
233
\end{frame}
232
234
233
235
\begin{frame}[fragile]{\texttt{MPI\_Recv()}}
@@ -246,6 +248,23 @@ \section{MPI data distribution}
246
248
\end{itemize}
247
249
\end{frame}
248
250
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
+
249
268
\begin{frame}[fragile]{Performance measurement in MPI: \texttt{MPI\_Wtime()}}
250
269
\texttt{double MPI\_Wtime(void)}
251
270
@@ -275,8 +294,14 @@ \section{MPI data distribution}
275
294
\Huge{Thank You!}
276
295
\end{frame}
277
296
278
-
%Optional references slide
297
+
%References slide
279
298
\begin{frame}{References}
299
+
\begin{enumerate}
300
+
\item MPI Standard \href{https://www.mpi-forum.org/docs/}{https://www.mpi-forum.org/docs/}
\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}
0 commit comments