1 / 8

MPI: Message-Passing Interface

MPI: Message-Passing Interface. Presented By: Joe Schmitz. Network Programming. “The network is the computer.” Basic examples of network programming Security Database Connectivity Network protocols for : HTTP, TCP, and UDP. Networking Technologies. Problem Definition.

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