File tree Expand file tree Collapse file tree 4 files changed +12
-12
lines changed Expand file tree Collapse file tree 4 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -75,13 +75,13 @@ deprecated. The C binding is identical. The Fortran binding differs in
75
75
that ``extra_state `` is an address-sized integer. Also, the copy and
76
76
delete callback functions have Fortran bindings that are consistent with
77
77
address-sized attributes. The argument ``comm_copy_attr_fn `` may be
78
- specified as MPI_COMM_NULL_COPY_FN or MPI_COMM_DUP_FN from C or
79
- Fortran. MPI_COMM_NULL_COPY_FN is a function that does nothing more
80
- than returning ``flag = 0 `` and MPI_SUCCESS. MPI_COMM_DUP_FN is
78
+ specified as `` MPI_COMM_NULL_COPY_FN `` or `` MPI_COMM_DUP_FN `` from C or
79
+ Fortran. `` MPI_COMM_NULL_COPY_FN `` is a function that does nothing more
80
+ than returning ``flag = 0 `` and `` MPI_SUCCESS ``. `` MPI_COMM_DUP_FN `` is
81
81
a simple-minded copy function that sets ``flag = 1 ``, returns the value
82
82
of ``attribute_val_in `` in ``attribute_val_out ``, and returns
83
- MPI_SUCCESS. These replace the MPI-1 predefined callbacks
84
- MPI_NULL_COPY_FN and MPI_DUP_FN, the use of which is deprecated.
83
+ `` MPI_SUCCESS `` . These replace the MPI-1 predefined callbacks
84
+ `` MPI_NULL_COPY_FN `` and `` MPI_DUP_FN `` , the use of which is deprecated.
85
85
The two C callback functions are:
86
86
87
87
.. code-block :: c
Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ The `MPI Standard <https://www.mpi-forum.org/docs/>`_ states that an
82
82
implementation may make the output
83
83
value (errhandler) simply the address of the function. However, the
84
84
action of :ref: `MPI_Errhandler_free ` makes this impossible, since it is
85
- required to set the value of the argument to MPI_ERRHANDLER_NULL. In
85
+ required to set the value of the argument to `` MPI_ERRHANDLER_NULL `` . In
86
86
addition, the actual error handler must remain until all communicators
87
87
that use it are freed.
88
88
Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ provided by the receive call that set the status variable. As explained
65
65
in the "Use of General Datatypes in Communication" section of the `MPI
66
66
Standard <https://www.mpi-forum.org/docs/> `_.
67
67
:ref: `MPI_Get_count ` may, in certain situations, return the value
68
- MPI_UNDEFINED.
68
+ `` MPI_UNDEFINED `` .
69
69
70
70
The datatype argument is passed to :ref: `MPI_Get_count ` to improve performance.
71
71
A message might be received without counting the number of elements it
@@ -78,14 +78,14 @@ NOTES
78
78
If the size of the datatype is zero, this routine will return a count of
79
79
zero. If the amount of data in status is not an exact multiple of the
80
80
size of datatype (so that count would not be integral), a count of
81
- MPI_UNDEFINED is returned instead.
81
+ `` MPI_UNDEFINED `` is returned instead.
82
82
83
83
ERRORS
84
84
------
85
85
86
86
.. include :: ./ERRORS.rst
87
87
88
88
If the value to be returned is larger than can fit into the count
89
- parameter, an MPI_ERR_TRUNCATE error is raised.
89
+ parameter, an `` MPI_ERR_TRUNCATE `` error is raised.
90
90
91
91
.. seealso :: :ref:`MPI_Get_elements`
Original file line number Diff line number Diff line change @@ -107,15 +107,15 @@ of attributes of returned data types is undefined.
107
107
Note that :ref: `MPI_Type_get_contents ` can be invoked with a data-type argument
108
108
that was constructed using :ref: `MPI_Type_create_f90_real `,
109
109
:ref: `MPI_Type_create_f90_integer `, or :ref: `MPI_Type_create_f90_complex ` (an unnamed
110
- predefined data type). In such a case, an empty *array_of_datatypes is
111
- returned. *
110
+ predefined data type). In such a case, an empty *array_of_datatypes * is
111
+ returned.
112
112
113
113
In the legacy MPI-1 datatype constructor calls, the address arguments in
114
114
Fortran are of type ``INTEGER ``. In subsequent versions of the `MPI
115
115
Standard <https://www.mpi-forum.org/docs/> `_, the address
116
116
arguments are of type ``INTEGER(KIND=MPI_ADDRESS_KIND) ``. The call
117
117
:ref: `MPI_Type_get_contents ` returns all addresses in an argument of type
118
- INTEGER(KIND=MPI_ADDRESS_KIND). This is true even if the old MPI-1 calls
118
+ `` INTEGER(KIND=MPI_ADDRESS_KIND) `` . This is true even if the old MPI-1 calls
119
119
were used. Thus, the location of values returned can be thought of as
120
120
being returned by the C bindings. It can also be determined by examining
121
121
the new MPI-2 calls for data-type constructors for the deprecated MPI-1
You can’t perform that action at this time.
0 commit comments