Introduction to MPI, the Message Passing Library

Size: px
Start display at page:

Download "Introduction to MPI, the Message Passing Library"

Transcription

1 Chapter 3, p. 1/57 Basics of Basic Messages -To-? Introduction to, the Message Passing Library School of Engineering Sciences Computations for Large-Scale Problems I

2 Chapter 3, p. 2/57 Outline Basics of Basic Messages -To-? 1 Basics of 2 Basic 3 Messages 4 -To- 5 6? 7 8

3 Chapter 3, p. 3/57 Basics of Basic Programming Options For Message Passing Computing Messages -To-? Programming a message passing computer can be achieved by 1 Designing a special parallel programming language 2 Extending the syntax/reserved words of an existing high-level language to handle message-passing 3 Using an existing sequential high-level language and providing a library of external procedures for message-passing

4 Chapter 3, p. 4/57 What Is? Basics of Basic Messages -To-? Message Passing Interface standard The first standard and portable message passing library with good performance "Standard" by consensus of Forum participants from over 40 organizations Finished and published in May 1994, updated in June complete as of July Extends. Documents that define are on the World Wide Web from the Forum. 2.1 released in released in 2012

5 Chapter 3, p. 5/57 A Warning Basics of Basic Messages -To-? In many respects, using is low-level and thus comparable to assembly programming.

6 Chapter 3, p. 6/57 Format of Basics of Basic Messages -To-? C Bindings rc = _Xxxxx(parameter,... ) rc is error code, = _SUCCESS if successful Fortran bindings call _XXXXX(parameter,..., ierror) case insensitive ierror is error code, = _SUCCESS if successful Exception: timing functions return double precision reals Header file required #include "mpi.h" for C programs include mpif.h for Fortran programs

7 Chapter 3, p. 7/57 Basics of Basic Messages -To-? has several hundreds functions, but you can do much with just 6: Initialize for communications _INIT initializes the environment _COMM_SIZE returns the number of processes _COMM_RANK returns this process s number (rank) Communicate to share data between processes _SEND sends a message _RECV receives a message Exit in a "clean" fashion when done _FINALIZE

8 Chapter 3, p. 8/57 Basics of Basic An Sample Program (Fortran) I Messages -To-? Here, we show the 6 basic calls: program hello include mpif.h integer rank, size, ierror, tag, status(_status_size) character(12) message call _INIT (ierror) call _COMM_SIZE (_COMM_WORLD, size, ierror) call _COMM_RANK (_COMM_WORLD, rank, ierror) tag = 100 cont...

9 Chapter 3, p. 9/57 Basics of Basic Messages -To-? & An Sample Program (Fortran) II if (rank.eq. 0) then message = Hello, world do i=1, size-1 call _SEND(message, 12, _CHARACTER, i, tag, _COMM_WORLD, ierror) enddo else call _RECV(message, 12, _CHARACTER, 0, tag, & _COMM_WORLD, status, ierror) endif print*, node, rank, :, message call _FINALIZE (ierror) end Skip C

10 Chapter 3, p. 10/57 Basics of Basic An Sample Program (C version) I Messages -To-? #include <stdio.h> #include "mpi.h" main(int argc, char **argv) { int rank, size, tag, rc, i; _Status status; char message[20]; rc = _Init(&argc, &argv); rc = _Comm_size(_COMM_WORLD, &size); rc = _Comm_rank(_COMM_WORLD, &rank); tag = 100; cont...

11 Chapter 3, p. 11/57 Basics of Basic Messages -To-? } An Sample Program (C version) II if(rank == 0) { strcpy(message, "Hello, world"); for (i=1; i<size; i++) rc = _Send(message, 13, _CHAR, i, tag, _COMM_WORLD); } else rc = _Recv(message, 13, _CHAR, 0, tag, _COMM_WORLD, &status); printf( "node %d : %.13s\n", rank,message); rc = _Finalize();

12 Chapter 3, p. 12/57 What Is a Message? Basics of Basic Messages -To-? Message = data + envelope call _SEND(startbuf,count,datatype, \ / ---DATA--- dest,tag,comm, \ / ENVELOPE ierror)

13 Chapter 3, p. 13/57 Data Basics of Basic Messages -To-? Arguments startbuf (starting location of data) count (number of elements) receive >= send datatype (basic or derived) receiver = send Datatypes Basic Derived (mixed, non-contiguous data etc.)

14 Chapter 3, p. 14/57 Basic Datatypes (Fortran) Basics of Basic Messages -To-? datatype _INTEGER _REAL _DOUBLE_PRECISION _COMPLEX _LOGICAL _CHARACTER _BYTE _PACKED Fortran datatype INTEGER REAL DOUBLE PRECISION COMPLEX LOGICAL CHARACTER(1) The names of the C dataypes are slightly different!

15 Chapter 3, p. 15/57 Envelope Basics of Basic Messages -To-? Destination or source Tag rank in a communicator receiver = sender or _ANY_SOURCE integer chosen by programmer receiver = sender or _ANY_TAG Communicator defines communication "space" receiver = sender Predefined communicator: _COMM_WORLD

16 Chapter 3, p. 16/57 Blocking Send Basics of Basic Messages -To-? C Fortran int _Send(void *buf, int count, _Datatype datatype, int dest, int tag, _Comm comm) _SEND(buf, count, datatype, dest, tag, comm, ierror) buf is the beginning of the buffer containing the data to be sent. For Fortran, this is often the name of an array in your program. For C, it is an address. count is the number of elements to be sent (not bytes) datatype is the type of data dest is the rank of the process which is the destination for the message tag is an arbitrary number which can be used to distinguish among messages comm is the communicator ierror is a return error code

17 Chapter 3, p. 17/57 Blocking Receive Basics of Basic Messages C int _Recv(void *buf, int count, _Datatype datatype, int source, int tag, _Comm comm, _Status *status) -To-? Fortran _RECV(buf, count, datatype, source, tag, comm, status, ierror) buf is the beginning of the buffer where the incoming data are to be stored. For Fortran, this is often the name of an array in your program. For C, it is an address. count is the number of elements (not bytes) in your receive buffer datatype is the type of data source is the rank of the process from which data will be accepted (This can be a wildcard, by specifying the parameter _ANY_SOURCE.) tag is an arbitrary number which can be used to distinguish among messages (This can be a wildcard, by specifying the parameter _ANY_TAG.) comm is the communicator status is an array or structure of information that is returned. ierror is a return error code

