From 5d0b89e81e34b5726c878194a05e756a0d49dea1 Mon Sep 17 00:00:00 2001 From: Howard Pritchard Date: Thu, 31 Jul 2025 14:32:33 -0600 Subject: [PATCH] MPI_HOST: deprecate for MPI 4.1 related to #12193 Signed-off-by: Howard Pritchard --- docs/man-openmpi/man3/MPI_Comm_set_attr.3.rst | 2 ++ ompi/include/mpi.h.in | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/man-openmpi/man3/MPI_Comm_set_attr.3.rst b/docs/man-openmpi/man3/MPI_Comm_set_attr.3.rst index 7c4388db682..6e2bf36a73c 100644 --- a/docs/man-openmpi/man3/MPI_Comm_set_attr.3.rst +++ b/docs/man-openmpi/man3/MPI_Comm_set_attr.3.rst @@ -55,6 +55,8 @@ in an integer. If an attribute is already present, the delete function (specified when the corresponding keyval was created) will be called. +Note that the ``MPI_HOST`` attribute is *deprecated* as of MPI-4.1. + ERRORS ------ diff --git a/ompi/include/mpi.h.in b/ompi/include/mpi.h.in index d7ae04a7c72..042618cd478 100644 --- a/ompi/include/mpi.h.in +++ b/ompi/include/mpi.h.in @@ -652,7 +652,7 @@ typedef MPI_Win_errhandler_function MPI_Win_errhandler_fn enum { /* MPI-1 */ MPI_TAG_UB, - MPI_HOST, + MPI_HOST __mpi_interface_deprecated_in_mpi41__("MPI_HOST is deprecated since MPI 4.1"), MPI_IO, MPI_WTIME_IS_GLOBAL,