1 / 8

MPI: Message-Passing Interface

This presentation by Joe Schmitz explores the Message-Passing Interface (MPI), a critical technology for parallel programming and network communication. The session covers basic examples of network programming, security considerations, and database connectivity. It highlights key network protocols like HTTP, TCP, and UDP, and defines the problem of system communication. Attendees will gain insights into MPI's specifications, usage in clusters and heterogeneous networks, and a coding example illustrating how processes interact. Essential references are provided for further exploration of MPI.

moshe
Télécharger la présentation

MPI: Message-Passing Interface

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. MPI: Message-Passing Interface Presented By: Joe Schmitz

  2. Network Programming • “The network is the computer.” • Basic examples of network programming • Security • Database Connectivity • Network protocols for : HTTP, TCP, and UDP.

  3. Networking Technologies

  4. Problem Definition • How different systems can communicate with each other.

  5. Description of Technology • A message-passing library specification-- message-passing model -- not a compiler specification -- not a specific product • For parallel computers, clusters, and heterogeneous networks

  6. Description of Technology

  7. Programming Example • #include <stdio.h> • #include "mpi.h" • int main(int argc, char* argv[]){ • int rank, size; //process rank and number of processes • MPI_Init(&argc, &argv); //MPI initialize • MPI_Comm_size(MPI_COMM_WORLD, &size); • MPI_Comm_rank(MPI_COMM_WORLD, &rank); • printf("Hello world from process %d of %d\n", rank, size); • MPI_Finalize(); //MPI finalize • return 0; • }

  8. References • MPI-2: Extensions to the Message-Passing Interface, University of Tennessee, 1997. • Wikimedia Foundation, Anonymous, Wikipedia, Message Passing Interface, Date accessed: Sept. 28, 2005, http://en.wikipedia.org/wiki/Message_Passing_Interface • University of Kassel, Anonymous, Parawiki, MPI – Parallel Programming, Feb., 23, 2005, http://parawiki.plm.eecs.uni-kassel.de/parawiki/index.php/MPI • Gropp, William, Argonne National Laboratory, Argonne, IL, http://www-unix.mcs.anl.gov/mpi/tutorial/gropp/talk.html#Node0

More Related