18 Chapter 3, p. 18/57 Modes Basics of Basic Messages -To-? Mode Blocking Non-Blocking synchronous _SSEND _ISSEND ready _RSEND _IRSEND buffered _BSEND _IBSEND standard _SEND _ISEND _RECV _IRECV _SENDRECV _SENDRECV_REPLACE

19 Chapter 3, p. 19/57 Standard Mode Basics of Basic Messages -To-? The operation is implementation dependent, not prescribed by the standard Should be the best compromise among different scenarios on a given hardware Usually good, not necessarily optimal

20 Chapter 3, p. 20/57 Basics of Basic Blocking Standard Send (Short Messages) Messages -To-? Exceeding system buffer space causes communication to stall until space is freed.

21 Chapter 3, p. 21/57 Basics of Basic Standard Blocking Send (Long Messages) Messages -To-?

22 Chapter 3, p. 22/57 Syntax of Non-Blocking Calls Basics of Basic Messages -To-? C Fortran _Isend(buf, count, dtype, dest, tag, comm, request) _Wait(request, status) _ISEND(buf, count, dtype, dest, tag, comm, request, ierror) _WAIT(request, status, ierror)

23 Chapter 3, p. 23/57 Basics of Basic Messages -To- Example: Non-Blocking Standard Send Non-blocking standard send, message size <= threshold Non-blocking receive?

24 Chapter 3, p. 24/57 Basics of Basic Messages -To- Example: Non-Blocking Standard Send, Large Message Non-blocking standard send, message size > threshold Non-blocking receive?

25 Chapter 3, p. 25/57 Conclusions: Non-Blocking Calls Basics of Basic Messages -To-? Gains Avoid Deadlock Decrease Synchronization Overhead Some Systems: Reduce Systems Overhead Best to post non-blocking sends and receives as early as possible, and to do waits as late as possible Must avoid writing to send buffer between _Isend and _Wait and must avoid reading and writing in receive buffer between _Irecv and _Wait

26 Chapter 3, p. 26/57 Basic Deadlock: Causes Basics of Basic Messages -To-?

27 Chapter 3, p. 27/57 Basic Deadlock: Solutions Basics of Basic Messages -To-? different ordering of calls between tasks non-blocking calls _Sendrecv _Sendrecv_replace buffered mode

28 Chapter 3, p. 28/57 Basics of Basic Messages -To-? An call made identically by all processes in process group Supports easy manipulation of a "common" piece or set of information Uses an communicator, defined for the process group

29 Chapter 3, p. 29/57 Basics of Basic Messages -To-? Barrier synchronization Broadcast from one member to all other members Gather data from an array spread across processors into one array Scatter data from one member to all members All-to-all exchange of data Global reduction (e.g., sum, min of "common" data elements) Scan across all members of a communicator

30 Chapter 3, p. 30/57 Characteristics Basics of Basic Messages -To-? Performed on a group of processes, identified by a communicator Substitute for a sequence of point-to-point calls s are locally blocking Synchronization is not guaranteed (implementation dependent) Some routines use a root process to originate or receive all data Data amounts must exactly match Many variations to basic categories No message tags are needed

31 Chapter 3, p. 31/57 Barrier Synchronization Basics of Basic Messages -To-? Blocks the calling process until all group members have called the routine C Fortran _Barrier(_comm comm) _BARRIER(comm, ierr)

32 Chapter 3, p. 32/57 Data Movement Basics of Basic Messages -To-? Broadcast Gather Scatter Allgather Alltoall

33 Chapter 3, p. 33/57 Broadcast Basics of Basic Messages -To-? Send a message from the root process to all processes in the group, including the root process C Fortran int _Bcast(void* buffer, int count, _Datatype datatype, int root, _Comm comm) _BCAST(buffer, count, datatype, root, comm, ierr)

34 Chapter 3, p. 34/57 Broadcast: Effect Basics of Basic Messages -To-?

35 Chapter 3, p. 35/57 Example: Hello World Basics of Basic Messages -To-?! Prepare... if (rank.eq. 0) then message = Hello, world endif call _BCAST(message, 12, _CHARACTER, root, & _COMM_WORLD, ierr) print*, node, rank, :, message! Finalize...

36 Chapter 3, p. 36/57 _Gather And _Scatter Basics of Basic Messages -To-? Gather Purpose: Each process sends the contents of its send buffer to the root process. The root process receives the messages and stores them in rank order. Our Mandelbrot program is a typical instance of a gather operation. Scatter Purpose: The root process splits a buffer of data into chunks, then sends each process in the group 1 chunk. Reverse of GATHER operation

37 Chapter 3, p. 37/57 Global Computation Basics of Basic Messages -To-? routines that include a computation Computation function included in routine call may be either An predefined routine or A user-supplied function Two types of global computation routines: Reduce Scan

38 Chapter 3, p. 38/57 _Reduce Basics of Basic Messages -To- Combine the elements of the input buffer of each process using a specified operation Return result to root process?

39 Chapter 3, p. 39/57 _Reduce (cont) Basics of Basic Messages -To-? C int _Reduce(void* sbuf, void* rbuf, int count, _Datatype stype, _Op op, int root, _Comm comm) Fortran _REDUCE(sbuf, rbuf, count, stype, op, root, comm, ierr)

40 Chapter 3, p. 40/57 Predefined Operators Basics of Basic Messages -To-? Name _MAX _MIN _SUM _PROD _LAND _BAND _LOR _BOR _LXOR _BXOR _MAXLOC _MINLOC Meaning maximum value minimum value sum product logical and bit-wise and logical or bit-wise or logical xor bit-wise xor max value and location min value and location Each of these operations makes sense for only certain datatypes. The Standard lists the types accepted for each operation.

41 Chapter 3, p. 41/57 Considerations Basics of Basic Messages -To-? A great deal of hidden communication takes place with collective communication depends greatly on the particular implementation of Because there may be forced synchronization, not always best to use collective communication

42 Chapter 3, p. 42/57 at PDC Basics of Basic Messages -To-? The PDC ( Computer Center) runs a number of machines: Machine Implementation Swegrid/SBC Ferlin Ekman Lindgren CH (with PGI or GNU compilers) Open (with Intel or GNU compilers), many Many (many compilers) CH2 (many compilers) Ubuntu workstations in the computer laboratories

