Skip to content

Commit ff35cff

Browse files
authored
Merge pull request #13360 from hppritcha/issue_12193_foobar
MPI_HOST: deprecate for MPI 4.1
2 parents 9977df7 + 5d0b89e commit ff35cff

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

docs/man-openmpi/man3/MPI_Comm_set_attr.3.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ in an integer.
5555
If an attribute is already present, the delete function (specified when
5656
the corresponding keyval was created) will be called.
5757

58+
Note that the ``MPI_HOST`` attribute is *deprecated* as of MPI-4.1.
59+
5860

5961
ERRORS
6062
------

ompi/include/mpi.h.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -652,7 +652,7 @@ typedef MPI_Win_errhandler_function MPI_Win_errhandler_fn
652652
enum {
653653
/* MPI-1 */
654654
MPI_TAG_UB,
655-
MPI_HOST,
655+
MPI_HOST __mpi_interface_deprecated_in_mpi41__("MPI_HOST is deprecated since MPI 4.1"),
656656
MPI_IO,
657657
MPI_WTIME_IS_GLOBAL,
658658

0 commit comments

Comments
 (0)