Home
Flashcards
Preview
Concurrent Processing 2 Final
Home
Get App
Take Quiz
Create
MPI-1
the core specification
mpi doesn't work without it
mpi-2
an extension to the core spec
don't need it, but is useful
4 primary features of mpi-2
Parallel I/O
C++ binding
one-sided communications
dynamic process management
parallel I/O
concurrent file access by parallel processes
one-sided communications
remote memory access
put, get
dynamic process managment
allows a process to spawn other processes
disabled on sharcnet
available on MPICH2
MPI-3
not widely implemented
uses non-blocking collective interfaces
3 ways to handle I/O
combined I/O
separate I/O
parallel I/O
combined i/o
master slave approach
separate i/o
data-parallel approach
parallel i/o
semantically, data parallel approach
combined i/o via master process
only master deals with file i/o directly
master passes input data to the slaves
slaves pass output data back to the master
3 benefits of combined i/o via master process
only 1 set of input and output files to deal with
easy port from serial to parallel code
no issues if nodes use different file systems
drawback of using combined i/o via master process
performance
separate i/o via all processes
each process reads-from or writes-to a separate file
benefits of separate i/o via all processes
performance
drawbacks of separate i/o via all processes
lots of separate files to manage
aggregation of results must be handled later
explain parallel i/o
feature of mpi-2 that enables multiple processes of a parallel program to access data from a common file
c++ binding headers and libraries
#include <mpi.h>
mpi.lib
cxx.lib
parallel i/o paradigm
treats file like a memory buffer (binary)
writing is like sending a message
reading is like receiving a message
Author
djon
ID
290888
Card Set
Concurrent Processing 2 Final
Description
final exam
Updated
2014-12-07T16:57:10Z
Home
Flashcards
Preview