43 Chapter 3, p. 43/57 Open On ferlin Basics of Basic Messages -To-? Have a look at the description at the PDC Introduction and In short, after having logged in into an interactive node (at most 8 processes!): module add easy i-compilers mpi mpicc -O -g <source> -o <executable> mpirun -np <number of processes> <executable> exit Interactive nodes are only useful for debugging purposes!

44 Chapter 3, p. 44/57 Low-Level Basics of Basic Messages -To-? Use strategies which are used for sequential programs: program instrumentation (e.g., insert printing statements and compare to expected results) Use low-level debuggers (seldom used since you have many simultaneous processes) Intrinsic Problem of Low-Level Instrumenting a sequential program does not change the functioning. In a parallel program, communication will probably take place in a different order thus changing the behavior.

45 Chapter 3, p. 45/57 Basics of Basic Messages -To-? 1 If possible, run the program as a single process and debug as a normal sequential program. 2 Execute the program using two or four multi-tasked processes on a single computer. Check that messages are sent to the correct places. 3 Execute the program using two or four processes but now across several computers.

46 Chapter 3, p. 46/57 Timing Basics of Basic Messages -To-? A simple way of measuring parallel performance is to use _Wtime to get execution time: _Barrier(_COMM_WORLD); start = _Wtime(); /* Perform your computations */ _Barrier(_COMM_WORLD); end = _Wtime(); if (myrank == 0) printf( Execution time: %e\n,end-start);

47 Chapter 3, p. 47/57 Hints Basics of Basic Messages -To-? measure average time over several executions less sensitive to random events use realistic parameters measurements valid for representative problems time only relevant parts initialization and file IO not likely to be significant for real simulations Use results to choose problem size and number of processors identify parts of the code and algorithm to optimize further

48 Chapter 3, p. 48/57 Appendix: calls Additional Material Sca Calls: _INIT _INIT must be the first routine you call in each process. It can only be called once. It establishes an environment necessary for to run. This environment may be customized for any runtime flags provided by the implementation. The command line arguments are passed to the C version. C int _Init(int *argc, char ***argv) Fortran call _INIT(ierror) integer ierror

49 Chapter 3, p. 49/57 calls: _COMM_SIZE Appendix: calls Additional Material Sca _COMM_SIZE returns the number of processes within a communicator. can determine the number of processes because you specify this when you set the environment variable MP_PROCS. C int _Comm_size(_Comm comm, int *size) Fortran _COMM_SIZE(comm, size, ierror) integer comm, size, ierror

50 Chapter 3, p. 50/57 calls: _COMM_RANK Appendix: calls Additional Material Sca Rank is used to specify a particular process. It is an integer in the range 0 through size-1. _COMM_RANK returns the calling process s rank in the specified communicator. C int _Comm_rank(_Comm comm, int *rank) Fortran _COMM_RANK(comm, rank, ierror) integer comm, rank, ierror

51 Chapter 3, p. 51/57 calls: _SEND Appendix: calls Additional Material Sca A message will be sent to another process. _SEND is a blocking send. C int _Send(void *buf, int count, _Datatype datatype, int dest, int tag, _Comm comm) Fortran _SEND(buf, count, datatype, dest, tag, comm, ierror) <type> buf(*) integer count, datatype, dest, tag, comm, ierror

52 Chapter 3, p. 52/57 calls: _RECV Appendix: calls Additional Material A message will be received from another process. _RECV is blocking. Sca C Fortran int _Recv(void *buf, int count, _Datatype datatype, int source, int tag, _Comm comm, _Status *status) _RECV(buf, count, datatype, source, tag, comm, status, ierror) <type> buf(*) integer count, datatype, source, tag, comm integer status(_status_size), ierror

53 Chapter 3, p. 53/57 calls: _FINALIZE Appendix: calls Additional Material Sca The last call to should be _FINALIZE. This makes to exit cleanly. The code can continue to execute after calling _FINALIZE, but it can longer call routines. C int _Finalize() Fortran _FINALIZE(ierror) integer ierror

54 Chapter 3, p. 54/57 Calls: _Sendrecv Appendix: calls Additional Material Sca C int _Sendrecv (void *sendbuf, int sendcount, _Datatype sendtype, int dest, int sendtag, void *recvbuf, int recvcount, _Datatype recvtype, int source, int recvtag, _Comm comm, _Status *status)

55 Chapter 3, p. 55/57 Datatypes (C) Appendix: calls Additional Material Sca datatype _CHAR _SHORT _INT _LONG _UNSIGNED_CHAR _UNSIGNED_SHORT _UNSIGNED _UNSIGNED_LONG _FLOAT _DOUBLE _LONG_DOUBLE _BYTE _PACKED C datatype signed char signed short int signed int signed long int unsigned char unsigned short int unsigned int unsigned long int float double long double

56 Chapter 3, p. 56/57 Sca: How Does It Work Appendix: calls Additional Material Sca Thresholds for different communication protocols

57 Chapter 3, p. 57/57 Sca: Protocols Appendix: calls Additional Material Sca A Inlining protocol B Eagerbuffering protocol C Transporter protocol Zerocopy protocol (similar to C, but by-passing the ringbuffer)

Topic Notes: Message Passing Interface (MPI)

Topic Notes: Message Passing Interface (MPI) Computer Science 400 Parallel Processing Siena College Fall 2008 Topic Notes: Message Passing Interface (MPI) The Message Passing Interface (MPI) was created by a standards committee in the early 1990

More information

Message Passing Interface: Basic Course

Message Passing Interface: Basic Course Overview of DM- HPC2N, UmeåUniversity, 901 87, Sweden. April 23, 2015 Table of contents Overview of DM- 1 Overview of DM- Parallelism Importance Partitioning Data Distributed Memory Working on Abisko 2

More information

Masterpraktikum - Scientific Computing, High Performance Computing

Masterpraktikum - Scientific Computing, High Performance Computing Masterpraktikum - Scientific Computing, High Performance Computing Message Passing Interface (MPI) Thomas Auckenthaler Wolfgang Eckhardt Technische Universität München, Germany Outline Hello World P2P

More information

Parallel Programming

Parallel Programming Parallel Programming for Multicore and Cluster Systems von Thomas Rauber, Gudula Rünger 1. Auflage Parallel Programming Rauber / Rünger schnell und portofrei erhältlich bei beck-shop.de DIE FACHBUCHHANDLUNG

More information

Welcome to the introductory workshop in MPI programming at UNICC

Welcome to the introductory workshop in MPI programming at UNICC Welcome...... to the introductory workshop in MPI programming at UNICC Schedule: 08.00-12.00 Hard work and a short coffee break Scope of the workshop: We will go through the basics of MPI-programming and

