Basic MPI
Tom Murphy, Dave Joiner, Paul Gray, Henry Neeman, Charlie Peck, Alex Lemann, Kristina Wanous, Kevin Hunter
1
Basic MPI Tom Murphy, Dave Joiner, Paul Gray, Henry Neeman, Charlie - - PowerPoint PPT Presentation
Basic MPI Tom Murphy, Dave Joiner, Paul Gray, Henry Neeman, Charlie Peck, Alex Lemann, Kristina Wanous, Kevin Hunter 1 Preliminaries What is a Supercomputer? MPI Version 2 Resources http://www-unix.mcs.anl.gov/mpi/ Or, just
1
2
3
4
5
6
7
MPI Types – what kind of data
MPI Communicator – which processes do I use
MPI tag – what mailbox do I look in MPI Processes, not processors
8
9
10
Command Syntax Pointer Finger – Setup
Rule of Thumb – Know thy self
Middle Finger – Message Passing
11
./helloworld
12
bccd-syncdir ./hello ∼/machines mpirun -np 2 -machinefile ∼/machines/tmp/<something>/helloworld
13
14
bccd-syncdir ./hello ∼/machines mpirun -np 2 -machinefile ∼/machines/tmp/<something>/helloworld
15
16
bccd-syncdir ./hello ∼/machines mpirun -np 2 -machinefile ∼/machines/tmp/<something>/helloworld
17
18
bccd-syncdir ./hello ∼/machines mpirun -np 2 -machinefile ∼/machines/tmp/<something>/helloworld
19
20
21
22