Next:
4.1 Introduction and Overview
Up:
MPI: A Message-Passing Interface
Previous:
3.13 Pack and unpack
Contents:
Contents
4
. Collective Communication
Subsections
4
.
1
Introduction and Overview
4
.
2
Communicator argument
4
.
3
Barrier synchronization
4
.
4
Broadcast
4
.
4
.
1
Example using
MPI_BCAST
4
.
5
Gather
4
.
5
.
1
Examples using
MPI_GATHER
,
MPI_GATHERV
4
.
6
Scatter
4
.
6
.
1
Examples using
MPI_SCATTER
,
MPI_SCATTERV
4
.
7
Gather-to-all
4
.
7
.
1
Examples using
MPI_ALLGATHER
,
MPI_ALLGATHERV
4
.
8
All-to-All Scatter/Gather
4
.
9
Global Reduction Operations
4
.
9
.
1
Reduce
4
.
9
.
2
Predefined reduce operations
4
.
9
.
3
MINLOC and MAXLOC
4
.
9
.
4
User-Defined Operations
4
.
9
.
4
.
1
Example of User-defined Reduce
4
.
9
.
5
All-Reduce
4
.
10
Reduce-Scatter
4
.
11
Scan
4
.
11
.
1
Example using
MPI_SCAN
4
.
12
Correctness
Next:
4.1 Introduction and Overview
Up:
MPI: A Message-Passing Interface
Previous:
3.13 Pack and unpack
Contents:
Contents
MPI-Standard for MARMOT