More information

Masterpraktikum - Scientific Computing, High Performance Computing

Masterpraktikum - Scientific Computing, High Performance Computing Masterpraktikum - Scientific Computing, High Performance Computing Message Passing Interface (MPI) and CG-method Michael Bader Alexander Heinecke Technische Universität München, Germany Outline MPI Hello

More information

MPI Message Passing Interface

MPI Message Passing Interface MPI Message Passing Interface Portable Parallel Programs Parallel Computing A problem is broken down into tasks, performed by separate workers or processes Processes interact by exchanging information

More information

Parallel programming MPI

Parallel programming MPI Parallel programming MPI Distributed memory Each unit has its own memory space If a unit needs data in some other memory space, explicit communication (often through network) is required Point-to-point

More information

Parallel Computing MPI. Christoph Beetz. September 7, Parallel Computing. Introduction. Parallel Computing

Parallel Computing MPI. Christoph Beetz. September 7, Parallel Computing. Introduction. Parallel Computing Christoph Beetz Theoretical Physics I, Ruhr-Universität Bochum September 7, 2010 What is Basic Overview to code What is Basic Why Calculation is too big to fit in memory of one machine domain on several

More information

Standard MPI - Message Passing Interface

Standard MPI - Message Passing Interface c Ewa Szynkiewicz, 2007 1 Standard MPI - Message Passing Interface The message-passing paradigm is one of the oldest and most widely used approaches for programming parallel machines, especially those

More information

ECE 574 Cluster Computing Lecture 13

ECE 574 Cluster Computing Lecture 13 ECE 574 Cluster Computing Lecture 13 Vince Weaver http://web.eece.maine.edu/~vweaver vincent.weaver@maine.edu 21 March 2017 Announcements HW#5 Finally Graded Had right idea, but often result not an *exact*

More information

MPI. (message passing, MIMD)

MPI. (message passing, MIMD) MPI (message passing, MIMD) What is MPI? a message-passing library specification extension of C/C++ (and Fortran) message passing for distributed memory parallel programming Features of MPI Point-to-point

More information

Distributed Memory Systems: Part IV

Distributed Memory Systems: Part IV Chapter 5 Distributed Memory Systems: Part IV Max Planck Institute Magdeburg Jens Saak, Scientific Computing II 293/342 The Message Passing Interface is a standard for creation of parallel programs using

More information

Introduction to Lab Series DMS & MPI

Introduction to Lab Series DMS & MPI TDDC 78 Labs: Memory-based Taxonomy Introduction to Lab Series DMS & Mikhail Chalabine Linköping University Memory Lab(s) Use Distributed 1 Shared 2 3 Posix threads OpenMP Distributed 4 2011 LAB 5 (tools)

More information

Advanced Message-Passing Interface (MPI)

Advanced Message-Passing Interface (MPI) Outline of the workshop 2 Advanced Message-Passing Interface (MPI) Bart Oldeman, Calcul Québec McGill HPC Bart.Oldeman@mcgill.ca Morning: Advanced MPI Revision More on Collectives More on Point-to-Point

More information

HPC Parallel Programing Multi-node Computation with MPI - I

HPC Parallel Programing Multi-node Computation with MPI - I HPC Parallel Programing Multi-node Computation with MPI - I Parallelization and Optimization Group TATA Consultancy Services, Sahyadri Park Pune, India TCS all rights reserved April 29, 2013 Copyright

More information

Practical Introduction to Message-Passing Interface (MPI)

Practical Introduction to Message-Passing Interface (MPI) 1 Outline of the workshop 2 Practical Introduction to Message-Passing Interface (MPI) Bart Oldeman, Calcul Québec McGill HPC Bart.Oldeman@mcgill.ca Theoretical / practical introduction Parallelizing your

More information

Non-Blocking Communications

Non-Blocking Communications Non-Blocking Communications Deadlock 1 5 2 3 4 Communicator 0 2 Completion The mode of a communication determines when its constituent operations complete. - i.e. synchronous / asynchronous The form of

More information

MPI Collective communication

MPI Collective communication MPI Collective communication CPS343 Parallel and High Performance Computing Spring 2018 CPS343 (Parallel and HPC) MPI Collective communication Spring 2018 1 / 43 Outline 1 MPI Collective communication

More information

Programming Scalable Systems with MPI. Clemens Grelck, University of Amsterdam

Programming Scalable Systems with MPI. Clemens Grelck, University of Amsterdam Clemens Grelck University of Amsterdam UvA / SurfSARA High Performance Computing and Big Data Course June 2014 Parallel Programming with Compiler Directives: OpenMP Message Passing Gentle Introduction

More information

Introduction to the Message Passing Interface (MPI)

Introduction to the Message Passing Interface (MPI) Introduction to the Message Passing Interface (MPI) CPS343 Parallel and High Performance Computing Spring 2018 CPS343 (Parallel and HPC) Introduction to the Message Passing Interface (MPI) Spring 2018

More information

Review of MPI Part 2

Review of MPI Part 2 Review of MPI Part Russian-German School on High Performance Computer Systems, June, 7 th until July, 6 th 005, Novosibirsk 3. Day, 9 th of June, 005 HLRS, University of Stuttgart Slide Chap. 5 Virtual

More information

Non-Blocking Communications

Non-Blocking Communications Non-Blocking Communications Reusing this material This work is licensed under a Creative Commons Attribution- NonCommercial-ShareAlike 4.0 International License. http://creativecommons.org/licenses/by-nc-sa/4.0/deed.en_us

More information

Message Passing Interface - MPI

Message Passing Interface - MPI Message Passing Interface - MPI Parallel and Distributed Computing Department of Computer Science and Engineering (DEI) Instituto Superior Técnico October 24, 2011 Many slides adapted from lectures by

More information

Parallel Computing Paradigms

Parallel Computing Paradigms Parallel Computing Paradigms Message Passing João Luís Ferreira Sobral Departamento do Informática Universidade do Minho 31 October 2017 Communication paradigms for distributed memory Message passing is

More information

mpi4py HPC Python R. Todd Evans January 23, 2015

mpi4py HPC Python R. Todd Evans January 23, 2015 mpi4py HPC Python R. Todd Evans rtevans@tacc.utexas.edu January 23, 2015 What is MPI Message Passing Interface Most useful on distributed memory machines Many implementations, interfaces in C/C++/Fortran

More information

