File: libmpi.7

package info (click to toggle)
lam 7.1.4-8
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 56,404 kB
  • sloc: ansic: 156,541; sh: 9,991; cpp: 7,699; makefile: 5,621; perl: 488; fortran: 260; asm: 83
file content (182 lines) | stat: -rw-r--r-- 7,942 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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
.TH libmpi 7 "July, 2007" "LAM 7.1.4" "LAM OVERVIEW"
.SH NAME
libmpi \- LAM/MPI implementation
.SH DESCRIPTION
LAM features a full implementation of Message Passing Interface (MPI)
1 standard with many features included from the MPI-2 standard.
.PP
Compliant applications are source code portable between LAM and any
other implementation of MPI.  In addition to meeting the standard in a
high quality manner, LAM offers extensive monitoring capabilities to
support debugging.  Monitoring happens on two levels.  LAM has the
hooks to allow a snapshot of process and message status to be taken at
any time during an application run.  The status includes all aspects
of synchronization plus datatype map / signature, communicator group
membership and message contents.  On the second level, the MPI library
is instrumented to produce a cumulative record of communication, which
can be visualized either at runtime or post-mortem.
.PP
LAM/MPI features the ability to change its underlying message
transport mechanism, as well as pass tunable parameters to different
components in LAM/MPI at run-time -- without the need to recompile or
relink user MPI applications.  This provides great flexibility for
both developers of MPI software as well as researchers investigating
MPI performance.  This modual framework is called the System Services
Interface (SSI), and is responsible for much of the back-end
functionality in LAM/MPI.
.PP
Another strength of this MPI implementation is the movement of
non-blocking communication requests, including those that result from
buffered sends.  This is the real challenge of implementing MPI;
everything else is mostly a straight forward wrapping of an underlying
communication mechanism.  LAM allows messages to be buffered on the
source end in any state of progression, including partially
transmitted packets.  This capability leads to great portability and
robustness.
.SS User Information
Users are strongly encouraged to read the
.I LAM/MPI User's Guide
that is included with the LAM/MPI distribution, and is provided on the
main LAM/MPI web site
.RI ( http://www.lam-mpi.org/ ).
.SS Up-to-Date Information
The LAM home page can be found on the World Wide Web at:
.IR http://www.lam-mpi.org/ .
It should be consulted for the most current information about LAM, as
well as updates, patches, etc.
.SS MPI Communication
The sophisticated message advancing engine at the heart of the MPI
library uses only a handful of routines to drive the underlying
communication system.  Runtime flags decide which message passing
engine module is used, so recompilation of user programs is not
necessary.  
.PP
The different message passing engines are commonly referred to 
as "Request Progression Interface" (RPI) modules.  The LAM/MPI
distribution includes multiple RPI modules; see the lamssi_rpi(7) man
page for more details.
.PP
One notable module uses LAM's network message-passing subsystem,
including its buffer daemon.  In this "daemon" mode, LAM's extensive
monitoring features are fully available.  Although the "daemon" mode
typically incurrs higher latency than the "native" RPI modules,
applications that can utilize latency-hiding techniques may experience
greater performance due to the daemon-mode's ability to exhibit true
asynchronous message passing.
.SS Guaranteed Envelope Resources
Applications may fail, legitimately, on some implementations but not
others due to an escape hatch in the MPI Standard called "resource
limitations".  Most resources are managed locally and it is easy for
an implementation to provide a helpful error code and/or message when
a resource is exhausted.  Buffer space for message envelopes is often
a remote resource (as in LAM) which is difficult to manage.  An
overflow may not be reported (as in some other implementations) to the
process that caused the overflow.  Moreover, interpretation of the MPI
guarantee on message progress may confuse the debugging of an
application that actually died on envelope overflow.
.PP
LAM has a property called "Guaranteed Envelope Resources" (GER) which
serves two purposes.  It is a promise from the implementation to the
application that a minimum amount of envelope buffering will be
available to each process pair.  Secondly, it ensures that the
producer of messages that overflows this resource will be throttled or
cited with an error as necessary.
.PP
A minimum GER is configured when LAM is built.  The MPI library uses a
protocol to ensure GER when running in daemon mode.  The default C2C
mode (TCP/IP) does not use a protocol, because process-pair protection
is provided by TCP/IP itself.  Errors are only reported to the
receiving process in C2C mode.  An option to mpirun(1) disables GER.
.SS Input and Output
The MPI standard does not specify standard I/O functionality.  LAM
does not interfere with the I/O capabilities of the underlying system
but it does make special provisions for remote terminal I/O using the
ANSI/POSIX routines.  See mpirun(1) and tstdio(3).
.PP
LAM now includes the ROMIO distribution for MPI-2 file input and
output.  If ROMIO support is compiled into LAM, the functionality from
Chapter 9 of the MPI-2 standard is provided.
.PP
ROMIO has some important limitations under LAM; the User's Guide in
the LAM distribution should be consulted before writing MPI programs
that use MPI I/O.
.SS Dynamic Processes
LAM includes an implementation of MPI-2 dynamic process creation.
.SH LAM Extensions to MPI
.SS Debugging Aids
LAM includes the MPI-2 functionality for naming opaque types.  Support
for the Etnus TotalView parallel debugger is also provided; see the
User's Guide for more details.
.PP
Additionally, LAM provides the capability to launch non-MPI programs
on remote nodes.  This includes shell scripts, debuggers, etc.  As
long as an MPI program is eventually launched (as a child, grandchild,
etc.), LAM can handle executing as many intermediate programs as
necessary.  This can greatly help debugging and logging of user
programs.
.SS Trace Generation
To avoid being swamped with trace data from a long running application,
LAM supplies collective operations to turn the tap on and off.
See MPIL_Trace_on(2) and MPIL_Trace_off(2).
.SS Asynchronous Signals
LAM has an signal handling package which mirrors but does not interfere
with POSIX signal handling.
An MPI extension routine delivers a signal to a process.
See MPIL_Signal(2).
.SH SEE ALSO
.SS Overview of Commands and Libraries
introu(1), introc(2), INTROF(2)
.SS System Services Interface (SSI)
lamssi(7), lamssi_boot(7), lamssi_coll(7), lamssi_rpi(7)
.SS Starting / Stopping LAM
recon(1), lamboot(1), lamhalt(1), lamnodes(1), lamwipe(1),
tping(1), lamgrow(1), lamshrink(1)
.SS Compiling MPI Applications
mpicc(1), mpiCC(1), mpif77(1)
.SS Running MPI Applications
mpirun(1), lamclean(1)
.SS Running Non-MPI Applications
lamexec(1)
.SS Monitoring MPI Applications
mpitask(1)
.SS Unloading MPI Trace Data
lamtrace(1)
.SS Reference Documents
.TP
"LAM/MPI Installation Guide"
.br
included in the LAM/MPI distribution and available on
.I http://www.lam-mpi.org/
.TP
"LAM/MPI User's Guide"
included in the LAM/MPI distribution and available on
.I http://www.lam-mpi.org/
.TP
"LAM Frequently Asked Questions"
at
.I http://www.lam-mpi.org/faq/
.TP
"MPI Primer / Developing with LAM", Ohio Supercomputer Center
.TP
"MPI: A Message-Passing Interface Standard", Message-Passing Interface Forum, version 1.1
at 
.I http://www.mpi-forum.org/
.TP
"MPI-2: Extensions to the Message Passing Interface", Message Passing Interface Forum, version 2.0
at
.I http://www.mpi-forum.org/
.SS MPI Quick Tutorials
.TP
"LAM/MPI ND User Guide / Introduction"
.TP
"MPI: It's Easy to Get Started"
.TP
"MPI: Everyday Datatypes"
.TP
"MPI: Everyday Collective Communication"
at
.I http://www.lam-mpi.org/mpi/tutorials/lam/
.SS Guaranteed Envelope Resources
.TP
"Robust MPI Message Delivery Through Guaranteed Resources",
MPI Developer's Conference, 1995