File: intro.tex

package info (click to toggle)
spooles 2.2-9
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 19,012 kB
  • sloc: ansic: 146,834; csh: 3,615; makefile: 2,040; perl: 74
file content (29 lines) | stat: -rw-r--r-- 1,169 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
\chapter{{\tt MPI} directory}
\label{chapter:MPI}
\par
All methods that use MPI constructs are found in this directory.
There are a remarkably small number when one
considers that the numeric functionality of this library has been
extended to a distributed memory system.
Most of the necessary data structures exist equally well as 
a {\it global} object for a serial or multithreaded application 
or as a {\it distributed} object for a distributed memory application.
\par
There is very little new numeric code in this directory.
The ``chores'' --- what is done and how --- is unchanged from the
serial codes.
The ``choreography'' --- who does what when --- is unchanged from the
multithreaded codes.
All that was necessary to add the explicit message passing demanded
by the MPI environment.
\par
All communication is ``safe'', meaning that the programs will complete 
when using an MPI implementation that conforms to the standard.
We use non-blocking communication, i.e., communication calls that
are guaranteed to complete, namely
{\tt MPI\_Alltoall()},
{\tt MPI\_Sendrecv()},
{\tt MPI\_Bcast()},
{\tt MPI\_Allgather()},
{\tt MPI\_Irecv()} and
{\tt MPI\_Isend()}.