File: MPI_Aint_add.3

package info (click to toggle)
mpich 3.2-7
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 81,040 kB
  • ctags: 68,664
  • sloc: ansic: 358,905; f90: 54,597; perl: 18,527; cpp: 10,203; sh: 9,839; xml: 8,195; fortran: 7,799; makefile: 4,868; ruby: 53; sed: 9; php: 8
file content (35 lines) | stat: -rw-r--r-- 992 bytes parent folder | download
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
.TH MPI_Aint_add 3 "11/9/2015" " " "MPI"
.SH NAME
MPI_Aint_add \-  Returns the sum of base and disp 
.SH SYNOPSIS
.nf
MPI_Aint MPI_Aint_add(MPI_Aint base, MPI_Aint disp)
.fi
.SH INPUT PARAMETERS
.PD 0
.TP
.B base 
- base address (integer)
.PD 1
.PD 0
.TP
.B disp 
- displacement (integer)
.PD 1

.SH RETURN VALUE
Sum of the base and disp argument

.SH NOTES
MPI_Aint_Add produces a new MPI_Aint value that is equivalent to the sum of the
base and disp arguments, where base represents a base address returned by a call
to MPI_GET_ADDRESS and disp represents a signed integer displacement. The resulting
address is valid only at the process that generated base, and it must correspond
to a location in the same object referenced by base. The addition is performed in
a manner that results in the correct MPI_Aint representation of the output address,
.SH AS IF THE PROCESS THAT ORIGINALLY PRODUCED BASE HAD CALLED
MPI_Get_address((char *) base + disp, &result)

.SH SEE ALSO
MPI_Aint_diff
.br