MPI: MessagePassing Interface - PowerPoint PPT Presentation

About This Presentation
Title:

MPI: MessagePassing Interface

Description:

For parallel computers, clusters, and heterogeneous networks ... int main(int argc, char* argv[]){ int rank, size; //process rank and number of processes ... – PowerPoint PPT presentation

Number of Views:45
Avg rating:3.0/5.0
Slides: 9
Provided by: kaut9
Learn more at: http://student.fgcu.edu
Category:

less

Transcript and Presenter's Notes

Title: MPI: MessagePassing Interface


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 ltstdio.hgt
  • 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_Pas
    sing_Interface
  • University of Kassel, Anonymous, Parawiki, MPI
    Parallel Programming, Feb., 23, 2005,
    http//parawiki.plm.eecs.uni-kassel.de/parawiki/in
    dex.php/MPI
  • Gropp, William, Argonne National Laboratory,
    Argonne, IL, http//www-unix.mcs.anl.gov/mpi/tutor
    ial/gropp/talk.htmlNode0
Write a Comment
User Comments (0)
About PowerShow.com