Download Message Passing Toolkit (MPT) User's Guide

Transcript
Contents
MPI_Finalize and Connect Processes
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
10
Signals
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
10
Buffering
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
10
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
11
Interoperability with the SHMEM programming model
.
.
.
.
.
.
.
.
.
.
.
.
12
Miscellaneous Features of SGI MPI
Multithreaded Programming
.
stdin/stdout/stderr
MPI_Get_processor_name
Programming Optimizations
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
12
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
12
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
13
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
13
.
.
.
.
.
.
.
.
.
.
.
.
13
.
.
.
.
.
.
.
.
.
.
.
.
.
13
Using MPI Point-to-Point Communication Routines
Using MPI Collective Communication Routines
Using MPI_Pack/MPI_Unpack
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
14
Avoiding Derived Data Types
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
14
Avoiding Wild Cards
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
15
.
.
.
.
.
.
.
.
.
.
.
15
.
.
Avoiding Message Buffering — Single Copy Methods
Managing Memory Placement
Using Global Shared Memory
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
15
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
16
.
.
.
.
.
.
.
.
.
.
.
.
.
.
16
. . . .
. .
17
Additional Programming Model Considerations
4. Debugging MPI Applications
MPI Routine Argument Checking
. . .
.
Using TotalView with MPI programs
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
17
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
17
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
17
. . . .
. .
19
. . . .
Using Profiling Tools with MPI Applications
profile.pl
histx+
viii
.
. . . .
.
Using idb and gdb with MPI programs
5. Profiling MPI Applications
. . .
. . .
. . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
19
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
19
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
20
007–3773–003