Parallel Matlab programming using Distributed Arrays
Parallel Matlab programming using Distributed Arrays
Jeremy Kepner MIT Lincoln Laboratory
Slide-1 Parallel MATLAB
This work is sponsored by the Department of Defense under Air Force Contract FA8721-05-C-0002. Opinions, interpretations, conclusions, and recommendations are those of the author and are not
necessarily endorsed by the United States Government.
MIT Lincoln Laboratory
Goal: Think Matrices not Messages
? In the past, writing well performing parallel programs has
required a lot of code and a lot of expertise
? pMatlab distributed arrays eliminates the coding burden
? However, making programs run fast still requires expertise
? This talk illustrates the key math concepts experts use to
make parallel programs perform well
100 Expert
hardware limit
10
acceptable
Novice 1
Performance Speedup
Slide-2 Parallel MATLAB
0.1
hours
days
weeks
months
Programmer Effort
MIT Lincoln Laboratory
Outline
? Parallel Design ? Distributed Arrays ? Concurrency vs Locality ? Execution ? Summary
? Serial Program ? Parallel Execution ? Distributed Arrays ? Explicitly Local
Slide-3 Parallel MATLAB
MIT Lincoln Laboratory
Serial Program
Math
Matlab
X,Y : NxN Y=X+1
X = zeros(N,N); Y = zeros(N,N);
Y(:,:) = X + 1;
? Matlab is a high level language
? Allows mathematical expressions to be written concisely ? Multi-dimensional arrays are fundamental to Matlab
Slide-4 Parallel MATLAB
MIT Lincoln Laboratory
Parallel Execution
Math
pMatlab
PID=NP-1 PID=1 PID=0
X,Y : NxN
Y=X+1
X = zeros(N,N); Y = zeros(N,N);
Y(:,:) = X + 1;
Pid=Np-1
Pid=1 Pid=0
? Run NP (or Np) copies of same program
? Single Program Multiple Data (SPMD)
? Each copy has a unique PID (or Pid) ? Every array is replicated on each copy of the program
Slide-5 Parallel MATLAB
MIT Lincoln Laboratory
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
- parallel matlab programming using distributed arrays
- matlab commands and functions omicron chapter
- introduction to matlab for engineering
- a quick tutorial on matlab
- matlab array manipulation tips and tricks
- armstrong state university engineering studies
- special arrays in matlab tutorialspoint
- arrays in matlab university of utah
- experiment 6 using matlab
- ee 3010 michigan technological university
Related searches
- matlab string programming impossible
- matlab programming language
- matlab programming book
- matlab programming projects
- matlab object oriented programming pdf
- matlab programming for engineers pdf
- using 2d arrays in java
- using arrays in powershell
- multiplying using arrays worksheets
- multiplying using arrays worksheet
- multiplication using arrays grade 4
- multiplication using arrays worksheet