CSE 613: Parallel Programming. Lecture 21 ( The Message Passing Interface )

CSE 613: Parallel Programming. Lecture 21 ( The Message Passing Interface ) CSE 613: Parallel Programming Lecture 21 ( The Message Passing Interface ) Jesmin Jahan Tithi Department of Computer Science SUNY Stony Brook Fall 2013 ( Slides from Rezaul A. Chowdhury ) Principles of

More information

Praktikum: Verteiltes Rechnen und Parallelprogrammierung Introduction to MPI

Praktikum: Verteiltes Rechnen und Parallelprogrammierung Introduction to MPI Praktikum: Verteiltes Rechnen und Parallelprogrammierung Introduction to MPI Agenda 1) MPI für Java Installation OK? 2) 2. Übungszettel Grundidee klar? 3) Projektpräferenzen? 4) Nächste Woche: 3. Übungszettel,

More information

Introduction to MPI. May 20, Daniel J. Bodony Department of Aerospace Engineering University of Illinois at Urbana-Champaign

Introduction to MPI. May 20, Daniel J. Bodony Department of Aerospace Engineering University of Illinois at Urbana-Champaign Introduction to MPI May 20, 2013 Daniel J. Bodony Department of Aerospace Engineering University of Illinois at Urbana-Champaign Top500.org PERFORMANCE DEVELOPMENT 1 Eflop/s 162 Pflop/s PROJECTED 100 Pflop/s

More information

Agenda. MPI Application Example. Praktikum: Verteiltes Rechnen und Parallelprogrammierung Introduction to MPI. 1) Recap: MPI. 2) 2.

Agenda. MPI Application Example. Praktikum: Verteiltes Rechnen und Parallelprogrammierung Introduction to MPI. 1) Recap: MPI. 2) 2. Praktikum: Verteiltes Rechnen und Parallelprogrammierung Introduction to MPI Agenda 1) Recap: MPI 2) 2. Übungszettel 3) Projektpräferenzen? 4) Nächste Woche: 3. Übungszettel, Projektauswahl, Konzepte 5)

More information

MPI - The Message Passing Interface

