Skip to content

Commit 252f3be

Browse files
zerothijsquyres
authored andcommitted
doc: shortened ERRORS.rst and removed dup info
Signed-off-by: Nick Papior <nickpapior@gmail.com>
1 parent 8ea416c commit 252f3be

File tree

1 file changed

+5
-16
lines changed

1 file changed

+5
-16
lines changed

docs/man-openmpi/man3/ERRORS.rst

Lines changed: 5 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ If no other appropriate error handler has been set, then the MPI_ERRORS_RETURN
1515
error handler is called for MPI I/O functions and the MPI_ERRORS_ABORT error
1616
handler is called for all other MPI functions.
1717

18-
In the sessions model, the error handler can be set during :ref:`MPI_Session_init`.
19-
2018
Open MPI includes three predefined error handlers that can be used:
2119

2220
* ``MPI_ERRORS_ARE_FATAL``
@@ -32,21 +30,12 @@ Open MPI includes three predefined error handlers that can be used:
3230
* ``MPI_ERRORS_RETURN``
3331
Returns an error code to the application.
3432

35-
MPI applications can also implement their own error handlers.
36-
37-
Custom MPI error handlers can be created by calling:
38-
39-
* :ref:`MPI_Comm_create_errhandler`
40-
* :ref:`MPI_File_create_errhandler`
41-
* :ref:`MPI_Session_create_errhandler`
42-
* :ref:`MPI_Win_create_errhandler`
43-
44-
Predefined and custom error handlers can be set by calling:
33+
MPI applications can also implement their own error handlers by calling:
4534

46-
* :ref:`MPI_Comm_set_errhandler`
47-
* :ref:`MPI_File_set_errhandler`
48-
* :ref:`MPI_Session_set_errhandler`
49-
* :ref:`MPI_Win_set_errhandler`
35+
* :ref:`MPI_Comm_create_errhandler` then :ref:`MPI_Comm_set_errhandler`
36+
* :ref:`MPI_File_create_errhandler` then :ref:`MPI_File_set_errhandler`
37+
* :ref:`MPI_Session_create_errhandler` then :ref:`MPI_Session_set_errhandler` or at :ref:`MPI_Session_init`
38+
* :ref:`MPI_Win_create_errhandler` then :ref:`MPI_Win_set_errhandler`
5039

5140
Note that MPI does not guarantee that an MPI program can continue past
5241
an error.

0 commit comments

Comments
 (0)