MPI - The Message Passing Interface MPI - The Message Passing Interface The Message Passing Interface (MPI) was first standardized in 1994. De facto standard for distributed memory machines. All Top500 machines (http://www.top500.org) are

More information

NUMERICAL PARALLEL COMPUTING

NUMERICAL PARALLEL COMPUTING Lecture 5, March 23, 2012: The Message Passing Interface http://people.inf.ethz.ch/iyves/pnc12/ Peter Arbenz, Andreas Adelmann Computer Science Dept, ETH Zürich E-mail: arbenz@inf.ethz.ch Paul Scherrer

More information

Parallel Programming. Using MPI (Message Passing Interface)

Parallel Programming. Using MPI (Message Passing Interface) Parallel Programming Using MPI (Message Passing Interface) Message Passing Model Simple implementation of the task/channel model Task Process Channel Message Suitable for a multicomputer Number of processes

More information

High Performance Computing

High Performance Computing High Performance Computing Course Notes 2009-2010 2010 Message Passing Programming II 1 Communications Point-to-point communications: involving exact two processes, one sender and one receiver For example,

More information

MPI point-to-point communication

MPI point-to-point communication MPI point-to-point communication Slides Sebastian von Alfthan CSC Tieteen tietotekniikan keskus Oy CSC IT Center for Science Ltd. Introduction MPI processes are independent, they communicate to coordinate

More information

COMP 322: Fundamentals of Parallel Programming. Lecture 34: Introduction to the Message Passing Interface (MPI), contd

COMP 322: Fundamentals of Parallel Programming. Lecture 34: Introduction to the Message Passing Interface (MPI), contd COMP 322: Fundamentals of Parallel Programming Lecture 34: Introduction to the Message Passing Interface (MPI), contd Vivek Sarkar, Eric Allen Department of Computer Science, Rice University Contact email:

More information

Parallel Programming

Parallel Programming Parallel Programming Point-to-point communication Prof. Paolo Bientinesi pauldj@aices.rwth-aachen.de WS 18/19 Scenario Process P i owns matrix A i, with i = 0,..., p 1. Objective { Even(i) : compute Ti

More information

Cornell Theory Center. Discussion: MPI Collective Communication I. Table of Contents. 1. Introduction

Cornell Theory Center. Discussion: MPI Collective Communication I. Table of Contents. 1. Introduction 1 of 18 11/1/2006 3:59 PM Cornell Theory Center Discussion: MPI Collective Communication I This is the in-depth discussion layer of a two-part module. For an explanation of the layers and how to navigate

More information

Outline. Communication modes MPI Message Passing Interface Standard

Outline. Communication modes MPI Message Passing Interface Standard MPI THOAI NAM Outline Communication modes MPI Message Passing Interface Standard TERMs (1) Blocking If return from the procedure indicates the user is allowed to reuse resources specified in the call Non-blocking

More information

Programming with MPI Collectives

Programming with MPI Collectives Programming with MPI Collectives Jan Thorbecke Type to enter text Delft University of Technology Challenge the future Collectives Classes Communication types exercise: BroadcastBarrier Gather Scatter exercise:

More information

Holland Computing Center Kickstart MPI Intro

Holland Computing Center Kickstart MPI Intro Holland Computing Center Kickstart 2016 MPI Intro Message Passing Interface (MPI) MPI is a specification for message passing library that is standardized by MPI Forum Multiple vendor-specific implementations:

More information

The Message Passing Interface (MPI) TMA4280 Introduction to Supercomputing

The Message Passing Interface (MPI) TMA4280 Introduction to Supercomputing The Message Passing Interface (MPI) TMA4280 Introduction to Supercomputing NTNU, IMF January 16. 2017 1 Parallelism Decompose the execution into several tasks according to the work to be done: Function/Task

More information

Message Passing Interface

Message Passing Interface Message Passing Interface DPHPC15 TA: Salvatore Di Girolamo DSM (Distributed Shared Memory) Message Passing MPI (Message Passing Interface) A message passing specification implemented

More information

MPI MESSAGE PASSING INTERFACE

MPI MESSAGE PASSING INTERFACE MPI MESSAGE PASSING INTERFACE David COLIGNON CÉCI - Consortium des Équipements de Calcul Intensif http://hpc.montefiore.ulg.ac.be Outline Introduction From serial source code to parallel execution MPI

More information

Message Passing Interface

Message Passing Interface MPSoC Architectures MPI Alberto Bosio, Associate Professor UM Microelectronic Departement bosio@lirmm.fr Message Passing Interface API for distributed-memory programming parallel code that runs across

More information

Part - II. Message Passing Interface. Dheeraj Bhardwaj

Part - II. Message Passing Interface. Dheeraj Bhardwaj Part - II Dheeraj Bhardwaj Department of Computer Science & Engineering Indian Institute of Technology, Delhi 110016 India http://www.cse.iitd.ac.in/~dheerajb 1 Outlines Basics of MPI How to compile and

More information

Introduction to parallel computing concepts and technics

Introduction to parallel computing concepts and technics Introduction to parallel computing concepts and technics Paschalis Korosoglou (support@grid.auth.gr) User and Application Support Unit Scientific Computing Center @ AUTH Overview of Parallel computing

More information

Outline. Communication modes MPI Message Passing Interface Standard. Khoa Coâng Ngheä Thoâng Tin Ñaïi Hoïc Baùch Khoa Tp.HCM

Outline. Communication modes MPI Message Passing Interface Standard. Khoa Coâng Ngheä Thoâng Tin Ñaïi Hoïc Baùch Khoa Tp.HCM THOAI NAM Outline Communication modes MPI Message Passing Interface Standard TERMs (1) Blocking If return from the procedure indicates the user is allowed to reuse resources specified in the call Non-blocking

More information

CS 470 Spring Mike Lam, Professor. Distributed Programming & MPI

CS 470 Spring Mike Lam, Professor. Distributed Programming & MPI CS 470 Spring 2018 Mike Lam, Professor Distributed Programming & MPI MPI paradigm Single program, multiple data (SPMD) One program, multiple processes (ranks) Processes communicate via messages An MPI

More information

CS 470 Spring Mike Lam, Professor. Distributed Programming & MPI

CS 470 Spring Mike Lam, Professor. Distributed Programming & MPI CS 470 Spring 2017 Mike Lam, Professor Distributed Programming & MPI MPI paradigm Single program, multiple data (SPMD) One program, multiple processes (ranks) Processes communicate via messages An MPI

More information

More about MPI programming. More about MPI programming p. 1

More about MPI programming. More about MPI programming p. 1 More about MPI programming More about MPI programming p. 1 Some recaps (1) One way of categorizing parallel computers is by looking at the memory configuration: In shared-memory systems, the CPUs share

More information

Programming Scalable Systems with MPI. UvA / SURFsara High Performance Computing and Big Data. Clemens Grelck, University of Amsterdam

Programming Scalable Systems with MPI. UvA / SURFsara High Performance Computing and Big Data. Clemens Grelck, University of Amsterdam Clemens Grelck University of Amsterdam UvA / SURFsara High Performance Computing and Big Data Message Passing as a Programming Paradigm Gentle Introduction to MPI Point-to-point Communication Message Passing

More information

Introduction to MPI. HY555 Parallel Systems and Grids Fall 2003

Introduction to MPI. HY555 Parallel Systems and Grids Fall 2003 Introduction to MPI HY555 Parallel Systems and Grids Fall 2003 Outline MPI layout Sending and receiving messages Collective communication Datatypes An example Compiling and running Typical layout of an

More information

Introduction to Parallel Programming

Introduction to Parallel Programming Introduction to Parallel Programming Ste phane Zuckerman Laboratoire ETIS Universite Paris-Seine, Universite de Cergy-Pontoise, ENSEA, CNRS F95000, Cergy, France October 19, 2018 S.Zuckerman (ETIS) Parallel

More information

MPI 5. CSCI 4850/5850 High-Performance Computing Spring 2018

MPI 5. CSCI 4850/5850 High-Performance Computing Spring 2018 MPI 5 CSCI 4850/5850 High-Performance Computing Spring 2018 Tae-Hyuk (Ted) Ahn Department of Computer Science Program of Bioinformatics and Computational Biology Saint Louis University Learning Objectives

More information

Acknowledgments. Programming with MPI Basic send and receive. A Minimal MPI Program (C) Contents. Type to enter text

Acknowledgments. Programming with MPI Basic send and receive. A Minimal MPI Program (C) Contents. Type to enter text Acknowledgments Programming with MPI Basic send and receive Jan Thorbecke Type to enter text This course is partly based on the MPI course developed by Rolf Rabenseifner at the High-Performance Computing-Center

More information

Programming with MPI Basic send and receive

Programming with MPI Basic send and receive Programming with MPI Basic send and receive Jan Thorbecke Type to enter text Delft University of Technology Challenge the future Acknowledgments This course is partly based on the MPI course developed

More information

Practical Course Scientific Computing and Visualization

Practical Course Scientific Computing and Visualization July 5, 2006 Page 1 of 21 1. Parallelization Architecture our target architecture: MIMD distributed address space machines program1 data1 program2 data2 program program3 data data3.. program(data) program1(data1)

More information

Slides prepared by : Farzana Rahman 1

Slides prepared by : Farzana Rahman 1 Introduction to MPI 1 Background on MPI MPI - Message Passing Interface Library standard defined by a committee of vendors, implementers, and parallel programmers Used to create parallel programs based

More information

Distributed Memory Programming with MPI

Distributed Memory Programming with MPI Distributed Memory Programming with MPI Moreno Marzolla Dip. di Informatica Scienza e Ingegneria (DISI) Università di Bologna moreno.marzolla@unibo.it Algoritmi Avanzati--modulo 2 2 Credits Peter Pacheco,

More information

Message Passing Interface. most of the slides taken from Hanjun Kim

Message Passing Interface. most of the slides taken from Hanjun Kim Message Passing Interface most of the slides taken from Hanjun Kim Message Passing Pros Scalable, Flexible Cons Someone says it s more difficult than DSM MPI (Message Passing Interface) A standard message

More information

Practical Scientific Computing: Performanceoptimized

Practical Scientific Computing: Performanceoptimized Practical Scientific Computing: Performanceoptimized Programming Programming with MPI November 29, 2006 Dr. Ralf-Peter Mundani Department of Computer Science Chair V Technische Universität München, Germany

More information

Distributed Systems + Middleware Advanced Message Passing with MPI

Distributed Systems + Middleware Advanced Message Passing with MPI Distributed Systems + Middleware Advanced Message Passing with MPI Gianpaolo Cugola Dipartimento di Elettronica e Informazione Politecnico, Italy cugola@elet.polimi.it http://home.dei.polimi.it/cugola

More information

Recap of Parallelism & MPI

Recap of Parallelism & MPI Recap of Parallelism & MPI Chris Brady Heather Ratcliffe The Angry Penguin, used under creative commons licence from Swantje Hess and Jannis Pohlmann. Warwick RSE 13/12/2017 Parallel programming Break

More information

The Message Passing Model

The Message Passing Model Introduction to MPI The Message Passing Model Applications that do not share a global address space need a Message Passing Framework. An application passes messages among processes in order to perform

More information

Introduction to the Message Passing Interface (MPI)

Introduction to the Message Passing Interface (MPI) Applied Parallel Computing LLC http://parallel-computing.pro Introduction to the Message Passing Interface (MPI) Dr. Alex Ivakhnenko March 4, 2018 Dr. Alex Ivakhnenko (APC LLC) Introduction to MPI March

More information

Introduction to MPI Part II Collective Communications and communicators

Introduction to MPI Part II Collective Communications and communicators Introduction to MPI Part II Collective Communications and communicators Andrew Emerson, Fabio Affinito {a.emerson,f.affinito}@cineca.it SuperComputing Applications and Innovation Department Collective

More information

MPI: Parallel Programming for Extreme Machines. Si Hammond, High Performance Systems Group

MPI: Parallel Programming for Extreme Machines. Si Hammond, High Performance Systems Group MPI: Parallel Programming for Extreme Machines Si Hammond, High Performance Systems Group Quick Introduction Si Hammond, (sdh@dcs.warwick.ac.uk) WPRF/PhD Research student, High Performance Systems Group,

More information

COMP 322: Fundamentals of Parallel Programming

COMP 322: Fundamentals of Parallel Programming COMP 322: Fundamentals of Parallel Programming https://wiki.rice.edu/confluence/display/parprog/comp322 Lecture 37: Introduction to MPI (contd) Vivek Sarkar Department of Computer Science Rice University

More information

Message-Passing Computing

Message-Passing Computing Chapter 2 Slide 41þþ Message-Passing Computing Slide 42þþ Basics of Message-Passing Programming using userlevel message passing libraries Two primary mechanisms needed: 1. A method of creating separate

More information

Message-Passing and MPI Programming

Message-Passing and MPI Programming Message-Passing and MPI Programming 2.1 Transfer Procedures Datatypes and Collectives N.M. Maclaren Computing Service nmm1@cam.ac.uk ext. 34761 July 2010 These are the procedures that actually transfer

More information

Collective Communication in MPI and Advanced Features

Collective Communication in MPI and Advanced Features Collective Communication in MPI and Advanced Features Pacheco s book. Chapter 3 T. Yang, CS240A. Part of slides from the text book, CS267 K. Yelick from UC Berkeley and B. Gropp, ANL Outline Collective

More information

An Introduction to MPI

An Introduction to MPI An Introduction to MPI Parallel Programming with the Message Passing Interface William Gropp Ewing Lusk Argonne National Laboratory 1 Outline Background The message-passing model Origins of MPI and current

More information

Tutorial: parallel coding MPI

Tutorial: parallel coding MPI Tutorial: parallel coding MPI Pascal Viot September 12, 2018 Pascal Viot Tutorial: parallel coding MPI September 12, 2018 1 / 24 Generalities The individual power of a processor is still growing, but at

More information

CS 6230: High-Performance Computing and Parallelization Introduction to MPI

CS 6230: High-Performance Computing and Parallelization Introduction to MPI CS 6230: High-Performance Computing and Parallelization Introduction to MPI Dr. Mike Kirby School of Computing and Scientific Computing and Imaging Institute University of Utah Salt Lake City, UT, USA

More information

MPI Tutorial. Shao-Ching Huang. High Performance Computing Group UCLA Institute for Digital Research and Education

MPI Tutorial. Shao-Ching Huang. High Performance Computing Group UCLA Institute for Digital Research and Education MPI Tutorial Shao-Ching Huang High Performance Computing Group UCLA Institute for Digital Research and Education Center for Vision, Cognition, Learning and Art, UCLA July 15 22, 2013 A few words before

More information

First day. Basics of parallel programming. RIKEN CCS HPC Summer School Hiroya Matsuba, RIKEN CCS

First day. Basics of parallel programming. RIKEN CCS HPC Summer School Hiroya Matsuba, RIKEN CCS First day Basics of parallel programming RIKEN CCS HPC Summer School Hiroya Matsuba, RIKEN CCS Today s schedule: Basics of parallel programming 7/22 AM: Lecture Goals Understand the design of typical parallel

More information

Parallel Programming, MPI Lecture 2

Parallel Programming, MPI Lecture 2 Parallel Programming, MPI Lecture 2 Ehsan Nedaaee Oskoee 1 1 Department of Physics IASBS IPM Grid and HPC workshop IV, 2011 Outline 1 Point-to-Point Communication Non Blocking PTP Communication 2 Collective

More information

Message Passing Interface - MPI

Message Passing Interface - MPI Message Passing Interface - MPI Parallel and Distributed Computing Department of Computer Science and Engineering (DEI) Instituto Superior Técnico March 31, 2016 Many slides adapted from lectures by Bill

More information

The MPI Message-passing Standard Practical use and implementation (V) SPD Course 6/03/2017 Massimo Coppola

The MPI Message-passing Standard Practical use and implementation (V) SPD Course 6/03/2017 Massimo Coppola The MPI Message-passing Standard Practical use and implementation (V) SPD Course 6/03/2017 Massimo Coppola Intracommunicators COLLECTIVE COMMUNICATIONS SPD - MPI Standard Use and Implementation (5) 2 Collectives

More information

Introduction to MPI: Part II

Introduction to MPI: Part II Introduction to MPI: Part II Pawel Pomorski, University of Waterloo, SHARCNET ppomorsk@sharcnetca November 25, 2015 Summary of Part I: To write working MPI (Message Passing Interface) parallel programs

More information

Lecture 9: MPI continued

Lecture 9: MPI continued Lecture 9: MPI continued David Bindel 27 Sep 2011 Logistics Matrix multiply is done! Still have to run. Small HW 2 will be up before lecture on Thursday, due next Tuesday. Project 2 will be posted next

More information

MPI MESSAGE PASSING INTERFACE

MPI MESSAGE PASSING INTERFACE MPI MESSAGE PASSING INTERFACE David COLIGNON, ULiège CÉCI - Consortium des Équipements de Calcul Intensif http://www.ceci-hpc.be Outline Introduction From serial source code to parallel execution MPI functions

More information

Introduction to MPI. Ricardo Fonseca. https://sites.google.com/view/rafonseca2017/

Introduction to MPI. Ricardo Fonseca. https://sites.google.com/view/rafonseca2017/ Introduction to MPI Ricardo Fonseca https://sites.google.com/view/rafonseca2017/ Outline Distributed Memory Programming (MPI) Message Passing Model Initializing and terminating programs Point to point

More information

Communication Characteristics in the NAS Parallel Benchmarks

Communication Characteristics in the NAS Parallel Benchmarks Communication Characteristics in the NAS Parallel Benchmarks Ahmad Faraj Xin Yuan Department of Computer Science, Florida State University, Tallahassee, FL 32306 {faraj, xyuan}@cs.fsu.edu Abstract In this

More information

Basic MPI Communications. Basic MPI Communications (cont d)

Basic MPI Communications. Basic MPI Communications (cont d) Basic MPI Communications MPI provides two non-blocking routines: MPI_Isend(buf,cnt,type,dst,tag,comm,reqHandle) buf: source of data to be sent cnt: number of data elements to be sent type: type of each

More information

Lecture 7: More about MPI programming. Lecture 7: More about MPI programming p. 1

Lecture 7: More about MPI programming. Lecture 7: More about MPI programming p. 1 Lecture 7: More about MPI programming Lecture 7: More about MPI programming p. 1 Some recaps (1) One way of categorizing parallel computers is by looking at the memory configuration: In shared-memory systems

More information

Introduction to MPI. Ekpe Okorafor. School of Parallel Programming & Parallel Architecture for HPC ICTP October, 2014

Introduction to MPI. Ekpe Okorafor. School of Parallel Programming & Parallel Architecture for HPC ICTP October, 2014 Introduction to MPI Ekpe Okorafor School of Parallel Programming & Parallel Architecture for HPC ICTP October, 2014 Topics Introduction MPI Model and Basic Calls MPI Communication Summary 2 Topics Introduction

More information

MPI MESSAGE PASSING INTERFACE

MPI MESSAGE PASSING INTERFACE MPI MESSAGE PASSING INTERFACE David COLIGNON, ULiège CÉCI - Consortium des Équipements de Calcul Intensif http://www.ceci-hpc.be Outline Introduction From serial source code to parallel execution MPI functions

More information

15-440: Recitation 8

15-440: Recitation 8 15-440: Recitation 8 School of Computer Science Carnegie Mellon University, Qatar Fall 2013 Date: Oct 31, 2013 I- Intended Learning Outcome (ILO): The ILO of this recitation is: Apply parallel programs

More information

Working with IITJ HPC Environment

Working with IITJ HPC Environment Working with IITJ HPC Environment by Training Agenda for 23 Dec 2011 1. Understanding Directory structure of IITJ HPC 2. User vs root 3. What is bash_profile 4. How to install any source code in your user

More information

CEE 618 Scientific Parallel Computing (Lecture 5): Message-Passing Interface (MPI) advanced

CEE 618 Scientific Parallel Computing (Lecture 5): Message-Passing Interface (MPI) advanced 1 / 32 CEE 618 Scientific Parallel Computing (Lecture 5): Message-Passing Interface (MPI) advanced Albert S. Kim Department of Civil and Environmental Engineering University of Hawai i at Manoa 2540 Dole

More information

CS4961 Parallel Programming. Lecture 18: Introduction to Message Passing 11/3/10. Final Project Purpose: Mary Hall November 2, 2010.

CS4961 Parallel Programming. Lecture 18: Introduction to Message Passing 11/3/10. Final Project Purpose: Mary Hall November 2, 2010. Parallel Programming Lecture 18: Introduction to Message Passing Mary Hall November 2, 2010 Final Project Purpose: - A chance to dig in deeper into a parallel programming model and explore concepts. -

More information

Data parallelism. [ any app performing the *same* operation across a data stream ]

Data parallelism. [ any app performing the *same* operation across a data stream ] Data parallelism [ any app performing the *same* operation across a data stream ] Contrast stretching: Version Cores Time (secs) Speedup while (step < NumSteps &&!converged) { step++; diffs = 0; foreach

More information

Optimization of MPI Applications Rolf Rabenseifner

Optimization of MPI Applications Rolf Rabenseifner Optimization of MPI Applications Rolf Rabenseifner University of Stuttgart High-Performance Computing-Center Stuttgart (HLRS) www.hlrs.de Optimization of MPI Applications Slide 1 Optimization and Standardization

More information

CS4961 Parallel Programming. Lecture 16: Introduction to Message Passing 11/3/11. Administrative. Mary Hall November 3, 2011.

CS4961 Parallel Programming. Lecture 16: Introduction to Message Passing 11/3/11. Administrative. Mary Hall November 3, 2011. CS4961 Parallel Programming Lecture 16: Introduction to Message Passing Administrative Next programming assignment due on Monday, Nov. 7 at midnight Need to define teams and have initial conversation with

More information

Point-to-Point Communication. Reference:

Point-to-Point Communication. Reference: Point-to-Point Communication Reference: http://foxtrot.ncsa.uiuc.edu:8900/public/mpi/ Introduction Point-to-point communication is the fundamental communication facility provided by the MPI library. Point-to-point

More information

DEADLOCK DETECTION IN MPI PROGRAMS

DEADLOCK DETECTION IN MPI PROGRAMS 1 DEADLOCK DETECTION IN MPI PROGRAMS Glenn Luecke, Yan Zou, James Coyle, Jim Hoekstra, Marina Kraeva grl@iastate.edu, yanzou@iastate.edu, jjc@iastate.edu, hoekstra@iastate.edu, kraeva@iastate.edu High

More information

Advanced MPI. Andrew Emerson

Advanced MPI. Andrew Emerson Advanced MPI Andrew Emerson (a.emerson@cineca.it) Agenda 1. One sided Communications (MPI-2) 2. Dynamic processes (MPI-2) 3. Profiling MPI and tracing 4. MPI-I/O 5. MPI-3 11/12/2015 Advanced MPI 2 One

More information

What s in this talk? Quick Introduction. Programming in Parallel

What s in this talk? Quick Introduction. Programming in Parallel What s in this talk? Parallel programming methodologies - why MPI? Where can I use MPI? MPI in action Getting MPI to work at Warwick Examples MPI: Parallel Programming for Extreme Machines Si Hammond,

More information